Seafood/ui_mainwindow.h
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
fix for datebase skew
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
     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
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    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
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    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
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    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
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    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
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    34
    QWidget *layoutWidget;
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    35
    QVBoxLayout *verticalLayout;
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    36
    QLabel *header;
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    37
    QFrame *line;
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    38
    QLabel *amountServing;
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    39
    QTableWidget *tableWidget;
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    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
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    52
        layoutWidget = new QWidget(centralWidget);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    53
        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    54
        layoutWidget->setGeometry(QRect(0, 0, 258, 242));
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    55
        verticalLayout = new QVBoxLayout(layoutWidget);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    56
        verticalLayout->setSpacing(6);
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    57
        verticalLayout->setContentsMargins(11, 11, 11, 11);
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    58
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    59
        verticalLayout->setContentsMargins(0, 0, 0, 0);
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    60
        header = new QLabel(layoutWidget);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    61
        header->setObjectName(QString::fromUtf8("header"));
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    62
        QFont font;
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    63
        font.setPointSize(14);
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    64
        header->setFont(font);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    65
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    66
        verticalLayout->addWidget(header);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    67
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    68
        line = new QFrame(layoutWidget);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    69
        line->setObjectName(QString::fromUtf8("line"));
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    70
        line->setFrameShape(QFrame::HLine);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    71
        line->setFrameShadow(QFrame::Sunken);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    72
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    73
        verticalLayout->addWidget(line);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    74
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    75
        amountServing = new QLabel(layoutWidget);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    76
        amountServing->setObjectName(QString::fromUtf8("amountServing"));
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    77
        amountServing->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    78
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    79
        verticalLayout->addWidget(amountServing);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    80
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    81
        tableWidget = new QTableWidget(layoutWidget);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    82
        tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    83
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    84
        verticalLayout->addWidget(tableWidget);
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    85
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    86
        usda = new QLabel(layoutWidget);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    87
        usda->setObjectName(QString::fromUtf8("usda"));
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    88
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
    89
        verticalLayout->addWidget(usda);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    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
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   111
        header->setText(QApplication::translate("MainWindow", "Nutrition information", 0, QApplication::UnicodeUTF8));
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   112
        amountServing->setText(QApplication::translate("MainWindow", "	Amount per serving", 0, QApplication::UnicodeUTF8));
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   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