Changeset 177 in ntrip
- Timestamp:
- Sep 24, 2006, 2:04:48 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r169 r177 12 12 13 13 HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \ 14 bnccaster.h bncrinex.h bncapp.h bncutils.h 14 bnccaster.h bncrinex.h bncapp.h bncutils.h bnchlpdlg.h \ 15 15 bncconst.h bnchtml.h \ 16 16 RTCM/format.h RTCM/GPSDecoder.h RTCM/m_data.h RTCM/RTCM.h \ … … 22 22 SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \ 23 23 bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \ 24 bncconst.cpp bnchtml.cpp 24 bncconst.cpp bnchtml.cpp bnchlpdlg.cpp \ 25 25 RTCM/m_date.cpp RTCM/RTCM.cpp \ 26 26 RTCM3/rtcm3.cpp RTCM3/rtcm3torinex.cpp \ -
trunk/BNC/bnchtml.cpp
r171 r177 15 15 * 16 16 * -----------------------------------------------------------------------*/ 17 18 #include <iostream>19 17 20 18 #include "bnchtml.h" -
trunk/BNC/bncwindow.cpp
r173 r177 20 20 #include "bncgetthread.h" 21 21 #include "bnctabledlg.h" 22 #include "bnchlpdlg.h" 22 23 #include "bnchtml.h" 23 24 … … 442 443 //////////////////////////////////////////////////////////////////////////// 443 444 void bncWindow::slotHelp() { 444 445 bncHtml* tb = new bncHtml; 446 QUrl url; url.setPath(":bnchelp.html"); 447 tb->setSource(url); 448 tb->setReadOnly(true); 449 450 QDialog* dlg = new QDialog(this); 451 452 QVBoxLayout* dlgLayout = new QVBoxLayout(); 453 dlgLayout->addWidget(tb); 454 455 dlg->setLayout(dlgLayout); 456 int ww = QFontMetrics(font()).width('w'); 457 dlg->resize(60*ww, 60*ww); 458 dlg->show(); 445 QUrl url; 446 url.setPath(":bnchelp.html"); 447 new bncHlpDlg(this, url); 459 448 } 460 449
Note:
See TracChangeset
for help on using the changeset viewer.