author | John Kern <johnk@symbian.org> |
Fri, 13 Aug 2010 15:37:06 -0700 | |
changeset 31 | 7140311376c0 |
parent 3 | e6d1a78b6db9 |
permissions | -rwxr-xr-x |
0
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
1 |
/******************************************************************************** |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
2 |
** Form generated from reading ui file 'mainwindow.ui' |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
3 |
** |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
0
diff
changeset
|
4 |
** Created: Mon Nov 16 10:01:16 2009 |
0
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
5 |
** by: Qt User Interface Compiler version 4.5.2 |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
6 |
** |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
7 |
** WARNING! All changes made in this file will be lost when recompiling ui file! |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
8 |
********************************************************************************/ |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
9 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
10 |
#ifndef UI_MAINWINDOW_H |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
11 |
#define UI_MAINWINDOW_H |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
12 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
13 |
#include <QtCore/QVariant> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
14 |
#include <QtGui/QAction> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
15 |
#include <QtGui/QApplication> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
16 |
#include <QtGui/QButtonGroup> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
17 |
#include <QtGui/QHeaderView> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
18 |
#include <QtGui/QMainWindow> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
19 |
#include <QtGui/QMenu> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
20 |
#include <QtGui/QMenuBar> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
21 |
#include <QtGui/QStatusBar> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
22 |
#include <QtGui/QToolBar> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
23 |
#include <QtGui/QWidget> |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
24 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
25 |
QT_BEGIN_NAMESPACE |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
26 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
27 |
class Ui_MainWindow |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
28 |
{ |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
29 |
public: |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
30 |
QAction *actionOpen; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
31 |
QAction *actionClose; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
32 |
QAction *actionQuit; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
33 |
QAction *actionFind; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
34 |
QAction *actionTags; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
35 |
QAction *actionTile; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
36 |
QAction *actionCascade; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
37 |
QAction *actionNext_Window; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
38 |
QAction *actionPrevious_Window; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
39 |
QAction *actionSeparator; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
40 |
QWidget *centralWidget; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
41 |
QMenuBar *menuBar; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
42 |
QMenu *menuFile; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
43 |
QMenu *menuFilter; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
44 |
QMenu *menuWindow; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
45 |
QToolBar *mainToolBar; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
46 |
QStatusBar *statusBar; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
47 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
48 |
void setupUi(QMainWindow *MainWindow) |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
49 |
{ |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
50 |
if (MainWindow->objectName().isEmpty()) |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
51 |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
52 |
MainWindow->resize(600, 400); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
53 |
actionOpen = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
54 |
actionOpen->setObjectName(QString::fromUtf8("actionOpen")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
55 |
actionClose = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
56 |
actionClose->setObjectName(QString::fromUtf8("actionClose")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
57 |
actionQuit = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
58 |
actionQuit->setObjectName(QString::fromUtf8("actionQuit")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
59 |
actionFind = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
60 |
actionFind->setObjectName(QString::fromUtf8("actionFind")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
61 |
actionTags = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
62 |
actionTags->setObjectName(QString::fromUtf8("actionTags")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
63 |
actionTile = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
64 |
actionTile->setObjectName(QString::fromUtf8("actionTile")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
65 |
actionCascade = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
66 |
actionCascade->setObjectName(QString::fromUtf8("actionCascade")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
67 |
actionNext_Window = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
68 |
actionNext_Window->setObjectName(QString::fromUtf8("actionNext_Window")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
69 |
actionPrevious_Window = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
70 |
actionPrevious_Window->setObjectName(QString::fromUtf8("actionPrevious_Window")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
71 |
actionSeparator = new QAction(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
72 |
actionSeparator->setObjectName(QString::fromUtf8("actionSeparator")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
73 |
centralWidget = new QWidget(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
74 |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
75 |
MainWindow->setCentralWidget(centralWidget); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
76 |
menuBar = new QMenuBar(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
77 |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
78 |
menuBar->setGeometry(QRect(0, 0, 600, 21)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
79 |
menuFile = new QMenu(menuBar); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
80 |
menuFile->setObjectName(QString::fromUtf8("menuFile")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
81 |
menuFilter = new QMenu(menuBar); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
82 |
menuFilter->setObjectName(QString::fromUtf8("menuFilter")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
83 |
menuWindow = new QMenu(menuBar); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
84 |
menuWindow->setObjectName(QString::fromUtf8("menuWindow")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
85 |
MainWindow->setMenuBar(menuBar); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
86 |
mainToolBar = new QToolBar(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
87 |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
88 |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
89 |
statusBar = new QStatusBar(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
90 |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
91 |
MainWindow->setStatusBar(statusBar); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
92 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
93 |
menuBar->addAction(menuFile->menuAction()); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
94 |
menuBar->addAction(menuFilter->menuAction()); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
95 |
menuBar->addAction(menuWindow->menuAction()); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
96 |
menuFile->addAction(actionOpen); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
97 |
menuFile->addAction(actionClose); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
98 |
menuFile->addAction(actionQuit); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
99 |
menuFilter->addAction(actionFind); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
100 |
menuFilter->addAction(actionTags); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
101 |
menuWindow->addAction(actionTile); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
102 |
menuWindow->addAction(actionCascade); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
103 |
menuWindow->addSeparator(); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
104 |
menuWindow->addAction(actionNext_Window); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
105 |
menuWindow->addAction(actionPrevious_Window); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
106 |
menuWindow->addAction(actionSeparator); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
107 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
108 |
retranslateUi(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
109 |
QObject::connect(actionQuit, SIGNAL(triggered()), MainWindow, SLOT(close())); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
110 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
111 |
QMetaObject::connectSlotsByName(MainWindow); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
112 |
} // setupUi |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
113 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
114 |
void retranslateUi(QMainWindow *MainWindow) |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
115 |
{ |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
116 |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
117 |
actionOpen->setText(QApplication::translate("MainWindow", "Open", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
118 |
actionOpen->setShortcut(QApplication::translate("MainWindow", "Ctrl+Q", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
119 |
actionClose->setText(QApplication::translate("MainWindow", "Close", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
120 |
actionClose->setShortcut(QApplication::translate("MainWindow", "Ctrl+W", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
121 |
actionQuit->setText(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
122 |
#ifndef QT_NO_TOOLTIP |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
123 |
actionQuit->setToolTip(QApplication::translate("MainWindow", "Quit", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
124 |
#endif // QT_NO_TOOLTIP |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
125 |
actionQuit->setShortcut(QApplication::translate("MainWindow", "Ctrl+Q", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
126 |
actionFind->setText(QApplication::translate("MainWindow", "find", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
127 |
actionTags->setText(QApplication::translate("MainWindow", "tags", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
128 |
actionTile->setText(QApplication::translate("MainWindow", "Tile", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
129 |
actionCascade->setText(QApplication::translate("MainWindow", "Cascade", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
130 |
actionNext_Window->setText(QApplication::translate("MainWindow", "Next Window", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
131 |
actionPrevious_Window->setText(QApplication::translate("MainWindow", "Previous Window", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
132 |
actionSeparator->setText(QApplication::translate("MainWindow", "Separator Action", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
133 |
menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
134 |
menuFilter->setTitle(QApplication::translate("MainWindow", "Filter", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
135 |
menuWindow->setTitle(QApplication::translate("MainWindow", "Window", 0, QApplication::UnicodeUTF8)); |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
136 |
} // retranslateUi |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
137 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
138 |
}; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
139 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
140 |
namespace Ui { |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
141 |
class MainWindow: public Ui_MainWindow {}; |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
142 |
} // namespace Ui |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
143 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
144 |
QT_END_NAMESPACE |
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
145 |
|
bbe0af256f1b
here is a demo which reads and displays xml.
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
146 |
#endif // UI_MAINWINDOW_H |