summaryrefslogtreecommitdiffstats
path: root/src/designer/src/designer/doc/snippets/uitools/calculatorform/main.cpp
blob: 8e9c32bb08cfa8846b47e3d65cef5e6651c952f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

//! [0]
#include "ui_calculatorform.h"
//! [0]
#include <QApplication>

//! [1]
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QWidget widget;
    Ui::CalculatorForm ui;
    ui.setupUi(&widget);

    widget.show();
    return app.exec();
}
//! [1]