##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r468:4682fc2670df
r1337:3acf26407503
Show More
SqpSettingsDialog.h
40 lines | 1011 B | text/x-c | CLexer
Alexandre Leroux
Creates settings dialog and adds it to a new menu in MainWindow...
r463 #ifndef SCIQLOP_SQPSETTINGSDIALOG_H
#define SCIQLOP_SQPSETTINGSDIALOG_H
#include "Settings/ISqpSettingsBindable.h"
#include <QDialog>
namespace Ui {
class SqpSettingsDialog;
} // Ui
/**
* @brief The SqpSettingsDialog class represents the dialog in which the parameters of SciQlop are
* set
*/
Alexandre Leroux
Settings binding (3)...
r468 class SqpSettingsDialog : public QDialog, public ISqpSettingsBindable {
Alexandre Leroux
Creates settings dialog and adds it to a new menu in MainWindow...
r463 Q_OBJECT
public:
explicit SqpSettingsDialog(QWidget *parent = 0);
virtual ~SqpSettingsDialog() noexcept;
Alexandre Leroux
Settings binding (3)...
r468 /// @sa ISqpSettingsBindable::loadSettings()
void loadSettings() override final;
/// @sa ISqpSettingsBindable::saveSettings()
void saveSettings() const override final;
Alexandre Leroux
Implements method to register a widget in the dialog
r464 /**
* Registers a widget into the dialog
* @param name the name under which the widget will appear in the dialog
* @param widget the widget to register
*/
void registerWidget(const QString &name, QWidget *widget) noexcept;
Alexandre Leroux
Creates settings dialog and adds it to a new menu in MainWindow...
r463 private:
Ui::SqpSettingsDialog *ui;
};
#endif // SCIQLOP_SQPSETTINGSDIALOG_H