2022-05-10 10:06:48 +00:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
#include "view.h"
|
2017-07-20 14:39:01 +00:00
|
|
|
#include "../connection.h"
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
Q_INIT_RESOURCE(drilldown);
|
|
|
|
|
|
|
|
QApplication app(argc, argv);
|
|
|
|
|
|
|
|
if (!createConnection())
|
2017-07-20 14:39:01 +00:00
|
|
|
return EXIT_FAILURE;
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-05-22 08:52:56 +00:00
|
|
|
View view("items", "images");
|
2011-04-27 10:05:43 +00:00
|
|
|
view.show();
|
|
|
|
#ifdef QT_KEYPAD_NAVIGATION
|
|
|
|
QApplication::setNavigationMode(Qt::NavigationModeCursorAuto);
|
|
|
|
#endif
|
|
|
|
return app.exec();
|
|
|
|
}
|