#include <PropertyItem.h>
Protected Member Functions | |
virtual void | propertyBound () |
PropertyVectorItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | toString (const QVariant &) const |
virtual QVariant | value (const App::Property *) const |
Protected Member Functions inherited from Gui::PropertyEditor::PropertyItem | |
virtual QVariant | decoration (const QVariant &) const |
virtual QVariant | displayName () const |
virtual void | initialize () |
virtual void | onChange () |
PropertyItem () | |
virtual void | setValue (const QVariant &) |
virtual QVariant | toolTip (const App::Property *) const |
virtual QVariant | toString (const QVariant &) const |
virtual QVariant | value (const App::Property *) const |
Protected Member Functions inherited from Gui::ExpressionBinding | |
void | expressionChange (const App::ObjectIdentifier &id) |
std::string | getEscapedExpressionString () const |
std::shared_ptr< App::Expression > | getExpression () const |
std::string | getExpressionString (bool no_throw=true) const |
const App::ObjectIdentifier & | getPath () const |
void | makeLabel (QLineEdit *parent) |
void | objectDeleted (const App::DocumentObject &) |
virtual void | onChange () |
virtual void | setExpression (std::shared_ptr< App::Expression > expr) |
Properties | |
double | x |
double | y |
double | z |
Additional Inherited Members | |
Public Member Functions inherited from Gui::PropertyEditor::PropertyItem | |
void | appendChild (PropertyItem *child) |
virtual void | assignProperty (const App::Property *) |
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 |
virtual QWidget * | createEditor (QWidget *parent, const QObject *receiver, const char *method) const |
Creates the appropriate editor for this item and sets the editor to the value of overrideValue(). More... | |
QWidget * | createExpressionEditor (QWidget *parent, const QObject *receiver, const char *method) const |
PropertyEditorWidget * | createPropertyEditorWidget (QWidget *parent) const |
virtual QVariant | data (int column, int role) const |
int | decimals () const |
virtual QVariant | editorData (QWidget *editor) 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 | isExpanded () const |
bool | isLinked () const |
bool | isReadOnly () const |
virtual bool | isSeparator () const |
void | moveChild (int from, int to) |
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 () |
virtual int | row () const |
bool | setData (const QVariant &value) |
void | setDecimals (int) |
virtual void | setEditorData (QWidget *editor, const QVariant &data) const |
void | setExpanded (bool e) |
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 (QString name, QString realName=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 () | |
Public Member Functions inherited from Gui::ExpressionBinding | |
virtual bool | apply () |
virtual bool | apply (const std::string &propName) |
bool | autoApply () const |
virtual void | bind (const App::ObjectIdentifier &_path) |
virtual void | bind (const App::Property &prop) |
ExpressionBinding () | |
QPixmap | getIcon (const char *name, const QSize &size) const |
bool | hasExpression () const |
bool | isBound () const |
void | setAutoApply (bool value) |
void | unbind () |
virtual | ~ExpressionBinding () |
Protected Attributes inherited from Gui::PropertyEditor::PropertyItem | |
QList< PropertyItem * > | childItems |
QString | displayText |
bool | expanded |
bool | linked |
PropertyItem * | parentItem |
int | precision |
std::vector< App::Property * > | propertyItems |
QString | propName |
bool | readonly |
Protected Attributes inherited from Gui::ExpressionBinding | |
QPalette | defaultPalette |
boost::signals2::scoped_connection | expressionchanged |
int | iconHeight |
ExpressionLabel * | iconLabel |
bool | m_autoApply |
boost::signals2::scoped_connection | objectdeleted |
|
protected |
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
References Gui::PropertyEditor::PropertyItem::bind(), and Gui::ExpressionBinding::getPath().
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
References Gui::ExpressionBinding::getExpressionString(), and Gui::ExpressionBinding::hasExpression().
|
protectedvirtual |
Reimplemented from Gui::PropertyEditor::PropertyItem.
References Base::Persistence::getClassTypeId(), Base::Persistence::getTypeId(), and Base::Type::isDerivedFrom().
Referenced by PathScripts.PathProperty.Property::displayString(), PathScripts.PathProperty.PropertyQuantity::displayString(), PathScripts.PathSetupSheetOpPrototype.Property::displayString(), PathScripts.PathSetupSheetOpPrototype.PropertyQuantity::displayString(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::evaluate(), PathScripts.PathProperty.Property::getValue(), PathScripts.PathSetupSheetOpPrototype.Property::getValue(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::lowervalue(), PathScripts.PathProperty.Property::setValue(), and PathScripts.PathSetupSheetOpPrototype.Property::setValue().
|
readwrite |
Referenced by Mod.PartDesign.Scripts.FilletArc.Vector::add(), DraftGui.DraftToolBar::changeXValue(), importSVG.svgHandler::characters(), PathScripts.PathInspect.GCodeEditorDialog::cleanup(), Mod.PartDesign.Scripts.FilletArc.Vector::cross(), PathScripts.PostUtils.GCodeEditorDialog::done(), Mod.PartDesign.Scripts.FilletArc.Vector::dot(), Mod.PartDesign.Scripts.FilletArc.Vector::length(), Mod.PartDesign.Scripts.FilletArc.Vector::mult(), Mod.PartDesign.Scripts.FilletArc.Vector::norm(), PathScripts.PathDressupHoldingTags.Tag::originAt(), DraftGui.DraftToolBar::pointUi(), DraftGui.DraftToolBar::reset_ui_values(), Mod.PartDesign.Scripts.FilletArc.Vector::sub(), DraftGui.DraftToolBar::update_cartesian_coords(), DraftGui.DraftToolBar::update_spherical_coords(), DraftGui.DraftToolBar::updateSnapper(), DraftGui.DraftToolBar::validatePoint(), and automotive_design.right_angular_wedge::wr1().
|
readwrite |
Referenced by Mod.PartDesign.Scripts.FilletArc.Vector::add(), DraftGui.DraftToolBar::changeYValue(), importSVG.svgHandler::characters(), PathScripts.PathInspect.GCodeEditorDialog::cleanup(), Mod.PartDesign.Scripts.FilletArc.Vector::cross(), PathScripts.PostUtils.GCodeEditorDialog::done(), Mod.PartDesign.Scripts.FilletArc.Vector::dot(), Mod.PartDesign.Scripts.FilletArc.Vector::length(), Mod.PartDesign.Scripts.FilletArc.Vector::mult(), Mod.PartDesign.Scripts.FilletArc.Vector::norm(), PathScripts.PathDressupHoldingTags.Tag::originAt(), DraftGui.DraftToolBar::pointUi(), DraftGui.DraftToolBar::reset_ui_values(), Mod.PartDesign.Scripts.FilletArc.Vector::sub(), DraftGui.DraftToolBar::update_cartesian_coords(), DraftGui.DraftToolBar::update_spherical_coords(), DraftGui.DraftToolBar::updateSnapper(), and DraftGui.DraftToolBar::validatePoint().
|
readwrite |
Referenced by Mod.PartDesign.Scripts.FilletArc.Vector::add(), automotive_design.revolved_area_solid::axis_line(), automotive_design.surface_of_revolution::axis_line(), automotive_design.revolved_face_solid::axis_line(), ifc4.ifcrevolvedareasolid::axisdirectioninxy(), ifc2x3.ifcsurfaceofrevolution::axisline(), ifc2x3.ifcrevolvedareasolid::axisline(), ifc4.ifcsurfaceofrevolution::axisline(), ifc4.ifcrevolvedareasolid::axisline(), PathScripts.PathDressupHoldingTags.Tag::bottom(), DraftGui.DraftToolBar::changeZValue(), PathScripts.PathDressupTag.TagSolid::cloneAt(), PathScripts.PathDressupHoldingTags.Tag::createSolidsAt(), Mod.PartDesign.Scripts.FilletArc.Vector::cross(), Mod.PartDesign.Scripts.FilletArc.Vector::dot(), Mod.PartDesign.Scripts.FilletArc.Vector::length(), Mod.PartDesign.Scripts.FilletArc.Vector::mult(), Mod.PartDesign.Scripts.FilletArc.Vector::norm(), DraftGui.DraftToolBar::pointUi(), DraftGui.DraftToolBar::reset_ui_values(), importSH3D.SH3DHandler::startElement(), Mod.PartDesign.Scripts.FilletArc.Vector::sub(), PathScripts.PathDressupHoldingTags.Tag::top(), DraftGui.DraftToolBar::update_cartesian_coords(), DraftGui.DraftToolBar::update_spherical_coords(), DraftGui.DraftToolBar::updateSnapper(), DraftGui.DraftToolBar::validatePoint(), and ifc2x3.ifcrevolvedareasolid::wr32().