##// 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
#ifndef SCIQLOP_SQPSETTINGSGENERALWIDGET_H
#define SCIQLOP_SQPSETTINGSGENERALWIDGET_H
#include "Settings/ISqpSettingsBindable.h"
#include <QWidget>
namespace Ui {
class SqpSettingsGeneralWidget;
} // Ui
/**
* @brief The SqpSettingsGeneralWidget class represents the general settings of SciQlop
*/
class SqpSettingsGeneralWidget : public QWidget, public ISqpSettingsBindable {
Q_OBJECT
public:
explicit SqpSettingsGeneralWidget(QWidget *parent = 0);
virtual ~SqpSettingsGeneralWidget() noexcept;
/// @sa ISqpSettingsBindable::loadSettings()
void loadSettings() override final;
/// @sa ISqpSettingsBindable::saveSettings()
void saveSettings() const override final;
private:
Ui::SqpSettingsGeneralWidget *ui;
};
#endif // SCIQLOP_SQPSETTINGSGENERALWIDGET_H