Mercurial > hg > svapp
comparison framework/MainWindowBase.h @ 391:9e31759254fe
Attempt to get rebuilt-shortcuts working on OS/X (unsuccessfully)
author | Chris Cannam |
---|---|
date | Wed, 13 Aug 2014 10:11:25 +0100 |
parents | a7a643988390 |
children | 71b21d6e66be |
comparison
equal
deleted
inserted
replaced
390:3e5c8a03bcb7 | 391:9e31759254fe |
---|---|
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 |
425 | 427 |
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 *); |
432 QSignalMapper *m_menuShortcutMapper; | |
433 QList<QShortcut *> m_appShortcuts; | |
430 | 434 |
431 virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; } | 435 virtual bool shouldCreateNewSessionForRDFAudio(bool *) { return true; } |
432 | 436 |
433 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog); | 437 virtual void connectLayerEditDialog(ModelDataTableDialog *dialog); |
434 | 438 |