|
Krita Source Code Documentation
|
#include <kis_slider_based_paintop_property.h>
Inheritance diagram for KisSliderBasedPaintOpProperty< T >:Private Attributes | |
| int | m_decimals |
| qreal | m_exponentRatio |
| T | m_max |
| T | m_min |
| T | m_pageStep |
| T | m_singleStep |
| QString | m_suffix |
Additional Inherited Members | |
Public Types inherited from KisUniformPaintOpProperty | |
| enum | SubType { SubType_None = 0 , SubType_Angle } |
| Hint to guess what this property is used for. More... | |
| enum | Type { Int = 0 , Double , Bool , Combo } |
Public Slots inherited from KisUniformPaintOpProperty | |
| void | requestReadValue () |
| void | setValue (const QVariant &value) |
Signals inherited from KisSliderBasedPaintOpPropertyBase | |
| void | sigRangeChanged () |
Signals inherited from KisUniformPaintOpProperty | |
| void | valueChanged (const QVariant &value) |
Protected Member Functions inherited from KisUniformPaintOpProperty | |
| virtual void | readValueImpl () |
| virtual void | writeValueImpl () |
This is a general class for the properties that can be represented in the GUI as an integer or double slider. The GUI representation creates a slider and connects it to this property using all the information contained in it.
Methods of this property basically copy the methods of Kis{,Double}SliderSpinbox
Definition at line 36 of file kis_slider_based_paintop_property.h.
| KisSliderBasedPaintOpProperty< T >::KisSliderBasedPaintOpProperty | ( | Type | type, |
| SubType | subType, | ||
| const KoID & | id, | ||
| KisPaintOpSettingsRestrictedSP | settings, | ||
| QObject * | parent ) |
Definition at line 12 of file kis_slider_based_paintop_property.cpp.
| KisSliderBasedPaintOpProperty< T >::KisSliderBasedPaintOpProperty | ( | Type | type, |
| const KoID & | id, | ||
| KisPaintOpSettingsRestrictedSP | settings, | ||
| QObject * | parent ) |
Definition at line 28 of file kis_slider_based_paintop_property.cpp.
| KisSliderBasedPaintOpProperty< T >::KisSliderBasedPaintOpProperty | ( | const KoID & | id, |
| KisPaintOpSettingsRestrictedSP | settings, | ||
| QObject * | parent ) |
Definition at line 40 of file kis_slider_based_paintop_property.cpp.
| int KisSliderBasedPaintOpProperty< T >::decimals | ( | ) | const |
Definition at line 114 of file kis_slider_based_paintop_property.cpp.
| qreal KisSliderBasedPaintOpProperty< T >::exponentRatio | ( | ) | const |
Definition at line 102 of file kis_slider_based_paintop_property.cpp.
| T KisSliderBasedPaintOpProperty< T >::max | ( | ) | const |
Definition at line 59 of file kis_slider_based_paintop_property.cpp.
| T KisSliderBasedPaintOpProperty< T >::min | ( | ) | const |
Definition at line 53 of file kis_slider_based_paintop_property.cpp.
| T KisSliderBasedPaintOpProperty< T >::pageStep | ( | ) | const |
Definition at line 90 of file kis_slider_based_paintop_property.cpp.
| void KisSliderBasedPaintOpProperty< T >::setDecimals | ( | int | value | ) |
Definition at line 120 of file kis_slider_based_paintop_property.cpp.
References value().
| void KisSliderBasedPaintOpProperty< T >::setExponentRatio | ( | qreal | value | ) |
Definition at line 108 of file kis_slider_based_paintop_property.cpp.
References value().
| void KisSliderBasedPaintOpProperty< T >::setPageStep | ( | T | value | ) |
Definition at line 96 of file kis_slider_based_paintop_property.cpp.
References value().
| void KisSliderBasedPaintOpProperty< T >::setRange | ( | T | min, |
| T | max ) |
Definition at line 65 of file kis_slider_based_paintop_property.cpp.
| void KisSliderBasedPaintOpProperty< T >::setSingleStep | ( | T | value | ) |
Definition at line 84 of file kis_slider_based_paintop_property.cpp.
References value().
| void KisSliderBasedPaintOpProperty< T >::setSuffix | ( | QString | value | ) |
Definition at line 132 of file kis_slider_based_paintop_property.cpp.
References value().
| T KisSliderBasedPaintOpProperty< T >::singleStep | ( | ) | const |
Definition at line 78 of file kis_slider_based_paintop_property.cpp.
| QString KisSliderBasedPaintOpProperty< T >::suffix | ( | ) | const |
Definition at line 126 of file kis_slider_based_paintop_property.cpp.
|
private |
Definition at line 71 of file kis_slider_based_paintop_property.h.
|
private |
Definition at line 69 of file kis_slider_based_paintop_property.h.
|
private |
Definition at line 65 of file kis_slider_based_paintop_property.h.
|
private |
Definition at line 64 of file kis_slider_based_paintop_property.h.
|
private |
Definition at line 68 of file kis_slider_based_paintop_property.h.
|
private |
Definition at line 67 of file kis_slider_based_paintop_property.h.
|
private |
Definition at line 72 of file kis_slider_based_paintop_property.h.