Changeset 399 in ntrip
- Timestamp:
- Feb 14, 2007, 2:10:12 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctabledlg.cpp
r375 r399 90 90 // connect(_buttonSkl, SIGNAL(clicked()), this, SLOT(slotSkl())); 91 91 92 _buttonWhatsThis = new QPushButton(tr("What's this?"), this); 93 connect(_buttonWhatsThis, SIGNAL(clicked()), this, SLOT(slotWhatsThis())); 94 92 95 _buttonGet = new QPushButton(tr("Get table"), this); 96 _buttonGet->setDefault(true); 93 97 connect(_buttonGet, SIGNAL(clicked()), this, SLOT(slotGetTable())); 94 98 … … 101 105 QHBoxLayout* buttonLayout = new QHBoxLayout; 102 106 // buttonLayout->addWidget(_buttonSkl); 107 buttonLayout->addWidget(_buttonWhatsThis); 103 108 buttonLayout->addStretch(1); 104 109 buttonLayout->addWidget(_buttonGet); … … 345 350 } 346 351 352 // Whats This Help 353 void bncTableDlg::slotWhatsThis() { 354 QWhatsThis::enterWhatsThisMode(); 355 } 356 357 -
trunk/BNC/bnctabledlg.h
r299 r399 29 29 #include <QtCore> 30 30 #include <QtGui> 31 #include <QWhatsThis> 31 32 32 33 #include "bncconst.h" … … 49 50 void slotSkl(); 50 51 void slotSelectionChanged(); 52 void slotWhatsThis(); 51 53 52 54 private: … … 60 62 QPushButton* _buttonCancel; 61 63 QPushButton* _buttonOK; 64 QPushButton* _buttonWhatsThis; 62 65 63 66 QTableWidget* _table; -
trunk/BNC/bncwindow.cpp
r389 r399 94 94 _actStop->setEnabled(false); 95 95 96 _actwhatsthis= new QAction(tr("What's this?"),this); 97 connect(_actwhatsthis, SIGNAL(triggered()), SLOT(slotWhatsThis())); 98 99 _actwhatsthismenu= new QAction(tr("What's this?\tShift+F1"),this); 100 connect(_actwhatsthismenu, SIGNAL(triggered()), SLOT(slotWhatsThis())); 101 96 102 // Create Menus 97 103 // ------------ … … 105 111 _menuHlp = menuBar()->addMenu(tr("&Help")); 106 112 _menuHlp->addAction(_actHelp); 113 _menuHlp->addAction(_actwhatsthismenu); 107 114 _menuHlp->addAction(_actAbout); 108 115 … … 116 123 toolBar->addAction(_actGetData); 117 124 toolBar->addAction(_actStop); 125 toolBar->addWidget(new QLabel(" ")); 126 toolBar->addAction(_actwhatsthis); 118 127 119 128 // Canvas with Editable Fields … … 249 258 SLOT(slotSelectionChanged())); 250 259 251 _log = new QTextEdit(); 260 // Tab changes Focus on Log window Start Perlt 261 // _log = new QTextEdit(); 262 _log = new QTextBrowser(); 263 // Tab changes Focus on Log window Ende Perlt 252 264 _log->setReadOnly(true); 253 265 … … 605 617 } 606 618 } 619 620 // Whats This Help 621 void bncWindow::slotWhatsThis() { 622 QWhatsThis::enterWhatsThisMode(); 623 } 624 625 -
trunk/BNC/bncwindow.h
r356 r399 28 28 29 29 #include <QtGui> 30 #include <QWhatsThis> 30 31 31 32 #include "bncgetthread.h" … … 53 54 void slotGetThreadErrors(); 54 55 void slotSelectionChanged(); 56 void slotWhatsThis(); 55 57 56 58 protected: … … 70 72 QAction* _actAddMountPoints; 71 73 QAction* _actDeleteMountPoints; 74 QAction* _actwhatsthis; 75 QAction* _actwhatsthismenu; 72 76 73 77 QLineEdit* _proxyHostLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.