#include <PropertyConstraintListItem.h>
Protected Member Functions | |
virtual bool event (QEvent *ev) | |
virtual void initialize () | |
PropertyConstraintListItem () | |
virtual void setValue (const QVariant &) | |
virtual QVariant toString (const QVariant &) const | |
virtual QVariant value (const App::Property *) const | |
![]() | |
virtual QVariant decoration (const QVariant &) const | |
virtual QVariant displayName () const | |
virtual void onChange () | |
PropertyItem () | |
virtual QVariant toolTip (const App::Property *) const | |
![]() | |
void expressionChange (const App::ObjectIdentifier &id) | |
std::string getEscapedExpressionString () const | |
boost::shared_ptr< App::Expression > getExpression () const | |
std::string getExpressionString (bool no_throw=true) const | |
const App::ObjectIdentifier & getPath () const | |
virtual void setExpression (boost::shared_ptr< App::Expression > expr) | |
Protected Attributes | |
bool blockEvent | |
bool onlyUnnamed | |
![]() | |
QList< PropertyItem * > childItems | |
bool cleared | |
QString displayText | |
bool linked | |
PropertyItem * parentItem | |
int precision | |
std::vector< App::Property * > propertyItems | |
QString propName | |
bool readonly | |
![]() | |
boost::signals2::scoped_connection connection | |
QPalette defaultPalette | |
int iconHeight | |
QLabel * iconLabel | |
bool m_autoApply | |
Additional Inherited Members | |
![]() | |
void appendChild (PropertyItem *child) | |
virtual void bind (const App::ObjectIdentifier &_path) | |
virtual void bind (const App::Property &prop) | |
override the bind functions to ensure we issue the propertyBound() call, which is then overloaded by childs which like to be informed of a binding More... | |
PropertyItem * child (int row) | |
int childCount () const | |
int columnCount () const | |
QWidget * createExpressionEditor (QWidget *parent, const QObject *receiver, const char *method) const | |
virtual QVariant data (int column, int role) const | |
int decimals () const | |
QString expressionAsString () const | |
QVariant expressionEditorData (QWidget *editor) const | |
Qt::ItemFlags flags (int column) const | |
App::Property * getFirstProperty () | |
const App::Property * getFirstProperty () const | |
const std::vector< App::Property * > & getPropertyData () const | |
bool hasAnyExpression () const | |
bool hasProperty (const App::Property *) const | |
void insertChild (int, PropertyItem *child) | |
bool isLinked () const | |
bool isReadOnly () const | |
virtual bool isSeparator () const | |
PropertyItem * parent () const | |
virtual void propertyBound () | |
QString propertyName () const | |
void removeChildren (int from, int to) | |
PropertyItem::removeChildren Deletes the children in the range of [from, to]. More... | |
bool removeProperty (const App::Property *) | |
void reset () | |
int row () const | |
bool setData (const QVariant &value) | |
void setDecimals (int) | |
void setExpressionEditorData (QWidget *editor, const QVariant &data) const | |
void setLinked (bool) | |
void setParent (PropertyItem *parent) | |
void setPropertyData (const std::vector< App::Property * > &) | |
Sets the current property objects. More... | |
void setPropertyName (const QString &) | |
void setPropertyValue (const QString &) | |
void setReadOnly (bool) | |
PropertyItem * takeChild (int) | |
PropertyItem::takeChild Removes the child at index row but doesn't delete it. More... | |
bool testStatus (App::Property::Status pos) const | |
void updateData () | |
~PropertyItem () | |
![]() | |
virtual bool apply () | |
virtual bool apply (const std::string &propName) | |
bool autoApply () const | |
ExpressionBinding () | |
QPixmap getIcon (const char *name, const QSize &size) const | |
bool hasExpression () const | |
bool isBound () const | |
void setAutoApply (bool value) | |
~ExpressionBinding () | |
Constructor & Destructor Documentation
◆ PropertyConstraintListItem()
|
protected |
Member Function Documentation
◆ event()
◆ initialize()
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
References Sketcher::Angle, Gui::PropertyEditor::PropertyItem::appendChild(), Gui::PropertyEditor::PropertyItem::bind(), femsolver.elmer.equations.elasticity::create(), Sketcher::Diameter, Sketcher::Distance, Sketcher::DistanceX, Sketcher::DistanceY, Sketcher::Radius, Gui::ExpressionBinding::setAutoApply(), Gui::PropertyEditor::PropertyItem::setParent(), and Gui::PropertyEditor::PropertyItem::setPropertyName().
◆ setValue()
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
◆ toString()
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
◆ value()
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
References Sketcher::Angle, Base::Unit::Angle, blockEvent, Gui::PropertyEditor::PropertyItem::child(), Sketcher::Diameter, Sketcher::Distance, Sketcher::DistanceX, Sketcher::DistanceY, Base::Persistence::getClassTypeId(), Base::Persistence::getTypeId(), Base::Type::isDerivedFrom(), Base::Unit::Length, Sketcher::Radius, Base::Quantity::setUnit(), and Base::Quantity::setValue().
Member Data Documentation
◆ blockEvent
◆ onlyUnnamed
|
protected |
The documentation for this class was generated from the following files:
- src/Mod/Sketcher/Gui/PropertyConstraintListItem.h
- src/Mod/Sketcher/Gui/PropertyConstraintListItem.cpp