File indexing completed on 2024-12-22 05:05:31

0001 /*
0002    SPDX-FileCopyrightText: 2013-2024 Laurent Montel <montel@kde.org>
0003 
0004    SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "../dialog/selectiontypedialog.h"
0008 
0009 #include <QApplication>
0010 #include <QCommandLineParser>
0011 #include <QStandardPaths>
0012 
0013 int main(int argc, char **argv)
0014 {
0015     QApplication app(argc, argv);
0016     QStandardPaths::setTestModeEnabled(true);
0017     QCommandLineParser parser;
0018     parser.addVersionOption();
0019     parser.addHelpOption();
0020     parser.process(app);
0021 
0022     auto dialog = new SelectionTypeDialog(true);
0023     dialog->resize(800, 600);
0024     dialog->show();
0025     app.exec();
0026     delete dialog;
0027     return 0;
0028 }