Public Member Functions | |
bool | apply (const std::string &propName) |
VectorLineEdit (int decimals, QWidget *parent=nullptr, bool expressionOnly=false) | |
Public Member Functions inherited from Gui::ExpLineEdit | |
bool | apply (const std::string &propName) |
void | bind (const App::ObjectIdentifier &_path) |
ExpLineEdit (QWidget *parent=nullptr, bool expressionOnly=false) | |
void | keyPressEvent (QKeyEvent *event) |
void | resizeEvent (QResizeEvent *event) |
void | setExpression (std::shared_ptr< App::Expression > expr) |
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 () |
Additional Inherited Members | |
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) |
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 |
Gui::PropertyEditor::VectorLineEdit::VectorLineEdit | ( | int | decimals, |
QWidget * | parent = nullptr , |
||
bool | expressionOnly = false |
||
) |
|
virtual |
Reimplemented from Gui::ExpressionBinding.
References Gui::ExpressionBinding::apply(), and Gui::Command::Doc.