##// END OF EJS Templates
Settings binding (4)...
Settings binding (4) Loads settings when opening the dialog, and save settings when closing it (if it's by the OK button)

File last commit:

r467:bf267432931b
r469:7a2eb58d2083
Show More
SqpSettingsGeneralWidget.h
32 lines | 797 B | text/x-c | CLexer
/ gui / include / Settings / SqpSettingsGeneralWidget.h
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r465 #ifndef SCIQLOP_SQPSETTINGSGENERALWIDGET_H
#define SCIQLOP_SQPSETTINGSGENERALWIDGET_H
Alexandre Leroux
Settings binding (2)...
r467 #include "Settings/ISqpSettingsBindable.h"
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r465 #include <QWidget>
namespace Ui {
class SqpSettingsGeneralWidget;
} // Ui
/**
* @brief The SqpSettingsGeneralWidget class represents the general settings of SciQlop
*/
Alexandre Leroux
Settings binding (2)...
r467 class SqpSettingsGeneralWidget : public QWidget, public ISqpSettingsBindable {
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r465 Q_OBJECT
public:
explicit SqpSettingsGeneralWidget(QWidget *parent = 0);
virtual ~SqpSettingsGeneralWidget() noexcept;
Alexandre Leroux
Settings binding (2)...
r467 /// @sa ISqpSettingsBindable::loadSettings()
void loadSettings() override final;
/// @sa ISqpSettingsBindable::saveSettings()
void saveSettings() const override final;
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r465 private:
Ui::SqpSettingsGeneralWidget *ui;
};
#endif // SCIQLOP_SQPSETTINGSGENERALWIDGET_H