# HG changeset patch # User John Kern # Date 1271266846 25200 # Node ID e26c25b72a12b19f9a40de966da34aaf0df18292 # Parent 0f80a0f3947595ee3cd3a462e30a844f981832c6 fix the table layout looks presentable diff -r 0f80a0f39475 -r e26c25b72a12 Seafood/SeafoodTabbed.pro.user --- a/Seafood/SeafoodTabbed.pro.user Thu Apr 08 19:31:52 2010 -0700 +++ b/Seafood/SeafoodTabbed.pro.user Wed Apr 14 10:40:46 2010 -0700 @@ -2,7 +2,7 @@ ProjectExplorer.Project.ActiveTarget - 0 + 1 ProjectExplorer.Project.EditorSettings @@ -41,12 +41,12 @@ 1 - Debug + Simulator Qt for MinGW 4.4 (NDK Alpha 2) Debug Qt4ProjectManager.Qt4BuildConfiguration 2 C:\workspace\QtExamples\Seafood false - 11 + 13 2 false @@ -75,12 +75,12 @@ 1 - Release + Simulator Qt for MinGW 4.4 (NDK Alpha 2) Release Qt4ProjectManager.Qt4BuildConfiguration 0 - + C:\workspace\QtExamples\Seafood false - 11 + 13 2 false @@ -107,7 +107,7 @@ Symbian Device Qt4ProjectManager.Target.S60DeviceTarget - 0 + 1 0 @@ -138,7 +138,7 @@ 2 C:\workspace\QtExamples\Seafood false - 13 + 5 6 false @@ -170,14 +170,82 @@ Release Qt4ProjectManager.Qt4BuildConfiguration 0 - + C:\workspace\QtExamples\Seafood false - 3 + 5 6 false - 2 + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + 2 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + S60_5th_Edition_SDK_v1.0 (Qt 4.6.2) Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + + false + 5 + 6 + false + + + + + qmake + QtProjectManager.QMakeBuildStep + + + + Make + Qt4ProjectManager.MakeStep + false + + + + 2 + + Make + Qt4ProjectManager.MakeStep + true + + clean + + + + 1 + S60_5th_Edition_SDK_v1.0 (Qt 4.6.2) Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + C:\workspace\QtExamples\Seafood + false + 5 + 6 + false + + + 4 SeafoodTabbed on Symbian Device Qt4ProjectManager.S60DeviceRunConfiguration diff -r 0f80a0f39475 -r e26c25b72a12 Seafood/main.cpp --- a/Seafood/main.cpp Thu Apr 08 19:31:52 2010 -0700 +++ b/Seafood/main.cpp Wed Apr 14 10:40:46 2010 -0700 @@ -3,7 +3,7 @@ #include "mainwindow.h" -// By default, Actions is added to the Options menu. The +// Tech Tip: By default, Actions is added to the Options menu. The // idea is to support context menus on non-touch mobiles. void disableContextMenu() { diff -r 0f80a0f39475 -r e26c25b72a12 Seafood/mainwindow.cpp --- a/Seafood/mainwindow.cpp Thu Apr 08 19:31:52 2010 -0700 +++ b/Seafood/mainwindow.cpp Wed Apr 14 10:40:46 2010 -0700 @@ -23,6 +23,7 @@ this->fishDb = new Fishes(this); this->stackedWidget = new QStackedWidget; + this->stackedWidget->setSizePolicy(QSizePolicy::Maximum,QSizePolicy::Maximum); // lists of fish this->tabWidget = new QTabWidget; diff -r 0f80a0f39475 -r e26c25b72a12 Seafood/mainwindow.ui --- a/Seafood/mainwindow.ui Thu Apr 08 19:31:52 2010 -0700 +++ b/Seafood/mainwindow.ui Wed Apr 14 10:40:46 2010 -0700 @@ -19,8 +19,8 @@ 0 10 - 221 - 351 + 331 + 401 @@ -32,7 +32,7 @@ - Nutrition information + Nutrition info @@ -135,7 +135,7 @@ 0 0 361 - 21 + 20 diff -r 0f80a0f39475 -r e26c25b72a12 Seafood/ui_mainwindow.h --- a/Seafood/ui_mainwindow.h Thu Apr 08 19:31:52 2010 -0700 +++ b/Seafood/ui_mainwindow.h Wed Apr 14 10:40:46 2010 -0700 @@ -1,7 +1,7 @@ /******************************************************************************** ** Form generated from reading UI file 'mainwindow.ui' ** -** Created: Thu Apr 8 19:28:20 2010 +** Created: Wed Apr 14 10:17:42 2010 ** by: Qt User Interface Compiler version 4.6.2 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! @@ -51,7 +51,7 @@ centralWidget->setObjectName(QString::fromUtf8("centralWidget")); layoutWidget = new QWidget(centralWidget); layoutWidget->setObjectName(QString::fromUtf8("layoutWidget")); - layoutWidget->setGeometry(QRect(0, 10, 221, 351)); + layoutWidget->setGeometry(QRect(0, 10, 331, 401)); verticalLayout = new QVBoxLayout(layoutWidget); verticalLayout->setSpacing(6); verticalLayout->setContentsMargins(11, 11, 11, 11); @@ -113,7 +113,7 @@ MainWindow->setCentralWidget(centralWidget); menuBar = new QMenuBar(MainWindow); menuBar->setObjectName(QString::fromUtf8("menuBar")); - menuBar->setGeometry(QRect(0, 0, 361, 21)); + menuBar->setGeometry(QRect(0, 0, 361, 20)); MainWindow->setMenuBar(menuBar); mainToolBar = new QToolBar(MainWindow); mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); @@ -130,7 +130,7 @@ void retranslateUi(QMainWindow *MainWindow) { MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); - header->setText(QApplication::translate("MainWindow", "Nutrition information", 0, QApplication::UnicodeUTF8)); + header->setText(QApplication::translate("MainWindow", "Nutrition info", 0, QApplication::UnicodeUTF8)); amountServing->setText(QApplication::translate("MainWindow", " Amount per serving", 0, QApplication::UnicodeUTF8)); const bool __sortingEnabled = tableWidget->isSortingEnabled();