|
virtual std::string | getClassIdentifier () const override |
|
| FloatMinMaxPropertyWidget (FloatMinMaxProperty &property, Processor &processor, Renderer &uiRenderer, const ivec2 &extent=ivec2(100, 24), UIOrientation orientation=UIOrientation::Horizontal) |
|
virtual void | updateFromProperty () override |
|
virtual void | onSetVisible (Property *property, bool visible) override |
|
virtual void | onSetDisplayName (Property *property, const std::string &displayName) override |
|
virtual void | onSetReadOnly (Property *property, bool readonly) override |
|
| RangeSlider (const std::string &label, const ivec2 &value, int minValue, int maxValue, int minSeparation, Processor &processor, Renderer &uiRenderer, const ivec2 &extent=ivec2(100, 24), UIOrientation orientation=UIOrientation::Horizontal) |
|
void | set (const ivec2 &value) |
|
void | set (const ivec2 &value, int minValue, int maxValue, int minSeparation) |
|
const ivec2 & | get () const |
|
void | setStart (int start) |
|
void | setEnd (int stop) |
|
int | getMinValue () const |
|
int | getMaxValue () const |
|
void | setMinSeparation (int sep) |
|
int | getMinSeparation () const |
|
double | getHandleWidth () const |
|
void | setShowGroove (bool show) |
|
bool | getShowGroove () const |
|
void | setFlipped (bool flipped) |
|
bool | getFlipped () const |
|
| Element (const std::string &label, Processor &processor, Renderer &uiRenderer, UIOrientation orientation=UIOrientation::Horizontal) |
|
void | setVisible (bool visible=true) |
|
bool | isVisible () const |
|
void | setEnabled (bool enable=true) |
|
bool | isEnabled () const |
|
void | setLabel (const std::string &str) |
|
const std::string & | getLabel () const |
|
void | setFontSize (int size) |
|
int | getFontSize () const |
|
void | setLabelBold (bool bold) |
|
bool | isLabelBold () const |
|
void | setLabelVisible (bool visible=true) |
|
bool | isLabelVisible () const |
|
void | setScalingFactor (double factor) |
|
double | getScalingFactor () const |
|
void | setOrientation (UIOrientation orientation) |
|
UIOrientation | getOrientation () const |
|
bool | isDirty () const |
|
void | setWidgetExtent (const ivec2 &extent) |
| sets the extent of the widget More...
|
|
const ivec2 & | getWidgetExtent () const |
|
void | setWidgetExtentScaled (const ivec2 &extent) |
| sets the extent of the widget More...
|
|
ivec2 | getWidgetExtentScaled () const |
| returns the true widget extent including scaling More...
|
|
const ivec2 & | getExtent () |
| return extent of the element, including both widget and label, and considering scaling More...
|
|
void | render (const ivec2 &origin, const size2_t &canvasDim) |
| render the widget and its label at the given position More...
|
|
void | setHoverState (bool enable) |
|
bool | isHovered () const |
|
void | setPushedState (bool pushed) |
|
bool | isPushed () const |
|
void | setChecked (bool checked) |
|
bool | isChecked () const |
|
void | setAction (const std::function< void()> &action) |
| sets the callback action when the user releases the mouse button
|
|
void | setPickingEventAction (std::function< void(PickingEvent *e)> pickingAction) |
|
| PropertyWidget (Property *property) |
|
virtual | ~PropertyWidget () |
|
virtual PropertyEditorWidget * | getEditorWidget () const |
|
virtual bool | hasEditorWidget () const |
|
virtual Property * | getProperty () |
|
virtual void | onSetIdentifier (Property *property, const std::string &identifier) |
|
virtual void | onSetSemantics (Property *property, const PropertySemantics &semantics) |
|
virtual void | onSetUsageMode (Property *property, UsageMode usageMode) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
|
virtual | ~Observer () |
|
void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|