author | John Kern <johnk@symbian.org> |
Thu, 01 Apr 2010 13:36:35 -0700 | |
changeset 12 | 60c644f011c7 |
parent 11 | f3dbeee07821 |
child 15 | 0f80a0f39475 |
permissions | -rwxr-xr-x |
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 |
** |
12 | 4 |
** Created: Thu Apr 1 11:35:19 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> |
12 | 17 |
#include <QtGui/QFrame> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
18 |
#include <QtGui/QHeaderView> |
8 | 19 |
#include <QtGui/QLabel> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
20 |
#include <QtGui/QMainWindow> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
21 |
#include <QtGui/QMenuBar> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
22 |
#include <QtGui/QStatusBar> |
8 | 23 |
#include <QtGui/QTableWidget> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
24 |
#include <QtGui/QToolBar> |
8 | 25 |
#include <QtGui/QVBoxLayout> |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
26 |
#include <QtGui/QWidget> |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
27 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
28 |
QT_BEGIN_NAMESPACE |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
29 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
30 |
class Ui_MainWindow |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
31 |
{ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
32 |
public: |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
33 |
QWidget *centralWidget; |
12 | 34 |
QWidget *layoutWidget; |
8 | 35 |
QVBoxLayout *verticalLayout; |
12 | 36 |
QLabel *header; |
37 |
QFrame *line; |
|
38 |
QLabel *amountServing; |
|
8 | 39 |
QTableWidget *tableWidget; |
12 | 40 |
QLabel *usda; |
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
41 |
QMenuBar *menuBar; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
42 |
QToolBar *mainToolBar; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
43 |
QStatusBar *statusBar; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
44 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
45 |
void setupUi(QMainWindow *MainWindow) |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
46 |
{ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
47 |
if (MainWindow->objectName().isEmpty()) |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
48 |
MainWindow->setObjectName(QString::fromUtf8("MainWindow")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
49 |
MainWindow->resize(361, 640); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
50 |
centralWidget = new QWidget(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
51 |
centralWidget->setObjectName(QString::fromUtf8("centralWidget")); |
12 | 52 |
layoutWidget = new QWidget(centralWidget); |
53 |
layoutWidget->setObjectName(QString::fromUtf8("layoutWidget")); |
|
54 |
layoutWidget->setGeometry(QRect(0, 0, 258, 242)); |
|
55 |
verticalLayout = new QVBoxLayout(layoutWidget); |
|
8 | 56 |
verticalLayout->setSpacing(6); |
57 |
verticalLayout->setContentsMargins(11, 11, 11, 11); |
|
58 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
|
59 |
verticalLayout->setContentsMargins(0, 0, 0, 0); |
|
12 | 60 |
header = new QLabel(layoutWidget); |
61 |
header->setObjectName(QString::fromUtf8("header")); |
|
8 | 62 |
QFont font; |
63 |
font.setPointSize(14); |
|
12 | 64 |
header->setFont(font); |
65 |
||
66 |
verticalLayout->addWidget(header); |
|
67 |
||
68 |
line = new QFrame(layoutWidget); |
|
69 |
line->setObjectName(QString::fromUtf8("line")); |
|
70 |
line->setFrameShape(QFrame::HLine); |
|
71 |
line->setFrameShadow(QFrame::Sunken); |
|
8 | 72 |
|
12 | 73 |
verticalLayout->addWidget(line); |
8 | 74 |
|
12 | 75 |
amountServing = new QLabel(layoutWidget); |
76 |
amountServing->setObjectName(QString::fromUtf8("amountServing")); |
|
77 |
amountServing->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
|
78 |
||
79 |
verticalLayout->addWidget(amountServing); |
|
80 |
||
81 |
tableWidget = new QTableWidget(layoutWidget); |
|
8 | 82 |
tableWidget->setObjectName(QString::fromUtf8("tableWidget")); |
83 |
||
84 |
verticalLayout->addWidget(tableWidget); |
|
85 |
||
12 | 86 |
usda = new QLabel(layoutWidget); |
87 |
usda->setObjectName(QString::fromUtf8("usda")); |
|
8 | 88 |
|
12 | 89 |
verticalLayout->addWidget(usda); |
8 | 90 |
|
3
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
91 |
MainWindow->setCentralWidget(centralWidget); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
92 |
menuBar = new QMenuBar(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
93 |
menuBar->setObjectName(QString::fromUtf8("menuBar")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
94 |
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
|
95 |
MainWindow->setMenuBar(menuBar); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
96 |
mainToolBar = new QToolBar(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
97 |
mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
98 |
MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
99 |
statusBar = new QStatusBar(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
100 |
statusBar->setObjectName(QString::fromUtf8("statusBar")); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
101 |
MainWindow->setStatusBar(statusBar); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
102 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
103 |
retranslateUi(MainWindow); |
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 |
QMetaObject::connectSlotsByName(MainWindow); |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
106 |
} // setupUi |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
107 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
108 |
void retranslateUi(QMainWindow *MainWindow) |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
109 |
{ |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
110 |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); |
12 | 111 |
header->setText(QApplication::translate("MainWindow", "Nutrition information", 0, QApplication::UnicodeUTF8)); |
112 |
amountServing->setText(QApplication::translate("MainWindow", " Amount per serving", 0, QApplication::UnicodeUTF8)); |
|
113 |
usda->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
|
114 |
} // retranslateUi |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
115 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
116 |
}; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
117 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
118 |
namespace Ui { |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
119 |
class MainWindow: public Ui_MainWindow {}; |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
120 |
} // namespace Ui |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
121 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
122 |
QT_END_NAMESPACE |
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
123 |
|
e6d1a78b6db9
wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff
changeset
|
124 |
#endif // UI_MAINWINDOW_H |