summaryrefslogtreecommitdiffstats
path: root/examples/linguist/trollprint/printpanel.h
blob: 9a075dca6547a4f2617cd5d1bf88e0f1b345631a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef PRINTPANEL_H
#define PRINTPANEL_H

#include <QWidget>

QT_BEGIN_NAMESPACE
class QGroupBox;
class QRadioButton;
QT_END_NAMESPACE

//! [0]
class PrintPanel : public QWidget
{
    Q_OBJECT
//! [0]

public:
    PrintPanel(QWidget *parent = 0);

private:
    QGroupBox *twoSidedGroupBox;
    QGroupBox *colorsGroupBox;
    QRadioButton *twoSidedEnabledRadio;
    QRadioButton *twoSidedDisabledRadio;
    QRadioButton *colorsEnabledRadio;
    QRadioButton *colorsDisabledRadio;
};

#endif