|
| ListPropertyWidgetQt (ListProperty *property) |
|
virtual void | updateFromProperty () override |
|
virtual bool | isChildRemovable () const override |
|
virtual std::unique_ptr< QMenu > | getContextMenu () override |
|
| CompositePropertyWidgetQt (CompositeProperty *property) |
|
virtual bool | isCollapsed () const override |
|
virtual void | onSetCollapsed (bool value) override |
|
virtual void | initState () override |
|
| CollapsibleGroupBoxWidgetQt (CompositeProperty *property, bool isCheckable=false) |
|
| CollapsibleGroupBoxWidgetQt (Processor *property, bool isCheckable=false) |
|
| CollapsibleGroupBoxWidgetQt (Settings *property, bool isCheckable=false) |
|
| CollapsibleGroupBoxWidgetQt (Property *property, PropertyOwner *owner, const std::string &displayName="", bool isCheckable=false) |
|
virtual std::string | getDisplayName () const |
|
virtual void | setDisplayName (const std::string &displayName) |
|
void | addProperty (Property *tmpProperty) |
|
const std::vector< Property * > & | getProperties () const |
|
const std::vector< PropertyWidgetQt * > & | getPropertyWidgets () const |
|
PropertyWidgetQt * | widgetForProperty (Property *) const |
|
Property * | propertyForWidget (PropertyWidgetQt *) const |
|
void | setPropertyOwner (PropertyOwner *propertyOwner) |
|
PropertyOwner * | getPropertyOwner () const |
|
void | setShowIfEmpty (bool val) |
|
virtual bool | isChecked () const |
|
bool | isCheckable () const |
|
void | setCheckable (bool checkable) |
|
void | setCheckBoxText (std::string_view text) |
|
void | setCheckBoxVisible (bool visible) |
|
void | setCheckBoxReadonly (bool readonly) |
|
virtual QSize | sizeHint () const override |
|
virtual QSize | minimumSizeHint () const override |
|
virtual void | setReadOnly (bool readonly) override |
|
void | toggleCollapsed () |
|
std::unique_ptr< QMimeData > | getPropertyOwnerMimeData () const |
|
| PropertyWidgetQt (Property *property=nullptr) |
|
void | setSpacingAndMargins (QLayout *layout) |
|
virtual void | onChildVisibilityChange (PropertyWidgetQt *child) |
|
void | setNestedDepth (int depth) |
|
int | getNestedDepth () const |
|
PropertyWidgetQt * | getParentPropertyWidget () const |
|
void | setParentPropertyWidget (PropertyWidgetQt *parent) |
|
virtual std::unique_ptr< QMimeData > | getPropertyMimeData () const |
|
| PropertyWidget (Property *property) |
|
| PropertyWidget (const PropertyWidget &) |
|
| PropertyWidget (PropertyWidget &&) |
|
PropertyWidget & | operator= (const PropertyWidget &) |
|
PropertyWidget & | operator= (PropertyWidget &&) |
|
virtual | ~PropertyWidget () |
|
virtual PropertyEditorWidget * | getEditorWidget () const |
|
virtual bool | hasEditorWidget () const |
|
virtual Property * | getProperty () |
|
virtual void | onSetIdentifier (Property *property, const std::string &identifier) |
|
virtual void | onSetDisplayName (Property *property, const std::string &displayName) |
|
| Observer (const Observer &other) |
|
| Observer (Observer &&other) |
|
Observer & | operator= (Observer &&other) |
|
Observer & | operator= (const Observer &other) |
|
virtual | ~Observer () |
|
void | removeObservation (ObservableInterface *observable) |
|
void | removeObservations () |
|
virtual void | onWillAddProperty (PropertyOwner *owner, Property *property, size_t index) |
|
virtual void | onDidRemoveProperty (PropertyOwner *owner, Property *property, size_t index) |
|
|
bool | canAddElements () const |
|
void | addNewItem (size_t index) |
|
virtual void | setCollapsed (bool value) override |
|
virtual void | onDidAddProperty (Property *property, size_t index) override |
|
virtual void | onWillRemoveProperty (Property *property, size_t index) override |
|
virtual void | onSetSemantics (Property *property, const PropertySemantics &semantics) override |
|
virtual void | onSetReadOnly (Property *property, bool readonly) override |
|
virtual void | onSetVisible (Property *property, bool visible) override |
|
virtual void | setVisible (bool visible) override |
|
virtual void | setChecked (bool checked) |
|
void | setEmptyLabelString (const std::string &str) |
| set the text which is shown if there are no sub-properties and showIfEmpty is true
|
|
void | addButtonLayout (QGridLayout *layout, int row, Property *prop) |
|
void | insertProperty (Property *prop, size_t index) |
|
void | insertPropertyWidget (PropertyWidgetQt *propertyWidget, bool insertAtEnd) |
|
virtual void | updateFocusPolicy () |
|
virtual void | mousePressEvent (QMouseEvent *event) override |
|
virtual void | mouseMoveEvent (QMouseEvent *event) override |
|
virtual bool | event (QEvent *event) override |
|
virtual void | paintEvent (QPaintEvent *pe) override |
|
int | getSpacing () const |
| Assigned on mousePressEvent.
|
|
void | addObservation (ObservableInterface *observable) |
|
PropertyWidget for a ListProperty.
This widget considers the UI flags of the property. If the property supports adding list elements, a tool button is added next to the property name (indicated by a plus). In case multiple prefab objects are registered with the property, a menu is shown. Alternatively, new entries can be added using the context menu. List entries can be removed via a small "x" tool button next to them, if enabled.