BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
WIDGETS
gridColorWidget.h
Go to the documentation of this file.
1
#ifndef BALL_VIEW_WIDGETS_GRIDCOLORWIDGET_H
2
#define BALL_VIEW_WIDGETS_GRIDCOLORWIDGET_H
3
4
#include <BALL/VIEW/UIC/ui_gridColorWidget.h>
5
6
namespace
BALL
7
{
8
namespace
VIEW
9
{
10
class
GridColorWidget
:
public
QWidget
11
{
12
Q_OBJECT
13
14
public
:
15
GridColorWidget
(
QWidget
* parent);
16
17
//Accessors
18
void
setMinValue
(
float
minValue);
19
float
getMinValue
()
const
;
20
21
void
setMidValue
(
float
midValue);
22
float
getMidValue
()
const
;
23
24
void
setMaxValue
(
float
maxValue);
25
float
getMaxValue
()
const
;
26
27
void
setTransparencyEnabled
(
bool
enabled);
28
bool
isTransparencyEnabled
()
const
;
29
30
void
setNormalizationEnabled
(
bool
enabled);
31
bool
isNormalizationEnabled
()
const
;
32
33
ColorRGBA
getMinMinColor
()
const
;
34
ColorRGBA
getMinColor
()
const
;
35
ColorRGBA
getMidColor
()
const
;
36
ColorRGBA
getMaxColor
()
const
;
37
ColorRGBA
getMaxMaxColor
()
const
;
38
39
int
getNumLevels
()
const
;
40
41
signals:
42
void
autoScaleRequested
();
43
44
protected
slots:
45
void
transparencyToggled
(
bool
enabled);
46
void
normalizationToggled
(
bool
enabled);
47
void
validateText
(QString str);
48
49
void
minMinColorChanged
(QColor color);
50
void
minColorChanged
(QColor color);
51
void
midColorChanged
(QColor color);
52
void
maxColorChanged
(QColor color);
53
void
maxMaxColorChanged
(QColor color);
54
55
void
minMinAlphaChanged
(
int
value);
56
void
minAlphaChanged
(
int
value);
57
void
midAlphaChanged
(
int
value);
58
void
maxAlphaChanged
(
int
value);
59
void
maxMaxAlphaChanged
(
int
value);
60
61
protected
:
62
void
setTransparency_
(
int
value,
ColorButton
* button);
63
void
setTransparency_
(
const
QColor& color, QSpinBox* box);
64
Ui::GridColorWidget
ui
;
65
};
66
67
}
68
}
69
70
#endif //BALL_VIEW_WIDGETS_GRIDCOLORWIDGET_H
BALL::VIEW::GridColorWidget::getMaxColor
ColorRGBA getMaxColor() const
BALL::VIEW::GridColorWidget::isTransparencyEnabled
bool isTransparencyEnabled() const
BALL::VIEW::GridColorWidget::getMinValue
float getMinValue() const
QWidget
BALL::VIEW::ColorRGBA
Definition:
colorRGBA.h:31
BALL::VIEW::GridColorWidget::midColorChanged
void midColorChanged(QColor color)
BALL::VIEW::GridColorWidget::ui
Ui::GridColorWidget ui
Definition:
gridColorWidget.h:64
BALL::VIEW::GridColorWidget::GridColorWidget
GridColorWidget(QWidget *parent)
BALL::VIEW::GridColorWidget::getMaxValue
float getMaxValue() const
BALL::VIEW::GridColorWidget::getMidValue
float getMidValue() const
BALL::VIEW::GridColorWidget::setTransparency_
void setTransparency_(int value, ColorButton *button)
BALL::VIEW::GridColorWidget::setMinValue
void setMinValue(float minValue)
BALL::VIEW::GridColorWidget::setMidValue
void setMidValue(float midValue)
BALL::VIEW::GridColorWidget::maxMaxAlphaChanged
void maxMaxAlphaChanged(int value)
BALL::VIEW::GridColorWidget::maxColorChanged
void maxColorChanged(QColor color)
BALL::VIEW::GridColorWidget::maxMaxColorChanged
void maxMaxColorChanged(QColor color)
BALL::VIEW::GridColorWidget::getMinMinColor
ColorRGBA getMinMinColor() const
BALL::VIEW::ColorButton
Definition:
colorButton.h:19
BALL::VIEW::GridColorWidget::setNormalizationEnabled
void setNormalizationEnabled(bool enabled)
BALL::VIEW::GridColorWidget::minColorChanged
void minColorChanged(QColor color)
BALL::VIEW::GridColorWidget::getNumLevels
int getNumLevels() const
BALL::VIEW::GridColorWidget::minAlphaChanged
void minAlphaChanged(int value)
BALL::VIEW::GridColorWidget::midAlphaChanged
void midAlphaChanged(int value)
BALL::VIEW::GridColorWidget::setMaxValue
void setMaxValue(float maxValue)
BALL::VIEW::GridColorWidget::maxAlphaChanged
void maxAlphaChanged(int value)
BALL::VIEW::GridColorWidget::autoScaleRequested
void autoScaleRequested()
BALL::VIEW::GridColorWidget::transparencyToggled
void transparencyToggled(bool enabled)
BALL::VIEW::GridColorWidget::getMinColor
ColorRGBA getMinColor() const
BALL::VIEW::GridColorWidget::minMinColorChanged
void minMinColorChanged(QColor color)
BALL::VIEW::GridColorWidget::normalizationToggled
void normalizationToggled(bool enabled)
BALL::VIEW::GridColorWidget::validateText
void validateText(QString str)
BALL::VIEW::GridColorWidget
Definition:
gridColorWidget.h:10
BALL::VIEW::GridColorWidget::getMaxMaxColor
ColorRGBA getMaxMaxColor() const
BALL::VIEW::GridColorWidget::getMidColor
ColorRGBA getMidColor() const
BALL::VIEW::GridColorWidget::setTransparencyEnabled
void setTransparencyEnabled(bool enabled)
BALL::VIEW::GridColorWidget::isNormalizationEnabled
bool isNormalizationEnabled() const
BALL::VIEW::GridColorWidget::minMinAlphaChanged
void minMinAlphaChanged(int value)
Generated by
1.8.6