--- a/ListElements/ModelViewList/mainwindow.h Wed Sep 08 15:36:31 2010 -0700
+++ b/ListElements/ModelViewList/mainwindow.h Thu Sep 09 11:30:41 2010 -0700
@@ -1,8 +1,16 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+#include <QFrame>
+#include <QListView>
#include <QMainWindow>
+#include <QPushButton>
+#include <QStackedWidget>
+#include <QHBoxLayout>
+#include <QVBoxLayout>
+#include <QWidget>
+#include "PLLayout.h"
#include "zodiacsign.h"
namespace Ui {
@@ -17,8 +25,20 @@
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
+ void resizeEvent(QResizeEvent *e);
+
private:
Ui::MainWindow *ui;
+
+ QHBoxLayout *layoutLandscape;
+ QWidget *centralWidget;
+ QVBoxLayout *layoutPortrait;
+
+ QPushButton *exitButton;
+ QListView *listView;
+ PLLayout *portLandLayout;
+
+
};
#endif // MAINWINDOW_H