2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Henri Lampela - henri.lampela@ixonos.com
6 Kaj Wallin - kaj.wallin@ixonos.com
8 Situare is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 Situare is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with Situare; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
26 #include <QtGui/QMainWindow>
37 * @class MainWindow mainwindow.h "src/ui/mainwindow.h"
39 class MainWindow : public QMainWindow
44 MainWindow(QWidget *parent = 0);
49 * @brief Private method to create the Menu items
55 * @brief Private method to create List and Map views as a stacked widget
63 * @brief Action item for changing view to List View
67 QAction *toListViewAct;
69 * @brief Action item for changing view to Map View
73 QAction *toMapViewAct;
75 * @brief Widget Stack object for the List and Map Views
79 QStackedWidget *situareViews;
82 * @brief DUMMY LABEL, REMOVE WHEN BOTH VIEWS ARE COMPLETE
91 * @brief Private slot, which initiates toListViewAct action
97 * @brief Private slots, which initiates toMapViewAct action
105 * @brief List View class. Used for displaying List of friends
107 * @class SituareListView mainwindow.h "src/ui/mainwindow.h"
109 class SituareListView : public QWidget
112 SituareListView(QWidget *parent = 0);
116 * @brief Map View class. Used to display Map
118 * @class SituareMapView mainwindow.h "src/ui/mainwindow.h"
120 class SituareMapView : public QWidget
123 SituareMapView(QWidget *parent = 0);
126 #endif // MAINWINDOW_H