##// END OF EJS Templates
Inits threshold mode buttons (auto or manual)...
Inits threshold mode buttons (auto or manual) When mode changes, min/max spinboxes are enabled/disabled

File last commit:

r1044:d3d71155af5e
r1044:d3d71155af5e
Show More
ColorScaleEditor.h
30 lines | 675 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 the threshold mode (auto or manual) changes
void onThresholdChanged(bool checked);
};
#endif // SCIQLOP_COLORSCALEEDITOR_H