projects
/
pierogi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A couple of UI additions
[pierogi]
/
pirpreferencesform.h
diff --git
a/pirpreferencesform.h
b/pirpreferencesform.h
index
b3089ea
..
322bbf4
100644
(file)
--- a/
pirpreferencesform.h
+++ b/
pirpreferencesform.h
@@
-4,6
+4,7
@@
#include <QWidget>
class MainWindow;
#include <QWidget>
class MainWindow;
+class PIRKeysetManager;
namespace Ui {
class PIRPreferencesForm;
namespace Ui {
class PIRPreferencesForm;
@@
-14,16
+15,35
@@
class PIRPreferencesForm : public QWidget
Q_OBJECT
public:
Q_OBJECT
public:
- explicit PIRPreferencesForm(QWidget *parent = 0);
+ PIRPreferencesForm(
+ QWidget *parent,
+ const PIRKeysetManager *keysetManager);
+
~PIRPreferencesForm();
~PIRPreferencesForm();
+
+ unsigned int getDefaultKeyset()
+ {
+ return defaultKeyset;
+ }
+
+ bool defaultControlsVolume()
+ {
+ return useDefaultForVolume;
+ }
private slots:
private slots:
+ void on_setDefaultButton_clicked();
+ void on_clearDefaultButton_clicked();
+ void on_useDefaultCheckBox_stateChanged(int arg1);
void on_altMainCheckBox_stateChanged(int arg1);
private:
Ui::PIRPreferencesForm *ui;
MainWindow *mainWindow;
void on_altMainCheckBox_stateChanged(int arg1);
private:
Ui::PIRPreferencesForm *ui;
MainWindow *mainWindow;
+
+ unsigned int defaultKeyset;
+ bool useDefaultForVolume;
};
#endif // PIRPREFERENCESFORM_H
};
#endif // PIRPREFERENCESFORM_H