28 Q_PROPERTY(QString text2 READ text WRITE setTextAndResetCursor)
29 Q_PROPERTY(
bool resetCursorPositionOnEditingFinished READ resetCursorPositionOnEditingFinished
30 WRITE setResetCursorPositionOnEditingFinished)
32 typedef QLineEdit Superclass;
36 pqLineEdit(
const QString& contents, QWidget* parent =
nullptr);
47 return this->ResetCursorPositionOnEditingFinished;
57 void textChangedAndEditingFinished();
77 void setTextAndResetCursor(
const QString& text);
86 this->ResetCursorPositionOnEditingFinished = val;
91 void onEditingFinished();
100 void triggerTextChangedAndEditingFinished();
103 void focusInEvent(QFocusEvent* event)
override;
108 bool EditingFinishedPending;
109 bool ResetCursorPositionOnEditingFinished;
void setResetCursorPositionOnEditingFinished(bool val)
To enable/disable whether the cursor position is reset to 0 after editingFinished() is fired...
pqLineEditEventPlayer extends pqAbstractStringEventPlayer to ensure that pqLineEdit fires textChanged...
pqLineEdit is a specialization of QLineEdit which provide a new property 'text2'. ...
bool resetCursorPositionOnEditingFinished() const
To enable/disable whether the cursor position is reset to 0 after editingFinished() is fired...