diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-13 18:46:17 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-13 18:46:17 +0100 |
commit | d55de707c3352a468a227d69920a56ef2550a7cc (patch) | |
tree | 3f7ac91962d7e09328fb24d4eb52707a3f6e7f22 /plugingui/lineedit.h | |
parent | c17046353762a0893914e671f1f19eadce6f94f5 (diff) |
Added path lineedit and drive selection (win32) to filebrowser. Made a lot of small layout tweaks.
Diffstat (limited to 'plugingui/lineedit.h')
-rw-r--r-- | plugingui/lineedit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/lineedit.h b/plugingui/lineedit.h index 46fa5bc..fa327ca 100644 --- a/plugingui/lineedit.h +++ b/plugingui/lineedit.h @@ -44,6 +44,9 @@ public: std::string text(); void setText(std::string text); + void setReadOnly(bool readonly); + bool readOnly(); + //protected: virtual void keyEvent(KeyEvent *e); virtual void repaintEvent(RepaintEvent *e); @@ -57,6 +60,8 @@ private: std::string _text; size_t pos; + + bool readonly; }; }; |