Changeset 5089 in ntrip
- Timestamp:
- Apr 12, 2013, 12:21:52 PM (12 years ago)
- Location:
- trunk/GnssCenter/inpedit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/inpedit/inpedit.cpp
r5088 r5089 28 28 //////////////////////////////////////////////////////////////////////////// 29 29 t_inpEdit::t_inpEdit() : QMainWindow() { 30 30 31 _tabWidget = new t_tabWidget(); 31 32 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); 33 38 } 34 39 … … 37 42 t_inpEdit::~t_inpEdit() { 38 43 } 44 45 // 46 //////////////////////////////////////////////////////////////////////////// 47 void t_inpEdit::slotOpenFile() { 48 qDebug() << "slotOpenFile"; 49 } -
trunk/GnssCenter/inpedit/inpedit.h
r5088 r5089 12 12 13 13 class t_inpEdit : public QMainWindow { 14 Q_OBJECT 14 15 public: 15 16 t_inpEdit(); 16 17 ~t_inpEdit(); 18 private slots: 19 void slotOpenFile(); 17 20 private: 18 21 t_tabWidget* _tabWidget;
Note:
See TracChangeset
for help on using the changeset viewer.