summaryrefslogtreecommitdiff
path: root/plugingui/lineedit.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-13 18:46:17 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-13 18:46:17 +0100
commitd55de707c3352a468a227d69920a56ef2550a7cc (patch)
tree3f7ac91962d7e09328fb24d4eb52707a3f6e7f22 /plugingui/lineedit.h
parentc17046353762a0893914e671f1f19eadce6f94f5 (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.h5
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;
};
};