... 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::unique_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(), sliderReleased(), and ~HorizontalSliderWidget().
|
default |
Referenced by HorizontalSliderWidget().
| Ui::HorizontalSliderWidgetForm * te::qt::widgets::HorizontalSliderWidget::getForm | ( | ) | const |
Definition at line 58 of file HorizontalSliderWidget.cpp.
References m_ui.
| int te::qt::widgets::HorizontalSliderWidget::getValue | ( | ) |
Definition at line 93 of file HorizontalSliderWidget.cpp.
References m_ui.
Referenced by te::qt::widgets::RasterSymbolizerDialog::getRasterSymbolizer(), and te::qt::widgets::RasterSymbolizerWidget::updateUi().
|
protectedslot |
Definition at line 108 of file HorizontalSliderWidget.cpp.
References m_defaultValue, m_ui, onSliderReleased(), and onValueChanged().
Referenced by HorizontalSliderWidget().
|
protectedslot |
Definition at line 124 of file HorizontalSliderWidget.cpp.
References sliderReleased().
Referenced by HorizontalSliderWidget(), and onDefaultButtonPressed().
|
protectedslot |
Definition at line 117 of file HorizontalSliderWidget.cpp.
References m_ui, and sliderValueChanged().
Referenced by HorizontalSliderWidget(), and onDefaultButtonPressed().
| void te::qt::widgets::HorizontalSliderWidget::setCurrentValue | ( | int | value | ) |
Definition at line 86 of file HorizontalSliderWidget.cpp.
References m_ui.
Referenced by te::qt::widgets::RasterSymbolizerWidget::updateUi().
| void te::qt::widgets::HorizontalSliderWidget::setDefaultButtonVisible | ( | bool | visible | ) |
Definition at line 98 of file HorizontalSliderWidget.cpp.
References m_ui.
| void te::qt::widgets::HorizontalSliderWidget::setDefaultValue | ( | int | value | ) |
Definition at line 77 of file HorizontalSliderWidget.cpp.
References m_defaultValue, and m_ui.
Referenced by te::qt::widgets::RasterSymbolizerDialog::onOpacityClicked(), and te::qt::widgets::RasterSymbolizerWidget::RasterSymbolizerWidget().
Definition at line 68 of file HorizontalSliderWidget.cpp.
References m_maxValue, m_minValue, and m_ui.
Referenced by te::qt::widgets::RasterSymbolizerDialog::onOpacityClicked(), and te::qt::widgets::RasterSymbolizerWidget::RasterSymbolizerWidget().
| void te::qt::widgets::HorizontalSliderWidget::setSliderLabelVisible | ( | bool | visible | ) |
Definition at line 103 of file HorizontalSliderWidget.cpp.
References m_ui.
| void te::qt::widgets::HorizontalSliderWidget::setTitle | ( | QString | value | ) |
Definition at line 63 of file HorizontalSliderWidget.cpp.
References m_ui.
Referenced by te::qt::widgets::RasterSymbolizerDialog::onOpacityClicked(), and te::qt::widgets::RasterSymbolizerWidget::RasterSymbolizerWidget().
|
signal |
Referenced by HorizontalSliderWidget(), and onSliderReleased().
|
signal |
This signal is emitted when the slider value was changed.
Referenced by onValueChanged().
|
private |
Slider default value (default 0)
Definition at line 100 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget(), onDefaultButtonPressed(), and setDefaultValue().
|
private |
Slider Maximum value (default 99)
Definition at line 99 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget(), and setMinMaxValues().
|
private |
Slider Minimum value (default 0)
Definition at line 98 of file HorizontalSliderWidget.h.
Referenced by HorizontalSliderWidget(), and setMinMaxValues().
|
private |
Definition at line 96 of file HorizontalSliderWidget.h.
Referenced by getForm(), getValue(), HorizontalSliderWidget(), onDefaultButtonPressed(), onValueChanged(), setCurrentValue(), setDefaultButtonVisible(), setDefaultValue(), setMinMaxValues(), setSliderLabelVisible(), and setTitle().