Seafood/ui_mainwindow.h
author John Kern <johnk@symbian.org>
Thu, 09 Sep 2010 20:03:34 -0700
changeset 47 c6e75ec74fc8
parent 17 cad8819de653
permissions -rwxr-xr-x
add colors via delegate
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
**
17
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents: 16
diff changeset
     4
** Created: Wed Apr 21 13:32:36 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"));
16
e26c25b72a12 fix the table layout looks presentable
John Kern <johnk@symbian.org>
parents: 15
diff changeset
    54
        layoutWidget->setGeometry(QRect(0, 10, 331, 401));
12
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);
15
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    82
        if (tableWidget->columnCount() < 2)
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    83
            tableWidget->setColumnCount(2);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    84
        if (tableWidget->rowCount() < 6)
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    85
            tableWidget->setRowCount(6);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    86
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    87
        tableWidget->setItem(0, 0, __qtablewidgetitem);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    88
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    89
        tableWidget->setItem(1, 0, __qtablewidgetitem1);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    90
        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    91
        tableWidget->setItem(2, 0, __qtablewidgetitem2);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    92
        QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    93
        tableWidget->setItem(3, 0, __qtablewidgetitem3);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    94
        QTableWidgetItem *__qtablewidgetitem4 = new QTableWidgetItem();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    95
        tableWidget->setItem(4, 0, __qtablewidgetitem4);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    96
        QTableWidgetItem *__qtablewidgetitem5 = new QTableWidgetItem();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    97
        tableWidget->setItem(5, 0, __qtablewidgetitem5);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
    98
        tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
15
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
    99
        tableWidget->setAutoScroll(false);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   100
        tableWidget->setEditTriggers(QAbstractItemView::NoEditTriggers);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   101
        tableWidget->setRowCount(6);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   102
        tableWidget->setColumnCount(2);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   103
        tableWidget->horizontalHeader()->setVisible(false);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   104
        tableWidget->verticalHeader()->setVisible(false);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
   105
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
   106
        verticalLayout->addWidget(tableWidget);
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
   107
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   108
        usda = new QLabel(layoutWidget);
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   109
        usda->setObjectName(QString::fromUtf8("usda"));
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
   110
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   111
        verticalLayout->addWidget(usda);
8
10275049db7b add nutrition
John Kern <johnk@symbian.org>
parents: 4
diff changeset
   112
3
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   113
        MainWindow->setCentralWidget(centralWidget);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   114
        menuBar = new QMenuBar(MainWindow);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   115
        menuBar->setObjectName(QString::fromUtf8("menuBar"));
16
e26c25b72a12 fix the table layout looks presentable
John Kern <johnk@symbian.org>
parents: 15
diff changeset
   116
        menuBar->setGeometry(QRect(0, 0, 361, 20));
3
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   117
        MainWindow->setMenuBar(menuBar);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   118
        mainToolBar = new QToolBar(MainWindow);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   119
        mainToolBar->setObjectName(QString::fromUtf8("mainToolBar"));
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   120
        MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   121
        statusBar = new QStatusBar(MainWindow);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   122
        statusBar->setObjectName(QString::fromUtf8("statusBar"));
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   123
        MainWindow->setStatusBar(statusBar);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   124
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   125
        retranslateUi(MainWindow);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   126
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   127
        QMetaObject::connectSlotsByName(MainWindow);
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   128
    } // setupUi
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   129
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   130
    void retranslateUi(QMainWindow *MainWindow)
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   131
    {
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   132
        MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
16
e26c25b72a12 fix the table layout looks presentable
John Kern <johnk@symbian.org>
parents: 15
diff changeset
   133
        header->setText(QApplication::translate("MainWindow", "Nutrition info", 0, QApplication::UnicodeUTF8));
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   134
        amountServing->setText(QApplication::translate("MainWindow", "	Amount per serving", 0, QApplication::UnicodeUTF8));
15
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   135
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   136
        const bool __sortingEnabled = tableWidget->isSortingEnabled();
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   137
        tableWidget->setSortingEnabled(false);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   138
        QTableWidgetItem *___qtablewidgetitem = tableWidget->item(0, 0);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   139
        ___qtablewidgetitem->setText(QApplication::translate("MainWindow", "Calories", 0, QApplication::UnicodeUTF8));
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   140
        QTableWidgetItem *___qtablewidgetitem1 = tableWidget->item(1, 0);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   141
        ___qtablewidgetitem1->setText(QApplication::translate("MainWindow", "Total Fat", 0, QApplication::UnicodeUTF8));
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   142
        QTableWidgetItem *___qtablewidgetitem2 = tableWidget->item(2, 0);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   143
        ___qtablewidgetitem2->setText(QApplication::translate("MainWindow", "Total Protein", 0, QApplication::UnicodeUTF8));
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   144
        QTableWidgetItem *___qtablewidgetitem3 = tableWidget->item(3, 0);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   145
        ___qtablewidgetitem3->setText(QApplication::translate("MainWindow", "Omega-3", 0, QApplication::UnicodeUTF8));
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   146
        QTableWidgetItem *___qtablewidgetitem4 = tableWidget->item(4, 0);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   147
        ___qtablewidgetitem4->setText(QApplication::translate("MainWindow", "Cholesterol", 0, QApplication::UnicodeUTF8));
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   148
        QTableWidgetItem *___qtablewidgetitem5 = tableWidget->item(5, 0);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   149
        ___qtablewidgetitem5->setText(QApplication::translate("MainWindow", "Sodium", 0, QApplication::UnicodeUTF8));
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   150
        tableWidget->setSortingEnabled(__sortingEnabled);
0f80a0f39475 populate the nutrition table
John Kern <johnk@symbian.org>
parents: 12
diff changeset
   151
12
60c644f011c7 fix for datebase skew
John Kern <johnk@symbian.org>
parents: 11
diff changeset
   152
        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
   153
    } // retranslateUi
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   154
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   155
};
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   156
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   157
namespace Ui {
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   158
    class MainWindow: public Ui_MainWindow {};
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   159
} // namespace Ui
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   160
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   161
QT_END_NAMESPACE
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   162
e6d1a78b6db9 wip - start of an example for my forthcoming presentation
John Kern <johnk@symbian.org>
parents:
diff changeset
   163
#endif // UI_MAINWINDOW_H