webpage for google maps
authorHeiko Schlittermann (JUMPER) <hs@schlittermann.de>
Fri, 27 Jan 2012 17:16:26 +0100
changeset 22 fa3d7ce5d0a7
parent 21 f63eb1a58abd
child 23 8396f7857013
webpage for google maps
igc.pro
mainwindow.cc
pch.h
ui/mainwindow.ui
--- a/igc.pro	Fri Jan 27 16:42:12 2012 +0100
+++ b/igc.pro	Fri Jan 27 17:16:26 2012 +0100
@@ -3,6 +3,7 @@
 ######################################################################
 
 CONFIG += release precompile_header
+QT += webkit network
 
 TEMPLATE = app
 TARGET = 
--- a/mainwindow.cc	Fri Jan 27 16:42:12 2012 +0100
+++ b/mainwindow.cc	Fri Jan 27 17:16:26 2012 +0100
@@ -12,6 +12,11 @@
     connect(ui->actionExit, SIGNAL(triggered()), qApp, SLOT(quit()));
     connect(ui->actionOpen, SIGNAL(triggered()), this, SLOT(open()));
 
+    /*
+    QNetworkProxy::setApplicationProxy(QNetworkProxy(QNetworkProxy::HttpProxy, "localhost", 3128));
+    ui->view->load(QUrl("http://maps.google.com/"));
+    */
+
 
 }
 
--- a/pch.h	Fri Jan 27 16:42:12 2012 +0100
+++ b/pch.h	Fri Jan 27 17:16:26 2012 +0100
@@ -1,1 +1,2 @@
 #include <QtGui>
+#include <QtNetwork>
--- a/ui/mainwindow.ui	Fri Jan 27 16:42:12 2012 +0100
+++ b/ui/mainwindow.ui	Fri Jan 27 17:16:26 2012 +0100
@@ -24,7 +24,7 @@
        <enum>QTabWidget::Rounded</enum>
       </property>
       <property name="currentIndex">
-       <number>1</number>
+       <number>0</number>
       </property>
       <widget class="QWidget" name="info">
        <attribute name="title">