Changeset 161 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Sep 12, 2006, 8:52:20 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r152 r161 418 418 void bncWindow::slotAbout() { 419 419 420 QString str("BKG NTRIP Client\n" 421 "Author: L. Mervart\n" 422 "Version 1.0"); 423 424 QMessageBox mb("BNC", str, 425 QMessageBox::Information, 426 QMessageBox::Ok | QMessageBox::Default, 427 QMessageBox::NoButton, 428 QMessageBox::NoButton); 429 430 mb.setIconPixmap(QPixmap(":ntrip-logo-blau.bmp")); 431 432 mb.exec(); 420 QString str( 421 #include "bncabout.html" 422 ); 423 424 QTextBrowser* tb = new QTextBrowser; 425 tb->setHtml(str); 426 tb->setReadOnly(true); 427 tb->show(); 428 429 QDialog dlg(this); 430 431 QVBoxLayout* dlgLayout = new QVBoxLayout(); 432 dlgLayout->addWidget(tb); 433 434 dlg.setLayout(dlgLayout); 435 int ww = QFontMetrics(font()).width('w'); 436 dlg.resize(60*ww, 60*ww); 437 dlg.exec(); 433 438 } 434 439
Note:
See TracChangeset
for help on using the changeset viewer.