fw4spl
|
This class allows to display a slide widget. The slide widget can be displayed over all the application widgets. More...
#include <SlideBar.hpp>
Public Types | |
enum | Aligment { LEFT, RIGHT, TOP, BOTTOM } |
Public Member Functions | |
FWGUIQT_API | SlideBar (QWidget *parent, Aligment align=LEFT, int buttonWidth=200, double opacity=0.8) |
SlideBar constructor. | |
virtual FWGUIQT_API | ~SlideBar () |
Destructor. | |
FWGUIQT_API void | updatePosition () |
Update the shown/hide positions. | |
FWGUIQT_API void | setSide (Aligment align) |
Set the widget align. | |
bool | isShown () const |
Return true if the widget is visible. | |
virtual FWGUIQT_API void | setVisible (bool visible) override |
Show/hide the slide widget. The widget is animated. | |
Protected Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) override |
Filter 'Resize' and 'Move' events to update the widget position. | |
This class allows to display a slide widget. The slide widget can be displayed over all the application widgets.
Definition at line 27 of file SlideBar.hpp.