This commit is contained in:
hm
2019-12-25 14:27:18 +08:00
parent 3ad2850e79
commit e4f47abf81
19 changed files with 135 additions and 198 deletions
+1
View File
@@ -62,6 +62,7 @@ LIBS += -L$$PWD/../thirdpart/lib -lSkin
LIBS += -L$$PWD/../thirdpart/lib -lSerialPort
LIBS += -L$$PWD/../thirdpart/lib -lClientLink
LIBS += -L$$PWD/../thirdpart/lib -lqNavigation
LIBS += -L$$PWD/../thirdpart/lib -lCockpit
+7 -1
View File
@@ -10,6 +10,9 @@
#include "QHBoxLayout"
#include "Cockpit.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
@@ -18,10 +21,13 @@ MainWindow::MainWindow(QWidget *parent)
QNavigationWidget *nav = new QNavigationWidget(this);
Cockpit *copk = new Cockpit(this);
copk->setGeometry(this->width() - copk->width(),0,copk->width(),copk->height());
nav->setGeometry(0,0,50,this->height());
nav->addItem("map");
nav->addItem("setting");
nav->addItem("help");