| @@ -0,0 +1,20 @@ | |||||
| #------------------------------------------------- | |||||
| # | |||||
| # Project created by QtCreator 2021-12-18T11:13:33 | |||||
| # | |||||
| #------------------------------------------------- | |||||
| QT += core gui | |||||
| greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |||||
| TARGET = MotorControll_Project | |||||
| TEMPLATE = app | |||||
| SOURCES += main.cpp\ | |||||
| motorcontroll.cpp | |||||
| HEADERS += motorcontroll.h | |||||
| FORMS += motorcontroll.ui | |||||
| @@ -0,0 +1,11 @@ | |||||
| #include "motorcontroll.h" | |||||
| #include <QApplication> | |||||
| int main(int argc, char *argv[]) | |||||
| { | |||||
| QApplication a(argc, argv); | |||||
| MotorControll w; | |||||
| w.show(); | |||||
| return a.exec(); | |||||
| } | |||||
| @@ -0,0 +1,14 @@ | |||||
| #include "motorcontroll.h" | |||||
| #include "ui_motorcontroll.h" | |||||
| MotorControll::MotorControll(QWidget *parent) : | |||||
| QMainWindow(parent), | |||||
| ui(new Ui::MotorControll) | |||||
| { | |||||
| ui->setupUi(this); | |||||
| } | |||||
| MotorControll::~MotorControll() | |||||
| { | |||||
| delete ui; | |||||
| } | |||||
| @@ -0,0 +1,22 @@ | |||||
| #ifndef MOTORCONTROLL_H | |||||
| #define MOTORCONTROLL_H | |||||
| #include <QMainWindow> | |||||
| namespace Ui { | |||||
| class MotorControll; | |||||
| } | |||||
| class MotorControll : public QMainWindow | |||||
| { | |||||
| Q_OBJECT | |||||
| public: | |||||
| explicit MotorControll(QWidget *parent = 0); | |||||
| ~MotorControll(); | |||||
| private: | |||||
| Ui::MotorControll *ui; | |||||
| }; | |||||
| #endif // MOTORCONTROLL_H | |||||
| @@ -0,0 +1,24 @@ | |||||
| <ui version="4.0"> | |||||
| <class>MotorControll</class> | |||||
| <widget class="QMainWindow" name="MotorControll" > | |||||
| <property name="geometry" > | |||||
| <rect> | |||||
| <x>0</x> | |||||
| <y>0</y> | |||||
| <width>400</width> | |||||
| <height>300</height> | |||||
| </rect> | |||||
| </property> | |||||
| <property name="windowTitle" > | |||||
| <string>MotorControll</string> | |||||
| </property> | |||||
| <widget class="QMenuBar" name="menuBar" /> | |||||
| <widget class="QToolBar" name="mainToolBar" /> | |||||
| <widget class="QWidget" name="centralWidget" /> | |||||
| <widget class="QStatusBar" name="statusBar" /> | |||||
| </widget> | |||||
| <layoutDefault spacing="6" margin="11" /> | |||||
| <pixmapfunction></pixmapfunction> | |||||
| <resources/> | |||||
| <connections/> | |||||
| </ui> | |||||