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);
23 /** Swith to full screen, and flash the restore button. */
24 void showFullScreen();
28 * Same as @AdopterWindow::takeChildren(), but saves prog, previous
29 * and next, before calling base class method.
31 void takeChildren(BookView *bookView, Progress *prog,
32 TranslucentButton *previous, TranslucentButton *next);
35 /** Emitted when the restore button is pressed. */
39 /** Handle size (and orientation) change. */
40 void resizeEvent(QResizeEvent *e);
43 /** Re-align adopted child windows. */
47 TranslucentButton *restoreButton;
50 #endif // FULLSCREENWINDOW_H