tests/manual/windowflags/previewwindow.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    60     void setWindowFlags(Qt::WindowFlags flags);
    60     void setWindowFlags(Qt::WindowFlags flags);
    61 
    61 
    62 private:
    62 private:
    63     QTextEdit *textEdit;
    63     QTextEdit *textEdit;
    64     QPushButton *closeButton;
    64     QPushButton *closeButton;
       
    65     QPushButton *showNormalButton;
       
    66     QPushButton *showMaximizedButton;
       
    67     QPushButton *showFullScreenButton;
    65 };
    68 };
    66 
    69 
    67 class PreviewDialog : public QDialog
    70 class PreviewDialog : public QDialog
    68 {
    71 {
    69     Q_OBJECT
    72     Q_OBJECT
    74     void setWindowFlags(Qt::WindowFlags flags);
    77     void setWindowFlags(Qt::WindowFlags flags);
    75 
    78 
    76 private:
    79 private:
    77     QTextEdit *textEdit;
    80     QTextEdit *textEdit;
    78     QPushButton *closeButton;
    81     QPushButton *closeButton;
       
    82     QPushButton *showNormalButton;
       
    83     QPushButton *showMaximizedButton;
       
    84     QPushButton *showFullScreenButton;
    79 };
    85 };
    80 
    86 
    81 #endif
    87 #endif