Loading...
Searching...
No Matches
gridColorWidget.h
Go to the documentation of this file.
#ifndef BALL_VIEW_WIDGETS_GRIDCOLORWIDGET_H
#define BALL_VIEW_WIDGETS_GRIDCOLORWIDGET_H
#include <BALL/VIEW/UIC/ui_gridColorWidget.h>
namespace BALL
{
namespace VIEW
{
class GridColorWidget : public QWidget
{
Q_OBJECT
public:
GridColorWidget(QWidget* parent);
//Accessors
void setMinValue(float minValue);
float getMinValue() const;
void setMidValue(float midValue);
float getMidValue() const;
void setMaxValue(float maxValue);
float getMaxValue() const;
void setTransparencyEnabled(bool enabled);
bool isTransparencyEnabled() const;
void setNormalizationEnabled(bool enabled);
bool isNormalizationEnabled() const;
ColorRGBA getMinMinColor() const;
ColorRGBA getMinColor() const;
ColorRGBA getMidColor() const;
ColorRGBA getMaxColor() const;
ColorRGBA getMaxMaxColor() const;
int getNumLevels() const;
Q_SIGNALS:
void autoScaleRequested();
protected Q_SLOTS:
void transparencyToggled(bool enabled);
void normalizationToggled(bool enabled);
void validateText(QString str);
void minMinColorChanged(QColor color);
void minColorChanged(QColor color);
void midColorChanged(QColor color);
void maxColorChanged(QColor color);
void maxMaxColorChanged(QColor color);
void minMinAlphaChanged(int value);
void minAlphaChanged(int value);
void midAlphaChanged(int value);
void maxAlphaChanged(int value);
void maxMaxAlphaChanged(int value);
protected:
void setTransparency_(int value, ColorButton* button);
void setTransparency_(const QColor& color, QSpinBox* box);
Ui::GridColorWidget ui;
};
}
}
#endif //BALL_VIEW_WIDGETS_GRIDCOLORWIDGET_H
BALL::VIEW::ColorButton
Definition colorButton.h:20
BALL::VIEW::ColorRGBA
Definition colorRGBA.h:32
BALL::VIEW::GridColorWidget::minMinColorChanged
void minMinColorChanged(QColor color)
BALL::VIEW::GridColorWidget::getMaxMaxColor
ColorRGBA getMaxMaxColor() const
BALL::VIEW::GridColorWidget::normalizationToggled
void normalizationToggled(bool enabled)
BALL::VIEW::GridColorWidget::setTransparency_
void setTransparency_(const QColor &color, QSpinBox *box)
BALL::VIEW::GridColorWidget::getMaxColor
ColorRGBA getMaxColor() const
BALL::VIEW::GridColorWidget::minColorChanged
void minColorChanged(QColor color)
BALL::VIEW::GridColorWidget::ui
Ui::GridColorWidget ui
Definition gridColorWidget.h:64
BALL::VIEW::GridColorWidget::getNumLevels
int getNumLevels() const
BALL::VIEW::GridColorWidget::transparencyToggled
void transparencyToggled(bool enabled)
BALL::VIEW::GridColorWidget::isNormalizationEnabled
bool isNormalizationEnabled() const
BALL::VIEW::GridColorWidget::maxAlphaChanged
void maxAlphaChanged(int value)
BALL::VIEW::GridColorWidget::setTransparencyEnabled
void setTransparencyEnabled(bool enabled)
BALL::VIEW::GridColorWidget::setMidValue
void setMidValue(float midValue)
BALL::VIEW::GridColorWidget::autoScaleRequested
void autoScaleRequested()
BALL::VIEW::GridColorWidget::maxColorChanged
void maxColorChanged(QColor color)
BALL::VIEW::GridColorWidget::isTransparencyEnabled
bool isTransparencyEnabled() const
BALL::VIEW::GridColorWidget::getMinColor
ColorRGBA getMinColor() const
BALL::VIEW::GridColorWidget::setTransparency_
void setTransparency_(int value, ColorButton *button)
BALL::VIEW::GridColorWidget::getMidValue
float getMidValue() const
BALL::VIEW::GridColorWidget::validateText
void validateText(QString str)
BALL::VIEW::GridColorWidget::midAlphaChanged
void midAlphaChanged(int value)
BALL::VIEW::GridColorWidget::getMidColor
ColorRGBA getMidColor() const
BALL::VIEW::GridColorWidget::GridColorWidget
GridColorWidget(QWidget *parent)
BALL::VIEW::GridColorWidget::getMaxValue
float getMaxValue() const
BALL::VIEW::GridColorWidget::setMaxValue
void setMaxValue(float maxValue)
BALL::VIEW::GridColorWidget::minAlphaChanged
void minAlphaChanged(int value)
BALL::VIEW::GridColorWidget::midColorChanged
void midColorChanged(QColor color)
BALL::VIEW::GridColorWidget::setNormalizationEnabled
void setNormalizationEnabled(bool enabled)
BALL::VIEW::GridColorWidget::getMinMinColor
ColorRGBA getMinMinColor() const
BALL::VIEW::GridColorWidget::maxMaxAlphaChanged
void maxMaxAlphaChanged(int value)
BALL::VIEW::GridColorWidget::maxMaxColorChanged
void maxMaxColorChanged(QColor color)
BALL::VIEW::GridColorWidget::getMinValue
float getMinValue() const
BALL::VIEW::GridColorWidget::minMinAlphaChanged
void minMinAlphaChanged(int value)
BALL::VIEW::GridColorWidget::setMinValue
void setMinValue(float minValue)
QWidget
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13