OpenLexocad
28.0
|
#include <Property.h>
Public Member Functions | |
PropertyEnum () | |
virtual | ~PropertyEnum () |
size_t | addEntry (const Base::String &aValue, int aTranslationId=-1) |
bool | getEntry (size_t aIndex, std::pair< Base::String, int > &aEntry) |
bool | getEntry (size_t aIndex, PropertyEnumEntry &aEntry) |
bool | removeEntry (size_t aIndex) |
void | setEmpty () |
std::vector< PropertyEnumEntry > | getPredefinedValues () const |
![]() | |
PropertyInteger () | |
virtual | ~PropertyInteger () |
int | getValue () const |
void | setValue (int aValue) |
void | setMinValue (int aValue) |
void | setMaxValue (int aValue) |
void | setSteps (int aValue) |
int | getMinValue () const |
int | getMaxValue () const |
int | getSteps () const |
![]() | |
Core::Variant | getVariant () const |
std::string | getName () const |
bool | isVisible () const |
void | setVisible (bool on) |
bool | isEditable () const |
void | setEditable (bool on) |
Base::String | getDisplayName () const |
void | setTranslationId (int aId) |
int | getTranslationId () const |
virtual | ~Property ()=default |
void | __setPropertyUser__ (Core::PropertyUser *aProperty) |
Internal. More... | |
Additional Inherited Members | |
![]() | |
enum | Visible { NOT_VISIBLE = 0, VISIBLE = 1 } |
enum | Editable { NOT_EDITABLE = 0, EDITABLE = 1 } |
![]() | |
Property () | |
bool | isDocEditing () const |
template<typename T > | |
void | _setValue (const T &aValue) |
std::shared_ptr< Document > | _getDocument (Core::Property *aProp) const |
Core::PropertyDescriptor * | _getPropertyDescriptor () const |
![]() | |
Core::PropertyUser * | _prop = nullptr |
OpenLxApp::PropertyEnum::PropertyEnum | ( | ) |
|
inlinevirtual |
size_t OpenLxApp::PropertyEnum::addEntry | ( | const Base::String & | aValue, |
int | aTranslationId = -1 |
||
) |
bool OpenLxApp::PropertyEnum::getEntry | ( | size_t | aIndex, |
PropertyEnumEntry & | aEntry | ||
) |
bool OpenLxApp::PropertyEnum::getEntry | ( | size_t | aIndex, |
std::pair< Base::String, int > & | aEntry | ||
) |
std::vector<PropertyEnumEntry> OpenLxApp::PropertyEnum::getPredefinedValues | ( | ) | const |
bool OpenLxApp::PropertyEnum::removeEntry | ( | size_t | aIndex | ) |
void OpenLxApp::PropertyEnum::setEmpty | ( | ) |