Q_OBJECT
public:
- explicit FullScreenWindow(QWidget *parent);
-
- /** Swith to full screen, and flash the restore button. */
- void showFullScreen();
+ explicit FullScreenWindow(QWidget *parent = 0);
/**
* Adopt children.
/** Handle size (and orientation) change. */
void resizeEvent(QResizeEvent *e);
+ /** Handle show event. */
+ void showEvent(QShowEvent *e);
+
+ /** Handle close event. */
+ void closeEvent(QCloseEvent *e);
+
+protected slots:
+ /** Re-align adopted child windows. */
+ void placeChildren();
+
private:
TranslucentButton *restoreButton;
- Progress *progress;
- TranslucentButton *previousButton;
- TranslucentButton *nextButton;
};
#endif // FULLSCREENWINDOW_H