author | User@User-PC.domain_not_set.invalid |
Fri, 26 Mar 2010 15:22:34 -0700 | |
changeset 10 | 79eeacfd15ff |
parent 8 | 10275049db7b |
child 11 | f3dbeee07821 |
permissions | -rw-r--r-- |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
1 |
/******************************************************************************** |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
2 |
** Form generated from reading UI file 'mainwindow.ui' |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
3 |
** |
8 | 4 |
** Created: Thu Mar 25 13:34:10 2010 |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
5 |
** by: Qt User Interface Compiler version 4.6.2 |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
6 |
** |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
7 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
8 |
********************************************************************************/ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
9 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
10 |
#ifndef UI_MAINWINDOW_H |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
11 |
#define UI_MAINWINDOW_H |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
12 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
13 |
#include <QtCore/QVariant> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
14 |
#include <QtGui/QAction> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
15 |
#include <QtGui/QApplication> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
16 |
#include <QtGui/QButtonGroup> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
17 |
#include <QtGui/QHeaderView> |
8 | 18 |
#include <QtGui/QLabel> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
19 |
#include <QtGui/QMainWindow> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
20 |
#include <QtGui/QMenuBar> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
21 |
#include <QtGui/QStatusBar> |
8 | 22 |
#include <QtGui/QTableWidget> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
23 |
#include <QtGui/QToolBar> |
8 | 24 |
#include <QtGui/QVBoxLayout> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
25 |
#include <QtGui/QWidget> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
26 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
27 |
QT_BEGIN_NAMESPACE |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
28 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
29 |
class Ui_MainWindow |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
30 |
{ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
31 |
public: |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
32 |
QWidget *centralWidget; |
8 | 33 |
QWidget *widget; |
34 |
QVBoxLayout *verticalLayout; |
|
35 |
QLabel *label; |
|
36 |
QTableWidget *tableWidget; |
|
37 |
QLabel *label_2; |
|
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
38 |
QMenuBar *menuBar; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
39 |
QToolBar *mainToolBar; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
40 |
QStatusBar *statusBar; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
41 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
42 |
void setupUi(QMainWindow *MainWindow) |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
43 |
{ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
44 |
if (MainWindow->objectName().isEmpty()) |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
45 |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
46 |
MainWindow->resize(361, 640); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
47 |
centralWidget = new QWidget(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
48 |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
8 | 49 |
widget = new QWidget(centralWidget); |
50 |
widget->setObjectName(QString::fromUtf8("widget")); |
|
51 |
widget->setGeometry(QRect(60, 80, 258, 242)); |
|
52 |
verticalLayout = new QVBoxLayout(widget); |
|
53 |
verticalLayout->setSpacing(6); |
|
54 |
verticalLayout->setContentsMargins(11, 11, 11, 11); |
|
55 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
|
56 |
verticalLayout->setContentsMargins(0, 0, 0, 0); |
|
57 |
label = new QLabel(widget); |
|
58 |
label->setObjectName(QString::fromUtf8("label")); |
|
59 |
QFont font; |
|
60 |
font.setPointSize(14); |
|
61 |
label->setFont(font); |
|
62 |
||
63 |
verticalLayout->addWidget(label); |
|
64 |
||
65 |
tableWidget = new QTableWidget(widget); |
|
66 |
tableWidget->setObjectName(QString::fromUtf8("tableWidget")); |
|
67 |
||
68 |
verticalLayout->addWidget(tableWidget); |
|
69 |
||
70 |
label_2 = new QLabel(widget); |
|
71 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
|
72 |
||
73 |
verticalLayout->addWidget(label_2); |
|
74 |
||
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
75 |
MainWindow->setCentralWidget(centralWidget); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
76 |
menuBar = new QMenuBar(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
77 |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
78 |
menuBar->setGeometry(QRect(0, 0, 361, 20)); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
79 |
MainWindow->setMenuBar(menuBar); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
80 |
mainToolBar = new QToolBar(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
81 |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
82 |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
83 |
statusBar = new QStatusBar(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
84 |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
85 |
MainWindow->setStatusBar(statusBar); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
86 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
87 |
retranslateUi(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
88 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
89 |
QMetaObject::connectSlotsByName(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
90 |
} // setupUi |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
91 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
92 |
void retranslateUi(QMainWindow *MainWindow) |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
93 |
{ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
94 |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
8 | 95 |
label->setText(QApplication::translate("MainWindow", "Nutrition information", 0, QApplication::UnicodeUTF8)); |
96 |
label_2->setText(QApplication::translate("MainWindow", "Source: USDA", 0, QApplication::UnicodeUTF8)); |
|
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
97 |
} // retranslateUi |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
98 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
99 |
}; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
100 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
101 |
namespace Ui { |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
102 |
class MainWindow: public Ui_MainWindow {}; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
103 |
} // namespace Ui |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
104 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
105 |
QT_END_NAMESPACE |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
106 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
107 |
#endif // UI_MAINWINDOW_H |