From: Joachim S. <qk...@us...> - 2005-03-06 01:27:25
|
Update of /cvsroot/lmuse/muse/muse/arranger In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30479/muse/arranger Modified Files: Tag: REL07 tlist.cpp Log Message: added support to close the waveedit and listedit dialog with a "esc" can this be done better? it's working here but i had to edit the respective classes and add another virtual void memberfunction - hope i did this correct ;-) the other change was a patch because i've added the wrong graphic to the popup Index: tlist.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/muse/arranger/Attic/tlist.cpp,v retrieving revision 1.31.2.7 retrieving revision 1.31.2.8 diff -C2 -d -r1.31.2.7 -r1.31.2.8 *** tlist.cpp 26 Dec 2004 21:02:23 -0000 1.31.2.7 --- tlist.cpp 6 Mar 2005 01:27:08 -0000 1.31.2.8 *************** *** 1083,1087 **** QPopupMenu p(this); p.clear(); ! p.insertItem(*addtrack_wavetrackIcon, tr("Midi"), Track::MIDI); p.insertItem(*addtrack_drumtrackIcon, tr("Drum"), Track::DRUM); int n = p.exec(mapToGlobal(QPoint(x, y)), 0); --- 1083,1087 ---- QPopupMenu p(this); p.clear(); ! p.insertItem(*addtrack_addmiditrackIcon, tr("Midi"), Track::MIDI); p.insertItem(*addtrack_drumtrackIcon, tr("Drum"), Track::DRUM); int n = p.exec(mapToGlobal(QPoint(x, y)), 0); |