1 #ifndef FULLSCREENWINDOW_H
2 #define FULLSCREENWINDOW_H
7 #include "adopterwindow.h"
12 class TranslucentButton;
15 /** A full screen window with a restore button. */
16 class FullScreenWindow: public AdopterWindow
21 explicit FullScreenWindow(QWidget *parent);
25 * Same as @AdopterWindow::takeChildren(), but saves prog, previous
26 * and next, before calling base class method.
28 void takeChildren(BookView *bookView, Progress *prog,
29 TranslucentButton *previous, TranslucentButton *next);
32 /** Emitted when the restore button is pressed. */
36 /** Handle size (and orientation) change. */
37 void resizeEvent(QResizeEvent *e);
39 /** Handle show event. */
40 void showEvent(QShowEvent *e);
43 /** Re-align adopted child windows. */
47 TranslucentButton *restoreButton;
50 #endif // FULLSCREENWINDOW_H