##// 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
#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