Changeset 5089 in ntrip


Ignore:
Timestamp:
Apr 12, 2013, 12:21:52 PM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/inpedit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/inpedit/inpedit.cpp

    r5088 r5089  
    2828////////////////////////////////////////////////////////////////////////////
    2929t_inpEdit::t_inpEdit() : QMainWindow() {
     30
    3031  _tabWidget = new t_tabWidget();
    3132  setCentralWidget(_tabWidget);
    32   _tabWidget->setVisible(true);
     33 
     34  QMenu*   menuFile = menuBar()->addMenu(tr("&File"));
     35  QAction* actOpenFile = new QAction(tr("&Open"), this);
     36  connect(actOpenFile, SIGNAL(triggered()), this, SLOT(slotOpenFile()));
     37  menuFile->addAction(actOpenFile);
    3338}
    3439
     
    3742t_inpEdit::~t_inpEdit() {
    3843}
     44
     45//
     46////////////////////////////////////////////////////////////////////////////
     47void t_inpEdit::slotOpenFile() {
     48  qDebug() << "slotOpenFile";
     49}
  • trunk/GnssCenter/inpedit/inpedit.h

    r5088 r5089  
    1212
    1313class t_inpEdit : public QMainWindow {
     14 Q_OBJECT
    1415 public:
    1516  t_inpEdit();
    1617  ~t_inpEdit();
     18 private slots:
     19  void slotOpenFile();
    1720 private:
    1821  t_tabWidget* _tabWidget;
Note: See TracChangeset for help on using the changeset viewer.