Changeset 399 in ntrip


Ignore:
Timestamp:
Feb 14, 2007, 2:10:12 PM (17 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctabledlg.cpp

    r375 r399  
    9090  //  connect(_buttonSkl, SIGNAL(clicked()), this, SLOT(slotSkl()));
    9191
     92  _buttonWhatsThis = new QPushButton(tr("What's this?"), this);
     93  connect(_buttonWhatsThis, SIGNAL(clicked()), this, SLOT(slotWhatsThis()));
     94
    9295  _buttonGet = new QPushButton(tr("Get table"), this);
     96  _buttonGet->setDefault(true);
    9397  connect(_buttonGet, SIGNAL(clicked()), this, SLOT(slotGetTable()));
    9498 
     
    101105  QHBoxLayout* buttonLayout = new QHBoxLayout;
    102106  //  buttonLayout->addWidget(_buttonSkl);
     107  buttonLayout->addWidget(_buttonWhatsThis);
    103108  buttonLayout->addStretch(1);
    104109  buttonLayout->addWidget(_buttonGet);
     
    345350}
    346351
     352// Whats This Help
     353void bncTableDlg::slotWhatsThis() {
     354QWhatsThis::enterWhatsThisMode();
     355}
     356
     357
  • trunk/BNC/bnctabledlg.h

    r299 r399  
    2929#include <QtCore>
    3030#include <QtGui>
     31#include <QWhatsThis>
    3132
    3233#include "bncconst.h"
     
    4950    void slotSkl();
    5051    void slotSelectionChanged();
     52    void slotWhatsThis();
    5153
    5254  private:
     
    6062    QPushButton* _buttonCancel;
    6163    QPushButton* _buttonOK;
     64    QPushButton* _buttonWhatsThis;
    6265
    6366    QTableWidget* _table;
  • trunk/BNC/bncwindow.cpp

    r389 r399  
    9494  _actStop->setEnabled(false);
    9595
     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
    96102  // Create Menus
    97103  // ------------
     
    105111  _menuHlp = menuBar()->addMenu(tr("&Help"));
    106112  _menuHlp->addAction(_actHelp);
     113  _menuHlp->addAction(_actwhatsthismenu);
    107114  _menuHlp->addAction(_actAbout);
    108115
     
    116123  toolBar->addAction(_actGetData);
    117124  toolBar->addAction(_actStop);
     125  toolBar->addWidget(new QLabel("                                   "));
     126  toolBar->addAction(_actwhatsthis);
    118127
    119128  // Canvas with Editable Fields
     
    249258          SLOT(slotSelectionChanged()));
    250259
    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
    252264  _log->setReadOnly(true);
    253265
     
    605617  }
    606618}
     619
     620// Whats This Help
     621void bncWindow::slotWhatsThis() {
     622QWhatsThis::enterWhatsThisMode();
     623}
     624
     625
  • trunk/BNC/bncwindow.h

    r356 r399  
    2828
    2929#include <QtGui>
     30#include <QWhatsThis>
    3031
    3132#include "bncgetthread.h"
     
    5354    void slotGetThreadErrors();
    5455    void slotSelectionChanged();
     56    void slotWhatsThis();
    5557
    5658  protected:
     
    7072    QAction*   _actAddMountPoints;
    7173    QAction*   _actDeleteMountPoints;
     74    QAction*   _actwhatsthis;
     75    QAction*   _actwhatsthismenu;
    7276
    7377    QLineEdit* _proxyHostLineEdit;
Note: See TracChangeset for help on using the changeset viewer.