summaryrefslogtreecommitdiffstats
path: root/examples/widgets/elidedlabel/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/elidedlabel/main.cpp')
-rw-r--r--examples/widgets/elidedlabel/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/widgets/elidedlabel/main.cpp b/examples/widgets/elidedlabel/main.cpp
new file mode 100644
index 0000000000..1346d25e24
--- /dev/null
+++ b/examples/widgets/elidedlabel/main.cpp
@@ -0,0 +1,13 @@
+#include "testwidget.h"
+
+#include <QtGui/QApplication>
+
+//! [0]
+int main( int argc, char *argv[] )
+{
+ QApplication application( argc, argv );
+ TestWidget w;
+ w.showFullScreen();
+ return application.exec();
+}
+//! [0]