#include <OpenFlipper/widgets/glWidget/QtSlideWindow.hh>

Public Member Functions | |
| QtSlideWindow (QString _name=0, QGraphicsItem *_parent=0) | |
| void | updateGeometry () |
| recalculate geometry | |
| void | attachWidget (QWidget *_m) |
| attach a child widget | |
| void | detachWidget () |
| detach child widget | |
| void | saveState (QSettings &_settings) |
| saves the current state | |
| void | restoreState (QSettings &_settings) |
| restores the state | |
Private Slots | |
| void | detachPressed () |
| detach button pressed | |
| void | dialogClosed () |
| detached dialog closed | |
| void | autohidePressed () |
| autohide button presed | |
| void | timelineFinished () |
| Executed if the timeline reches the end of its animation. | |
Private Member Functions | |
| virtual void | paintWindowFrame (QPainter *_painter, const QStyleOptionGraphicsItem *_option, QWidget *_widget=0) |
| paints decoration | |
| virtual bool | windowFrameEvent (QEvent *_e) |
| track frame events | |
| virtual Qt::WindowFrameSection | windowFrameSectionAt (const QPointF &_pos) const |
| categorize frame area | |
| virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *_event) |
| hove event tracking | |
| virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *_event) |
| virtual void | resizeEvent (QGraphicsSceneResizeEvent *_event) |
| size & position event tracking | |
| virtual void | moveEvent (QGraphicsSceneMoveEvent *_event) |
Private Attributes | |
| QString | name_ |
| QWidget * | mainWidget_ |
| QtGraphicsButton * | autohideButton_ |
| QtGraphicsButton * | detachButton_ |
| QTimeLine * | hideTimeLine_ |
| QGraphicsItemAnimation * | hideAnimation_ |
| QDialog * | dialog_ |
| QWidget * | tempWidget_ |
A graphics scene widget that has a hover slide effect and detach functionality for a child widget
Definition at line 74 of file QtSlideWindow.hh.
| QtSlideWindow::QtSlideWindow | ( | QString | _name = 0, |
|
| QGraphicsItem * | _parent = 0 | |||
| ) |
Create a glViewer.
| _name | displayed titlebar name | |
| _parent | parent graphics item |
Definition at line 80 of file QtSlideWindow.cc.
References autohidePressed(), detachPressed(), QtGraphicsButton::setCheckable(), QtGraphicsButton::setChecked(), and timelineFinished().