7 #ifndef __FWGUIQT_WIDGET_SLIDEBAR_HPP__ 8 #define __FWGUIQT_WIDGET_SLIDEBAR_HPP__ 10 #include "fwGuiQt/config.hpp" 12 #include <QApplication> 27 class FWGUIQT_CLASS_API
SlideBar :
public QGroupBox
42 FWGUIQT_API
SlideBar(QWidget* parent, Aligment align = LEFT,
int buttonWidth = 200,
double opacity = 0.8);
45 FWGUIQT_API
virtual ~SlideBar();
48 FWGUIQT_API
void updatePosition();
51 FWGUIQT_API
void setSide(Aligment align);
60 FWGUIQT_API
virtual void setVisible(
bool visible)
override;
64 bool eventFilter(QObject* obj, QEvent* event)
override;
75 void slide(
bool visible);
80 QRect m_shownPosition;
81 QRect m_hiddenPosition;
92 #endif // __FWGUIQT_WIDGET_SLIDEBAR_HPP__
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...