aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/modelviews/listview/highlightranges/main.cpp
blob: f77ce158d6b363c7c9de9324b913bec47af63fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <QtGui/QApplication>
#include "qmlapplicationviewer.h"

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

    QmlApplicationViewer viewer;
    viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
    viewer.setMainQmlFile(QLatin1String("qml/qml/highlightranges.qml"));
    viewer.showExpanded();

    return app.exec();
}