summaryrefslogtreecommitdiffstats
path: root/tests/manual/repaint/splitter/main.cpp
blob: e26698c413f9d464ef7c9f6528f751e11b2c9b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "../shared/shared.h"

#include <QApplication>
#include <QMainWindow>
#include <QSplitter>

int main(int argc, char **argv)
{
    QApplication app(argc, argv);

    QSplitter splitter;

    splitter.addWidget(new StaticWidget());
    splitter.addWidget(new StaticWidget());

    splitter.resize(600, 400);
    splitter.show();

    return app.exec();
}