Changeset 177 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Sep 24, 2006, 2:04:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.