![]() |
Plasma Engine
2.0
|
Displays the value range as an image, allowing users to pick a value like on a slider. More...
#include <PropertyAttributes.h>
Public Member Functions | |
plImageSliderUiAttribute (const char *szImageGenerator) | |
![]() | |
virtual const plRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const plRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
PL_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
plUntrackedString | m_sImageGenerator |
Additional Inherited Members | |
![]() | |
static const plRTTI * | GetStaticRTTI () |
Displays the value range as an image, allowing users to pick a value like on a slider.
This attribute always has to be combined with an plClampValueAttribute to define the min and max value range. The constructor takes the name of an image generator. The generator is used to build the QImage used for the slider background.
Image generators are registered through plQtImageSliderWidget::s_ImageGenerators. Search the codebase for that variable to determine which types of image generators are available. You can register custom generators as well.