mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-03-15 03:29:59 +08:00
69 lines
1.7 KiB
C++
69 lines
1.7 KiB
C++
// Copyright (C) 2016 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
|
|
#ifndef CONTROLLERWINDOW_H
|
|
#define CONTROLLERWINDOW_H
|
|
|
|
#include <QWidget>
|
|
|
|
#include "previewwindow.h"
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
class QCheckBox;
|
|
class QGroupBox;
|
|
class QLabel;
|
|
class QPushButton;
|
|
class QRadioButton;
|
|
QT_END_NAMESPACE
|
|
|
|
//! [0]
|
|
class ControllerWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ControllerWindow(QWidget *parent = nullptr);
|
|
|
|
private slots:
|
|
void updatePreview();
|
|
|
|
private:
|
|
void createTypeGroupBox();
|
|
void createHintsGroupBox();
|
|
QCheckBox *createCheckBox(const QString &text);
|
|
QRadioButton *createRadioButton(const QString &text);
|
|
|
|
PreviewWindow *previewWindow;
|
|
|
|
QGroupBox *typeGroupBox;
|
|
QGroupBox *hintsGroupBox;
|
|
QPushButton *quitButton;
|
|
|
|
QRadioButton *windowRadioButton;
|
|
QRadioButton *dialogRadioButton;
|
|
QRadioButton *sheetRadioButton;
|
|
QRadioButton *drawerRadioButton;
|
|
QRadioButton *popupRadioButton;
|
|
QRadioButton *toolRadioButton;
|
|
QRadioButton *toolTipRadioButton;
|
|
QRadioButton *splashScreenRadioButton;
|
|
|
|
QCheckBox *msWindowsFixedSizeDialogCheckBox;
|
|
QCheckBox *x11BypassWindowManagerCheckBox;
|
|
QCheckBox *framelessWindowCheckBox;
|
|
QCheckBox *windowNoShadowCheckBox;
|
|
QCheckBox *windowTitleCheckBox;
|
|
QCheckBox *windowSystemMenuCheckBox;
|
|
QCheckBox *windowMinimizeButtonCheckBox;
|
|
QCheckBox *windowMaximizeButtonCheckBox;
|
|
QCheckBox *windowCloseButtonCheckBox;
|
|
QCheckBox *windowContextHelpButtonCheckBox;
|
|
QCheckBox *windowShadeButtonCheckBox;
|
|
QCheckBox *windowStaysOnTopCheckBox;
|
|
QCheckBox *windowStaysOnBottomCheckBox;
|
|
QCheckBox *customizeWindowHintCheckBox;
|
|
};
|
|
//! [0]
|
|
|
|
#endif
|