##// END OF EJS Templates
Implements method to register a widget in the dialog
Implements method to register a widget in the dialog

File last commit:

r464:236a0bfac326
r464:236a0bfac326
Show More
SqpSettingsDialog.h
34 lines | 796 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
*/
class SqpSettingsDialog : public QDialog {
Q_OBJECT
public:
explicit SqpSettingsDialog(QWidget *parent = 0);
virtual ~SqpSettingsDialog() noexcept;
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