##// END OF EJS Templates
Refactoring handling of axes properties (1)...
Refactoring handling of axes properties (1) Creates helper used to determine which properties to set for the graph axes, depending on the type of the data hold (properties will be different if it's scalars/vectors or spectrograms)

File last commit:

r468:4682fc2670df
r916:b92a8e838f6e
Show More
SqpSettingsDialog.h
40 lines | 1011 B | text/x-c | CLexer
#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, public ISqpSettingsBindable {
Q_OBJECT
public:
explicit SqpSettingsDialog(QWidget *parent = 0);
virtual ~SqpSettingsDialog() noexcept;
/// @sa ISqpSettingsBindable::loadSettings()
void loadSettings() override final;
/// @sa ISqpSettingsBindable::saveSettings()
void saveSettings() const override final;
/**
* 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;
private:
Ui::SqpSettingsDialog *ui;
};
#endif // SCIQLOP_SQPSETTINGSDIALOG_H