add tools uis

This commit is contained in:
hm
2020-03-28 21:27:22 +08:00
parent c37d1076e9
commit 063f0c0f55
27 changed files with 585 additions and 49 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "About.h"
#include "ui_About.h"
About::About(QWidget *parent) :
QWidget(parent),
ui(new Ui::About)
{
ui->setupUi(this);
setWindowTitle(tr("About"));
}
About::~About()
{
delete ui;
}
+22
View File
@@ -0,0 +1,22 @@
#ifndef ABOUT_H
#define ABOUT_H
#include <QWidget>
namespace Ui {
class About;
}
class About : public QWidget
{
Q_OBJECT
public:
explicit About(QWidget *parent = nullptr);
~About();
private:
Ui::About *ui;
};
#endif // ABOUT_H
+15
View File
@@ -0,0 +1,15 @@
FORMS += \
$$PWD/About.ui
HEADERS += \
$$PWD/About.h
SOURCES += \
$$PWD/About.cpp
+21
View File
@@ -0,0 +1,21 @@
<ui version="4.0">
<author/>
<comment/>
<exportmacro/>
<class>About</class>
<widget name="About" class="QWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
</widget>
<pixmapfunction/>
<connections/>
</ui>