diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-18 11:36:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-18 11:36:20 +0300 |
commit | cc1acaa0093c7498daf68956edfa4b7801eb9481 (patch) | |
tree | 39249f91e245595d274b20a18b5ca53db6aedd94 | |
parent | 0971280bb608bcf9060bc9265c128f38e1a8058e (diff) | |
download | mv-cc1acaa0093c7498daf68956edfa4b7801eb9481.tar.gz mv-cc1acaa0093c7498daf68956edfa4b7801eb9481.tar.bz2 mv-cc1acaa0093c7498daf68956edfa4b7801eb9481.tar.xz mv-cc1acaa0093c7498daf68956edfa4b7801eb9481.zip |
Add tooltips to horizontcontainer.
-rw-r--r-- | src/gui/widgets/horizontcontainer.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/horizontcontainer.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/horizontcontainer.cpp b/src/gui/widgets/horizontcontainer.cpp index 8e3be9662..ff9a5b010 100644 --- a/src/gui/widgets/horizontcontainer.cpp +++ b/src/gui/widgets/horizontcontainer.cpp @@ -34,6 +34,7 @@ HorizontContainer::HorizontContainer(const Widget2 *const widget, { setHeight(height); addWidgetListener(this); + addMouseListener(this); } void HorizontContainer::add(Widget *widget) diff --git a/src/gui/widgets/horizontcontainer.h b/src/gui/widgets/horizontcontainer.h index bef3d0b00..e6e6d38f9 100644 --- a/src/gui/widgets/horizontcontainer.h +++ b/src/gui/widgets/horizontcontainer.h @@ -24,6 +24,7 @@ #include "gui/widgets/container.h" +#include "listeners/tooltiplistener.h" #include "listeners/widgetlistener.h" #include "localconsts.h" @@ -34,7 +35,8 @@ * This container places it's contents veritcally. */ class HorizontContainer final : public Container, - public WidgetListener + public WidgetListener, + public ToolTipListener { public: HorizontContainer(const Widget2 *const widget, |