summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-25 07:57:19 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-25 07:57:19 +0200
commit936e215aed9534894d3a295735f5e54840af5181 (patch)
treec9f9b89ee9a28be3155f914dddd907f9a925c907 /include
parentUse more stl containers & minor refactorings (diff)
downloadnheko-936e215aed9534894d3a295735f5e54840af5181.tar.xz
Resize text input vertically to fit the contents
Diffstat (limited to 'include')
-rw-r--r--include/TextInputWidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/TextInputWidget.h b/include/TextInputWidget.h

index cc01be69..c7cb06c5 100644 --- a/include/TextInputWidget.h +++ b/include/TextInputWidget.h
@@ -50,6 +50,7 @@ public: void submit(); signals: + void heightChanged(int height); void startedTyping(); void stoppedTyping(); void message(QString); @@ -73,7 +74,7 @@ private: void afterCompletion(int); }; -class TextInputWidget : public QFrame +class TextInputWidget : public QWidget { Q_OBJECT