{
Q_OBJECT
public:
- explicit FullScreenWindow(QWidget *child, QWidget *parent);
+ explicit FullScreenWindow(QWidget *parent);
void showFullScreen();
+ void takeChild(QWidget *child);
+ void leaveChild();
signals:
void restore();
virtual void resizeEvent(QResizeEvent *event);
QRect fullScreenZone() const;
TranslucentButton *restoreButton;
+ QWidget *child;
};
#endif // FULLSCREENWINDOW_H