Initial commit
[iamhere] / src / main.cpp
1 /*
2  * I Am Here(iamhere) - an application to find user's location
3  * address.
4  * Copyright (C) 2010 Vytarani Mathane <vytarani.mathane@gmail.com>.
5  *
6  * This file is part of I Am Here.
7  *
8  * I Am Here is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * I Am Here is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with I Am Here.  If not, see <http://www.gnu.org/licenses/>.
20  */
21 #include <QApplication>
22 #include <QGraphicsPixmapItem>
23 #include <QGraphicsScene>
24 #include <QGraphicsView>
25 #include <QTimer>
26
27 #include "window.h"
28 int main(int argc, char *argv[])
29 {
30         QApplication app(argc, argv);
31         Window *window;
32         window = new Window(0);
33         window->setWindowFlags(Qt::X11BypassWindowManagerHint);
34         window->move(150, 60);
35         window->resize(400, 400);
36
37 //window->resize(550,380);
38         window->show();
39         window->activateWindow();
40         return app.exec();
41 }