##// END OF EJS Templates
Settings binding (2)...
Settings binding (2) Makes widget for general settings a ISqpSettingsBindable and handles load and save

File last commit:

r431:bf267432931b
r431:bf267432931b
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
r429 #ifndef SCIQLOP_SQPSETTINGSGENERALWIDGET_H
#define SCIQLOP_SQPSETTINGSGENERALWIDGET_H
Alexandre Leroux
Settings binding (2)...
r431 #include "Settings/ISqpSettingsBindable.h"
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r429 #include <QWidget>
namespace Ui {
class SqpSettingsGeneralWidget;
} // Ui
/**
* @brief The SqpSettingsGeneralWidget class represents the general settings of SciQlop
*/
Alexandre Leroux
Settings binding (2)...
r431 class SqpSettingsGeneralWidget : public QWidget, public ISqpSettingsBindable {
Alexandre Leroux
Creates widget for "general settings" and registers it to the dialog
r429 Q_OBJECT
public:
explicit SqpSettingsGeneralWidget(QWidget *parent = 0);
virtual ~SqpSettingsGeneralWidget() noexcept;
Alexandre Leroux
Settings binding (2)...
r431 /// @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
r429 private:
Ui::SqpSettingsGeneralWidget *ui;
};
#endif // SCIQLOP_SQPSETTINGSGENERALWIDGET_H