TEMPLATE = app
SOURCES += src/main.cpp \
src/ui/mainwindow.cpp \
- src/ui/listviewtab.cpp \
- src/ui/mapviewtab.cpp
+ src/ui/listviewscreen.cpp \
+ src/ui/mapviewscreen.cpp
HEADERS += src/ui/mainwindow.h \
- src/ui/listviewtab.h \
- src/ui/mapviewtab.h
+ src/ui/listviewscreen.h \
+ src/ui/mapviewscreen.h
--- /dev/null
+/*
+ Situare - A location system for Facebook
+ Copyright (C) 2010 Ixonos Plc. Authors:
+
+ Kaj Wallin - kaj.wallin@ixonos.com
+
+ Situare is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ version 2 as published by the Free Software Foundation.
+
+ Situare is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Situare; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+*/
+
+#include "listviewscreen.h"
+
+ListViewScreen::ListViewScreen(QWidget *parent)
+ : QWidget(parent)
+{
+ QPushButton *listViewButton = new QPushButton(tr("This is listview"));
+ QHBoxLayout *listViewLayout = new QHBoxLayout;
+ listViewLayout->addWidget(listViewButton);
+ setLayout(listViewLayout);
+}
--- /dev/null
+ /*
+ Situare - A location system for Facebook
+ Copyright (C) 2010 Ixonos Plc. Authors:
+
+ Kaj Wallin - kaj.wallin@ixonos.com
+
+ Situare is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ version 2 as published by the Free Software Foundation.
+
+ Situare is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Situare; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+ */
+
+
+#ifndef LISTVIEWTAB_H
+#define LISTVIEWTAB_H
+
+#include <QtGui>
+
+/**
+* @brief List View class. Used for displaying List of friends
+*
+* @class ListViewScreen mainwindow.h "src/ui/mainwindow.h"
+*/
+class ListViewScreen : public QWidget
+{
+public:
+ ListViewScreen(QWidget *parent = 0);
+};
+
+#endif // LISTVIEWTAB_H
+++ /dev/null
-/*
- Situare - A location system for Facebook
- Copyright (C) 2010 Ixonos Plc. Authors:
-
- Kaj Wallin - kaj.wallin@ixonos.com
-
- Situare is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- version 2 as published by the Free Software Foundation.
-
- Situare is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Situare; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- USA.
-*/
-
-#include "listviewtab.h"
-
-SituareListView::SituareListView(QWidget *parent)
- : QWidget(parent)
-{
- QPushButton *listViewButton = new QPushButton(tr("This is listview"));
- QHBoxLayout *listViewLayout = new QHBoxLayout;
- listViewLayout->addWidget(listViewButton);
- setLayout(listViewLayout);
-}
+++ /dev/null
- /*
- Situare - A location system for Facebook
- Copyright (C) 2010 Ixonos Plc. Authors:
-
- Kaj Wallin - kaj.wallin@ixonos.com
-
- Situare is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- version 2 as published by the Free Software Foundation.
-
- Situare is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Situare; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- USA.
- */
-
-
-#ifndef LISTVIEWTAB_H
-#define LISTVIEWTAB_H
-
-#include <QtGui>
-
-/**
-* @brief List View class. Used for displaying List of friends
-*
-* @class SituareListView mainwindow.h "src/ui/mainwindow.h"
-*/
-class SituareListView : public QWidget
-{
-public:
- SituareListView(QWidget *parent = 0);
-};
-
-#endif // LISTVIEWTAB_H
#include <QtGui>
#include "mainwindow.h"
-#include "listviewtab.h"
-#include "mapviewtab.h"
+#include "listviewscreen.h"
+#include "mapviewscreen.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
qDebug() << __PRETTY_FUNCTION__;
situareViews = new QStackedWidget(this);
- situareViews->addWidget(new SituareListView(this));
- situareViews->addWidget(new SituareMapView(this));
+ situareViews->addWidget(new ListViewScreen(this));
+ situareViews->addWidget(new MapViewScreen(this));
}
void MainWindow::toListView()
--- /dev/null
+/*
+ Situare - A location system for Facebook
+ Copyright (C) 2010 Ixonos Plc. Authors:
+
+ Kaj Wallin - kaj.wallin@ixonos.com
+
+ Situare is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ version 2 as published by the Free Software Foundation.
+
+ Situare is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Situare; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+*/
+
+#include "mapviewscreen.h"
+
+MapViewScreen::MapViewScreen(QWidget *parent)
+ : QWidget(parent)
+{
+ QPushButton *mapViewButton = new QPushButton(tr("This is MAPVIEW"));
+ QHBoxLayout *mapViewLayout = new QHBoxLayout;
+ mapViewLayout->addWidget(mapViewButton);
+ setLayout(mapViewLayout);
+}
--- /dev/null
+ /*
+ Situare - A location system for Facebook
+ Copyright (C) 2010 Ixonos Plc. Authors:
+
+ Kaj Wallin - kaj.wallin@ixonos.com
+
+ Situare is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ version 2 as published by the Free Software Foundation.
+
+ Situare is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Situare; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+ */
+
+
+#ifndef MAPVIEWTAB_H
+#define MAPVIEWTAB_H
+
+#include <QtGui>
+
+/**
+* @brief Map View class. Used to display Map
+*
+* @class MapViewScreen mainwindow.h "src/ui/mainwindow.h"
+*/
+class MapViewScreen : public QWidget
+{
+public:
+ MapViewScreen(QWidget *parent = 0);
+};
+
+#endif // MAPVIEWTAB_H
+++ /dev/null
-/*
- Situare - A location system for Facebook
- Copyright (C) 2010 Ixonos Plc. Authors:
-
- Kaj Wallin - kaj.wallin@ixonos.com
-
- Situare is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- version 2 as published by the Free Software Foundation.
-
- Situare is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Situare; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- USA.
-*/
-
-#include "mapviewtab.h"
-
-SituareMapView::SituareMapView(QWidget *parent)
- : QWidget(parent)
-{
- QPushButton *mapViewButton = new QPushButton(tr("This is MAPVIEW"));
- QHBoxLayout *mapViewLayout = new QHBoxLayout;
- mapViewLayout->addWidget(mapViewButton);
- setLayout(mapViewLayout);
-}
+++ /dev/null
- /*
- Situare - A location system for Facebook
- Copyright (C) 2010 Ixonos Plc. Authors:
-
- Kaj Wallin - kaj.wallin@ixonos.com
-
- Situare is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- version 2 as published by the Free Software Foundation.
-
- Situare is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with Situare; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
- USA.
- */
-
-
-#ifndef MAPVIEWTAB_H
-#define MAPVIEWTAB_H
-
-#include <QtGui>
-
-/**
-* @brief Map View class. Used to display Map
-*
-* @class SituareMapView mainwindow.h "src/ui/mainwindow.h"
-*/
-class SituareMapView : public QWidget
-{
-public:
- SituareMapView(QWidget *parent = 0);
-};
-
-#endif // MAPVIEWTAB_H
#include <QtCore>
#include <QtGui>
-#include "../../../src/ui/mapviewtab.h"
-#include "../../../src/ui/listviewtab.h"
+#include "../../../src/ui/mapviewscreen.h"
+#include "../../../src/ui/listviewscreen.h"
#include "../../../src/ui/mainwindow.h"
class testTabs : public QObject
INCLUDEPATH += .
# Input
-HEADERS += ../../../src/ui/mapviewtab.h \
- ../../../src/ui/listviewtab.h \
+HEADERS += ../../../src/ui/mapviewscreen.h \
+ ../../../src/ui/listviewscreen.h \
../../../src/ui/mainwindow.h \
testtabs.moc
SOURCES += testtabs.cpp \
- ../../../src/ui/mapviewtab.cpp \
- ../../../src/ui/listviewtab.cpp \
+ ../../../src/ui/mapviewscreen.cpp \
+ ../../../src/ui/listviewscreen.cpp \
../../../src/ui/mainwindow.cpp