and working have integrated help now. Press F1 to bring up help for a given window.
34 lines
567 B
C++
34 lines
567 B
C++
#ifndef MAINSETTINGSDIALOG_H
|
|
#define MAINSETTINGSDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QSettings>
|
|
|
|
namespace Ui {
|
|
class MainSettingsDialog;
|
|
}
|
|
|
|
class MainSettingsDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainSettingsDialog(QWidget *parent = 0);
|
|
~MainSettingsDialog();
|
|
|
|
signals:
|
|
void updatedSettings();
|
|
|
|
private slots:
|
|
void updateSettings();
|
|
|
|
private:
|
|
Ui::MainSettingsDialog *ui;
|
|
QSettings *settings;
|
|
|
|
void closeEvent(QCloseEvent *event);
|
|
bool eventFilter(QObject *obj, QEvent *event);
|
|
};
|
|
|
|
#endif // MAINSETTINGSDIALOG_H
|