|
xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
|
A read-only text field that can be used to show some non-editable information. More...
#include <xentara/workbench/bindings/InfoField.hpp>
Inheritance diagram for xentara::workbench::bindings::InfoField:Classes | |
| struct | Options |
| Options for the binding. More... | |
Public Member Functions | |
| template<std::convertible_to< ui::String > Property> | |
| InfoField (PropertyController &propertyController, Property &property, Options options) | |
| Constructor that accesses the variable holding a property’s value directly. | |
| template<typename Object , Getter< ui::String, Object > GetterType> | |
| InfoField (const PropertyHandle &property, const Object &object, GetterType get, Options options) | |
| Constructor that uses a getter to access a property. | |
A read-only text field that can be used to show some non-editable information.
| xentara::workbench::bindings::InfoField::InfoField | ( | PropertyController & | propertyController, |
| Property & | property, | ||
| Options | options | ||
| ) |
Constructor that accesses the variable holding a property’s value directly.
| propertyController | The property controller that manages the property |
| property | A reference to the variable holding the property’s value. |
| options | The binding options |
| xentara::workbench::bindings::InfoField::InfoField | ( | const PropertyHandle & | property, |
| const Object & | object, | ||
| GetterType | get, | ||
| Options | options | ||
| ) |
Constructor that uses a getter to access a property.
| property | A handle to the bound property |
| object | The object on which the getter should be called |
| get | The getter function |
| options | The binding options |