- /// Returns true if the current value is modified by has not been applyed yet
- //virtual bool isModified() const;
-
- /// Clears modified state
- //void clearModified();
-
- /// Change enable/disable internal state to emit key press event
- /// \param theEnable if true, the signal is emitted
- /// \return the previous value
- bool enableKeyPressEvent(const bool& theEnable);
-
-signals:
- /// The signal about key release on the control, that corresponds to the attribute
- /// \param theEvent key release event
- void keyReleased(QKeyEvent* theEvent);
+ /// Imitation of disable control value. If theEnable is false, the control becomes
+ /// read only and base color is disabled.
+ void setValueEnabled(const bool& theEnable);