From cf9a5d7be63380ce5bb747cf0eb49fc41d0608aa Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期二, 08 八月 2023 22:37:09 +0800 Subject: [PATCH] ui --- internal_system_v1/searchinfo.cpp | 14 ++++ internal_system_v1/clientmainwindow.ui | 2 internal_system_v1/internal_system_v1.pro | 9 ++- internal_system_v1/searchinfo.h | 22 +++++++ internal_system_v1/searchinfo.ui | 133 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 176 insertions(+), 4 deletions(-) diff --git a/internal_system_v1/clientmainwindow.ui b/internal_system_v1/clientmainwindow.ui index b479ae9..3719f10 100644 --- a/internal_system_v1/clientmainwindow.ui +++ b/internal_system_v1/clientmainwindow.ui @@ -18,7 +18,7 @@ <item row="0" column="0"> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> - <number>2</number> + <number>0</number> </property> <widget class="QWidget" name="tab"> <attribute name="title"> diff --git a/internal_system_v1/internal_system_v1.pro b/internal_system_v1/internal_system_v1.pro index dbfa85b..908e6d2 100644 --- a/internal_system_v1/internal_system_v1.pro +++ b/internal_system_v1/internal_system_v1.pro @@ -34,7 +34,8 @@ problemnotmoney.cpp \ punish.cpp \ caseclue.cpp \ - coverinfo.cpp + coverinfo.cpp \ + searchinfo.cpp HEADERS += \ clientmainwindow.h \ @@ -46,7 +47,8 @@ problemnotmoney.h \ punish.h \ caseclue.h \ - coverinfo.h + coverinfo.h \ + searchinfo.h FORMS += \ clientmainwindow.ui \ @@ -58,6 +60,7 @@ problemnotmoney.ui \ punish.ui \ caseclue.ui \ - coverinfo.ui + coverinfo.ui \ + searchinfo.ui include(QXlsx/QXlsx.pri) diff --git a/internal_system_v1/searchinfo.cpp b/internal_system_v1/searchinfo.cpp new file mode 100644 index 0000000..e19e864 --- /dev/null +++ b/internal_system_v1/searchinfo.cpp @@ -0,0 +1,14 @@ +#include "searchinfo.h" +#include "ui_searchinfo.h" + +SearchInfo::SearchInfo(QWidget *parent) : + QMainWindow(parent), + ui(new Ui::SearchInfo) +{ + ui->setupUi(this); +} + +SearchInfo::~SearchInfo() +{ + delete ui; +} diff --git a/internal_system_v1/searchinfo.h b/internal_system_v1/searchinfo.h new file mode 100644 index 0000000..234b5b4 --- /dev/null +++ b/internal_system_v1/searchinfo.h @@ -0,0 +1,22 @@ +#ifndef SEARCHINFO_H +#define SEARCHINFO_H + +#include <QMainWindow> + +namespace Ui { +class SearchInfo; +} + +class SearchInfo : public QMainWindow +{ + Q_OBJECT + +public: + explicit SearchInfo(QWidget *parent = 0); + ~SearchInfo(); + +private: + Ui::SearchInfo *ui; +}; + +#endif // SEARCHINFO_H diff --git a/internal_system_v1/searchinfo.ui b/internal_system_v1/searchinfo.ui new file mode 100644 index 0000000..eac1b36 --- /dev/null +++ b/internal_system_v1/searchinfo.ui @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>SearchInfo</class> + <widget class="QMainWindow" name="SearchInfo"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>800</width> + <height>600</height> + </rect> + </property> + <property name="windowTitle"> + <string>MainWindow</string> + </property> + <widget class="QWidget" name="centralwidget"> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>淇℃伅鏌ヨ</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>鏌ヨ鏉′欢</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="comboBox"> + <item> + <property name="text"> + <string>瀹¤椤圭洰</string> + </property> + </item> + <item> + <property name="text"> + <string>闂閲戦</string> + </property> + </item> + <item> + <property name="text"> + <string>闂鏁存敼</string> + </property> + </item> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>浠�</string> + </property> + </widget> + </item> + <item> + <widget class="QDateTimeEdit" name="dateTimeEdit"> + <property name="calendarPopup"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>鍒�</string> + </property> + </widget> + </item> + <item> + <widget class="QDateTimeEdit" name="dateTimeEdit_2"> + <property name="calendarPopup"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="pushButton"> + <property name="text"> + <string>鏌ヨ</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="QTableView" name="tableView"/> + </item> + </layout> + </widget> + <widget class="QMenuBar" name="menubar"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>800</width> + <height>26</height> + </rect> + </property> + </widget> + <widget class="QStatusBar" name="statusbar"/> + </widget> + <resources/> + <connections/> +</ui> -- Gitblit v1.8.0