Seafood/mainwindow.h
changeset 7 7ee47a65f1ad
parent 3 e6d1a78b6db9
child 10 79eeacfd15ff
--- 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;