Changeset 5167 in ntrip for trunk/BNC/src/map/bncmapwin.cpp
- Timestamp:
- Jun 8, 2013, 10:36:54 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5166 r5167 50 50 51 51 _webView = new QWebView(this); 52 connect(_webView, SIGNAL(loadFinished(bool)), this, SLOT(slotInitMap(bool))); 53 52 54 /// _webView->load(QUrl("http://igs.bkg.bund.de/ntrip/ppp#Scene6")); 53 55 loadHtmlPage(); … … 83 85 } 84 86 87 // 88 //////////////////////////////////////////////////////////////////////////// 89 void bncMapWin::slotInitMap(bool isOk) { 90 qDebug() << "slotInitMap"; 91 if (!isOk) { 92 return; 93 } 94 QString location("-34.397, 150.644"); 95 _webView->page()->mainFrame()->evaluateJavaScript(QString("initialize( %1 )").arg(location)); 96 }
Note:
See TracChangeset
for help on using the changeset viewer.