The beginning of a settings window. Only application settings for now
This commit is contained in:
parent
002867c17b
commit
2ae3f3bf7e
8 changed files with 265 additions and 22 deletions
|
@ -3,6 +3,7 @@
|
|||
#include "Display.h"
|
||||
#include "SkinChooser.h"
|
||||
#include "Medialib.h"
|
||||
#include "SettingsWindow.h"
|
||||
|
||||
#include <QMenu>
|
||||
|
||||
|
@ -50,6 +51,7 @@ TitleBar::showMenu (void)
|
|||
qm.addAction (a);
|
||||
a = new QAction (tr ("Application settings"), this);
|
||||
a->setShortcut (tr ("Alt+A"));
|
||||
connect (a, SIGNAL (triggered ()), this, SLOT (showSettings ()));
|
||||
qm.addAction (a);
|
||||
a = new QAction (tr ("Server settings"), this);
|
||||
a->setShortcut (tr ("Alt+S"));
|
||||
|
@ -71,6 +73,13 @@ TitleBar::showMlib ()
|
|||
mw->show ();
|
||||
}
|
||||
|
||||
void
|
||||
TitleBar::showSettings ()
|
||||
{
|
||||
SettingsWindow *sw = new SettingsWindow (window ());
|
||||
sw->show ();
|
||||
}
|
||||
|
||||
void
|
||||
TitleBar::showTheme ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue