Changeset 5118 in ntrip


Ignore:
Timestamp:
Apr 13, 2013, 12:46:48 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/main/mainwin.cpp

    r5086 r5118  
    6565////////////////////////////////////////////////////////////////////////////
    6666void t_mainWin::createToolBar() {
    67   _fileToolBar = addToolBar(tr("File"));
    68   _editToolBar = addToolBar(tr("Edit"));
     67  _toolBar = new QToolBar("Tool Bar", this);
     68  _toolBar->addWidget(new QLabel("Tool Bar"));
     69  addToolBar(Qt::BottomToolBarArea, _toolBar);
    6970}
    7071
     
    7273////////////////////////////////////////////////////////////////////////////
    7374void t_mainWin::createStatusBar() {
    74   statusBar()->showMessage(tr("Ready"));
     75  statusBar()->addPermanentWidget(new QLabel("Status Bar"));
    7576}
    7677
  • trunk/GnssCenter/main/mainwin.h

    r5056 r5118  
    4444  QMenu*     _menuHlp;
    4545
    46   QToolBar*  _fileToolBar;
    47   QToolBar*  _editToolBar;
     46  QToolBar*  _toolBar;
    4847};
    4948
Note: See TracChangeset for help on using the changeset viewer.