summaryrefslogtreecommitdiffstats
path: root/examples/animation/piemenu/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/piemenu/main.cpp')
-rw-r--r--examples/animation/piemenu/main.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/animation/piemenu/main.cpp b/examples/animation/piemenu/main.cpp
new file mode 100644
index 0000000..28f62d0
--- /dev/null
+++ b/examples/animation/piemenu/main.cpp
@@ -0,0 +1,26 @@
+/****************************************************************************
+**
+** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
+** Contact: Qt Software Information (qt-info@nokia.com)
+**
+** This file is part of the $MODULE$ of the Qt Toolkit.
+**
+** $TROLLTECH_DUAL_LICENSE$
+**
+****************************************************************************/
+
+#include <QtGui>
+#include "scene.h"
+#include "qgraphicspiemenu.h"
+
+int main(int argc, char *argv[])
+{
+ QApplication app(argc, argv);
+
+ Scene scene;
+
+ QGraphicsView view(&scene);
+ view.show();
+
+ return app.exec();
+}