Mercurial > hg > svapp
comparison framework/MainWindowBase.h @ 404:08a45e4cf1b1 tonioni
Update subrepos and merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 02 Sep 2014 16:23:48 +0100 |
parents | 71b21d6e66be |
children | 662aef012679 618d5816b04d |
comparison
equal
deleted
inserted
replaced
384:ad33fdc4ad92 | 404:08a45e4cf1b1 |
---|---|
58 class OSCMessage; | 58 class OSCMessage; |
59 class MIDIInput; | 59 class MIDIInput; |
60 class KeyReference; | 60 class KeyReference; |
61 class Labeller; | 61 class Labeller; |
62 class ModelDataTableDialog; | 62 class ModelDataTableDialog; |
63 class QSignalMapper; | |
64 class QShortcut; | |
63 | 65 |
64 /** | 66 /** |
65 * The base class for the SV main window. This includes everything to | 67 * The base class for the SV main window. This includes everything to |
66 * do with general document and pane stack management, but nothing | 68 * do with general document and pane stack management, but nothing |
67 * that involves user interaction -- this doesn't create the widget or | 69 * that involves user interaction -- this doesn't create the widget or |
426 // Call this after setting up the menu bar, to fix up single-key | 428 // Call this after setting up the menu bar, to fix up single-key |
427 // shortcuts on OS/X | 429 // shortcuts on OS/X |
428 virtual void finaliseMenus(); | 430 virtual void finaliseMenus(); |
429 virtual void finaliseMenu(QMenu *); | 431 virtual void finaliseMenu(QMenu *); |
430 | 432 |
433 // Only used on OS/X to work around a Qt/Cocoa bug, see finaliseMenus | |
434 QSignalMapper *m_menuShortcutMapper; | |
435 QList<QShortcut *> m_appShortcuts; | |
436 | |
431 virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; } | 437 virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; } |
432 | 438 |
433 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog); | 439 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog); |
434 | 440 |
435 virtual void toXml(QTextStream &stream, bool asTemplate); | 441 virtual void toXml(QTextStream &stream, bool asTemplate); |