Revision control

++ // Copyright (C) 2016 The Qt Company Ltd.
++ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
++
++ #ifndef WINDOW_H
++ #define WINDOW_H
++
++ #include <QWidget>
++
++ QT_BEGIN_NAMESPACE
++ class QComboBox;
++ class QLabel;
++ class QSpinBox;
++ QT_END_NAMESPACE
++ class RenderArea;
++
++ //! [0]
++ class Window : public QWidget
++ {
++ Q_OBJECT
++
++ public:
++ Window();
++
++ private slots:
++ void fillRuleChanged();
++ void fillGradientChanged();
++ void penColorChanged();
++ //! [0]
++
++ //! [1]
++ private:
++ void populateWithColors(QComboBox *comboBox);
++ QVariant currentItemData(QComboBox *comboBox);
++ //! [1]
++
++ //! [2]
++ QList<RenderArea*> renderAreas;
++ QLabel *fillRuleLabel;
++ QLabel *fillGradientLabel;
++ QLabel *fillToLabel;
++ QLabel *penWidthLabel;
++ QLabel *penColorLabel;
++ QLabel *rotationAngleLabel;
++ QComboBox *fillRuleComboBox;
++ QComboBox *fillColor1ComboBox;
++ QComboBox *fillColor2ComboBox;
++ QSpinBox *penWidthSpinBox;
++ QComboBox *penColorComboBox;
++ QSpinBox *rotationAngleSpinBox;
++ };
++ //! [2]
++
++ #endif // WINDOW_H