##// END OF EJS Templates
Inits min/max spinboxes...
Inits min/max spinboxes Ensures that min is never greater than max value

File last commit:

r1045:26696cd83a3b
r1045:26696cd83a3b
Show More
ColorScaleEditor.h
34 lines | 831 B | text/x-c | CLexer
#ifndef SCIQLOP_COLORSCALEEDITOR_H
#define SCIQLOP_COLORSCALEEDITOR_H
#include <QButtonGroup>
#include <QDialog>
namespace Ui {
class ColorScaleEditor;
} // Ui
/**
* @brief The ColorScaleEditor class represents the widget to set properties of color scale's graphs
*/
class ColorScaleEditor : public QDialog {
Q_OBJECT
public:
explicit ColorScaleEditor(QWidget *parent = 0);
virtual ~ColorScaleEditor() noexcept;
private:
Ui::ColorScaleEditor *ui;
QButtonGroup *m_ThresholdGroup;
private slots:
/// Slot called when max threshold value changes
void onMaxChanged();
/// Slot called when min threshold value changes
void onMinChanged();
/// Slot called when the threshold mode (auto or manual) changes
void onThresholdChanged(bool checked);
};
#endif // SCIQLOP_COLORSCALEEDITOR_H