... More...
#include <HorizontalSliderWidget.h>
Signals | |
void | sliderReleased () |
void | sliderValueChanged (int) |
Public Member Functions | |
Ui::HorizontalSliderWidgetForm * | getForm () const |
int | getValue () |
HorizontalSliderWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setCurrentValue (int value) |
void | setDefaultButtonVisible (bool visible) |
void | setDefaultValue (int value) |
void | setMinMaxValues (int min, int max) |
void | setSliderLabelVisible (bool visible) |
void | setTitle (QString value) |
~HorizontalSliderWidget () | |
Protected Slots | |
void | onDefaultButtonPressed () |
void | onSliderReleased () |
void | onValueChanged (int value) |
Private Attributes | |
int | m_defaultValue |
Slider default value (default 0) More... | |
int | m_maxValue |
Slider Maximum value (default 99) More... | |
int | m_minValue |
Slider Minimum value (default 0) More... | |
std::auto_ptr< Ui::HorizontalSliderWidgetForm > | m_ui |
...
Definition at line 53 of file HorizontalSliderWidget.h.
te::qt::widgets::HorizontalSliderWidget::HorizontalSliderWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 36 of file HorizontalSliderWidget.cpp.
References m_defaultValue, m_maxValue, m_minValue, m_ui, onDefaultButtonPressed(), onSliderReleased(), onValueChanged(), and sliderReleased().
te::qt::widgets::HorizontalSliderWidget::~HorizontalSliderWidget | ( | ) |
Definition at line 56 of file HorizontalSliderWidget.cpp.
Ui::HorizontalSliderWidgetForm * te::qt::widgets::HorizontalSliderWidget::getForm | ( | ) | const |
Definition at line 60 of file HorizontalSliderWidget.cpp.
int te::qt::widgets::HorizontalSliderWidget::getValue | ( | ) |
Definition at line 95 of file HorizontalSliderWidget.cpp.
|
protectedslot |
Definition at line 110 of file HorizontalSliderWidget.cpp.
Referenced by HorizontalSliderWidget().
|
protectedslot |
Definition at line 126 of file HorizontalSliderWidget.cpp.
Referenced by HorizontalSliderWidget().
|
protectedslot |
Definition at line 119 of file HorizontalSliderWidget.cpp.
Referenced by HorizontalSliderWidget().
void te::qt::widgets::HorizontalSliderWidget::setCurrentValue | ( | int | value | ) |
Definition at line 88 of file HorizontalSliderWidget.cpp.
void te::qt::widgets::HorizontalSliderWidget::setDefaultButtonVisible | ( | bool | visible | ) |
Definition at line 100 of file HorizontalSliderWidget.cpp.
void te::qt::widgets::HorizontalSliderWidget::setDefaultValue | ( | int | value | ) |
Definition at line 79 of file HorizontalSliderWidget.cpp.
Referenced by te::qt::widgets::RasterSymbolizerWidget::RasterSymbolizerWidget().
void te::qt::widgets::HorizontalSliderWidget::setMinMaxValues | ( | int | min, |
int | max | ||
) |
Definition at line 70 of file HorizontalSliderWidget.cpp.
Referenced by te::qt::widgets::RasterSymbolizerWidget::RasterSymbolizerWidget().
void te::qt::widgets::HorizontalSliderWidget::setSliderLabelVisible | ( | bool | visible | ) |
Definition at line 105 of file HorizontalSliderWidget.cpp.
void te::qt::widgets::HorizontalSliderWidget::setTitle | ( | QString | value | ) |
Definition at line 65 of file HorizontalSliderWidget.cpp.
Referenced by te::qt::widgets::RasterSymbolizerDialog::onOpacityClicked(), and te::qt::widgets::RasterSymbolizerWidget::RasterSymbolizerWidget().
|
signal |
Referenced by HorizontalSliderWidget().
|
signal |
This signal is emitted when the slider value was changed.
|
private |
Slider default value (default 0)
Definition at line 100 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget().
|
private |
Slider Maximum value (default 99)
Definition at line 99 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget().
|
private |
Slider Minimum value (default 0)
Definition at line 98 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget().
|
private |
Definition at line 96 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget().