@@ -274,6 +274,10 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
274274 // File menu --------------------------------------------------------------
275275 QMenu* pFileMenu = new QMenu ( tr ( " &File" ), this );
276276
277+ pFileMenu->addAction ( tr ( " &Connection Setup..." ), this , SLOT ( OnOpenConnectionSetupDialog () ), QKeySequence ( Qt::CTRL + Qt::Key_C ) );
278+
279+ pFileMenu->addSeparator ();
280+
277281 pFileMenu->addAction ( tr ( " &Load Mixer Channels Setup..." ), this , SLOT ( OnLoadChannelSetup () ) );
278282
279283 pFileMenu->addAction ( tr ( " &Save Mixer Channels Setup..." ), this , SLOT ( OnSaveChannelSetup () ) );
@@ -282,44 +286,37 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
282286
283287 pFileMenu->addAction ( tr ( " E&xit" ), this , SLOT ( close () ), QKeySequence ( Qt::CTRL + Qt::Key_Q ) );
284288
285- // View menu --------------------------------------------------------------
286- QMenu* pViewMenu = new QMenu ( tr ( " &View" ), this );
287-
288- pViewMenu->addAction ( tr ( " &Connection Setup..." ), this , SLOT ( OnOpenConnectionSetupDialog () ), QKeySequence ( Qt::CTRL + Qt::Key_C ) );
289-
290- pViewMenu->addAction ( tr ( " C&hat..." ), this , SLOT ( OnOpenChatDialog () ), QKeySequence ( Qt::CTRL + Qt::Key_H ) );
291-
292- pViewMenu->addAction ( tr ( " My &Profile..." ), this , SLOT ( OnOpenUserProfileSettings () ), QKeySequence ( Qt::CTRL + Qt::Key_P ) );
289+ // Edit menu --------------------------------------------------------------
290+ QMenu* pEditMenu = new QMenu ( tr ( " &Edit" ), this );
293291
294- pViewMenu ->addAction ( tr ( " Audio/Network & Settings... " ), this , SLOT ( OnOpenAudioNetSettings () ), QKeySequence ( Qt::CTRL + Qt::Key_S ) );
292+ pEditMenu ->addAction ( tr ( " Clear &All Stored Solo and Mute Settings" ), this , SLOT ( OnClearAllStoredSoloMuteSettings () ) );
295293
296- pViewMenu->addAction ( tr ( " A&dvanced Settings..." ), this , SLOT ( OnOpenAdvancedSettings () ), QKeySequence ( Qt::CTRL + Qt::Key_D ) );
294+ pEditMenu->addAction ( tr ( " Set All Faders to New Client &Level" ),
295+ this ,
296+ SLOT ( OnSetAllFadersToNewClientLevel () ),
297+ QKeySequence ( Qt::CTRL + Qt::Key_L ) );
297298
298- // optionally show analyzer console entry
299- if ( bShowAnalyzerConsole )
300- {
301- pViewMenu->addAction ( tr ( " &Analyzer Console..." ), this , SLOT ( OnOpenAnalyzerConsole () ) );
302- }
299+ pEditMenu->addAction ( tr ( " Auto-Adjust all &Faders" ), this , SLOT ( OnAutoAdjustAllFaderLevels () ), QKeySequence ( Qt::CTRL + Qt::Key_F ) );
303300
304- // Edit menu --------------------------------------------------------------
305- QMenu* pEditMenu = new QMenu ( tr ( " &Edit " ), this );
301+ // View menu --------------------------------------------------------------
302+ QMenu* pViewMenu = new QMenu ( tr ( " &View " ), this );
306303
307304 QAction* NoSortAction =
308- pEditMenu ->addAction ( tr ( " N&o User Sorting" ), this , SLOT ( OnNoSortChannels () ), QKeySequence ( Qt::CTRL + Qt::Key_O ) );
305+ pViewMenu ->addAction ( tr ( " N&o User Sorting" ), this , SLOT ( OnNoSortChannels () ), QKeySequence ( Qt::CTRL + Qt::Key_O ) );
309306
310307 QAction* ByNameAction =
311- pEditMenu ->addAction ( tr ( " Sort Users by &Name" ), this , SLOT ( OnSortChannelsByName () ), QKeySequence ( Qt::CTRL + Qt::Key_N ) );
308+ pViewMenu ->addAction ( tr ( " Sort Users by &Name" ), this , SLOT ( OnSortChannelsByName () ), QKeySequence ( Qt::CTRL + Qt::Key_N ) );
312309
313- QAction* ByInstrAction = pEditMenu ->addAction ( tr ( " Sort Users by &Instrument" ),
310+ QAction* ByInstrAction = pViewMenu ->addAction ( tr ( " Sort Users by &Instrument" ),
314311 this ,
315312 SLOT ( OnSortChannelsByInstrument () ),
316313 QKeySequence ( Qt::CTRL + Qt::Key_I ) );
317314
318315 QAction* ByGroupAction =
319- pEditMenu ->addAction ( tr ( " Sort Users by &Group" ), this , SLOT ( OnSortChannelsByGroupID () ), QKeySequence ( Qt::CTRL + Qt::Key_G ) );
316+ pViewMenu ->addAction ( tr ( " Sort Users by &Group" ), this , SLOT ( OnSortChannelsByGroupID () ), QKeySequence ( Qt::CTRL + Qt::Key_G ) );
320317
321318 QAction* ByCityAction =
322- pEditMenu ->addAction ( tr ( " Sort Users by &City" ), this , SLOT ( OnSortChannelsByCity () ), QKeySequence ( Qt::CTRL + Qt::Key_T ) );
319+ pViewMenu ->addAction ( tr ( " Sort Users by &City" ), this , SLOT ( OnSortChannelsByCity () ), QKeySequence ( Qt::CTRL + Qt::Key_T ) );
323320
324321 // the sorting menu entries shall be checkable and exclusive
325322 QActionGroup* SortActionGroup = new QActionGroup ( this );
@@ -356,23 +353,34 @@ CClientDlg::CClientDlg ( CClient* pNCliP,
356353 }
357354 MainMixerBoard->SetFaderSorting ( pSettings->eChannelSortType );
358355
359- pEditMenu ->addSeparator ();
356+ pViewMenu ->addSeparator ();
360357
361- pEditMenu ->addAction ( tr ( " Clear &All Stored Solo and Mute Settings " ), this , SLOT ( OnClearAllStoredSoloMuteSettings () ) );
358+ pViewMenu ->addAction ( tr ( " C&hat... " ), this , SLOT ( OnOpenChatDialog () ), QKeySequence ( Qt::CTRL + Qt::Key_H ) );
362359
363- pEditMenu->addAction ( tr ( " Set All Faders to New Client &Level" ),
364- this ,
365- SLOT ( OnSetAllFadersToNewClientLevel () ),
366- QKeySequence ( Qt::CTRL + Qt::Key_L ) );
360+ // optionally show analyzer console entry
361+ if ( bShowAnalyzerConsole )
362+ {
363+ pViewMenu->addAction ( tr ( " &Analyzer Console..." ), this , SLOT ( OnOpenAnalyzerConsole () ) );
364+ }
367365
368- pEditMenu->addAction ( tr ( " Auto-Adjust all &Faders" ), this , SLOT ( OnAutoAdjustAllFaderLevels () ), QKeySequence ( Qt::CTRL + Qt::Key_F ) );
366+ pViewMenu->addSeparator ();
367+
368+ // Settings menu --------------------------------------------------------------
369+ QMenu* pSettingsMenu = new QMenu ( tr ( " &Settings" ), this );
370+
371+ pSettingsMenu->addAction ( tr ( " My &Profile..." ), this , SLOT ( OnOpenUserProfileSettings () ), QKeySequence ( Qt::CTRL + Qt::Key_P ) );
372+
373+ pSettingsMenu->addAction ( tr ( " Audio/Network &Settings..." ), this , SLOT ( OnOpenAudioNetSettings () ), QKeySequence ( Qt::CTRL + Qt::Key_S ) );
374+
375+ pSettingsMenu->addAction ( tr ( " A&dvanced Settings..." ), this , SLOT ( OnOpenAdvancedSettings () ), QKeySequence ( Qt::CTRL + Qt::Key_D ) );
369376
370377 // Main menu bar -----------------------------------------------------------
371378 QMenuBar* pMenu = new QMenuBar ( this );
372379
373380 pMenu->addMenu ( pFileMenu );
374- pMenu->addMenu ( pViewMenu );
375381 pMenu->addMenu ( pEditMenu );
382+ pMenu->addMenu ( pViewMenu );
383+ pMenu->addMenu ( pSettingsMenu );
376384 pMenu->addMenu ( new CHelpMenu ( true , this ) );
377385
378386 // Now tell the layout about the menu
0 commit comments