aboutsummaryrefslogtreecommitdiff
path: root/qmpsettingswindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmpsettingswindow.hpp')
-rw-r--r--qmpsettingswindow.hpp22
1 files changed, 19 insertions, 3 deletions
diff --git a/qmpsettingswindow.hpp b/qmpsettingswindow.hpp
index 0b5f886..ef9dbab 100644
--- a/qmpsettingswindow.hpp
+++ b/qmpsettingswindow.hpp
@@ -3,6 +3,8 @@
#include <QDialog>
#include <QCloseEvent>
+#include <QSettings>
+#include <QListWidget>
namespace Ui {
class qmpSettingsWindow;
@@ -16,16 +18,30 @@ class qmpSettingsWindow:public QDialog
explicit qmpSettingsWindow(QWidget *parent=0);
~qmpSettingsWindow();
void closeEvent(QCloseEvent *event);
+ void settingsInit();
+ QListWidget* getSFWidget();
signals:
void dialogClosing();
- private slots:
+ private slots:
void on_buttonBox_accepted();
-
void on_buttonBox_rejected();
- private:
+ void on_cbBufSize_currentTextChanged(const QString &s);
+ void on_cbBufCnt_currentTextChanged(const QString &s);
+
+ void on_pbAdd_clicked();
+ void on_pbRemove_clicked();
+ void on_pbUp_clicked();
+ void on_pbDown_clicked();
+
+ void on_cbAutoBS_stateChanged();
+
+ private:
Ui::qmpSettingsWindow *ui;
+ void settingsUpdate();
+ static QSettings *settings;
+ public: static const QSettings* getSettingsIntf(){return settings;}
};
#endif // QMPSETTINGSWINDOW_H