--- a/Seafood/mainwindow.h Thu Mar 25 16:21:13 2010 -0700
+++ b/Seafood/mainwindow.h Thu Mar 25 16:49:34 2010 -0700
@@ -3,8 +3,10 @@
#include <QMainWindow>
+class QStackedWidget;
class QTabWidget;
class QListWidget;
+class QWebView;
namespace Ui {
class MainWindow;
@@ -16,22 +18,34 @@
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
+ enum {EListPage = 0,
+ EEcoPage,
+ ENutritionPage};
+
void createMenus();
public slots:
void displayVersion();
void displayPath();
+ void displayEcoDetails();
+ void displayList();
+ void displayNutrition();
protected:
void changeEvent(QEvent *e);
private:
Ui::MainWindow *ui;
+ QStackedWidget *stackedWidget;
QTabWidget *tabWidget;
QListWidget *bestList;
QListWidget *okList;
QListWidget *worstList;
+ QWebView *ecoDetails;
+
+ QAction *ecoAction;
+ QAction *fishesAction;
QAction *nuAction;
QAction *verAction;
QAction *exitAction;