From b518e24870d6438915398935b665b180a68c1686 Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期五, 26 四月 2024 22:06:37 +0800 Subject: [PATCH] 0426 --- internal_system_v1/threemergeproblemlist.cpp | 203 ++++++++++ internal_system_v1/threemergeproblemlist.ui | 893 +++++++++++++++++++++++++--------------------- internal_system_v1/internal_system_v1.pro.user | 2 internal_system_v1/threemergeproblemlist.h | 27 + 4 files changed, 709 insertions(+), 416 deletions(-) diff --git a/internal_system_v1/internal_system_v1.pro.user b/internal_system_v1/internal_system_v1.pro.user index 7c49faf..7390a27 100644 --- a/internal_system_v1/internal_system_v1.pro.user +++ b/internal_system_v1/internal_system_v1.pro.user @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE QtCreatorProject> -<!-- Written by QtCreator 4.5.0, 2024-02-27T12:03:10. --> +<!-- Written by QtCreator 4.5.0, 2024-04-20T19:27:31. --> <qtcreator> <data> <variable>EnvironmentId</variable> diff --git a/internal_system_v1/threemergeproblemlist.cpp b/internal_system_v1/threemergeproblemlist.cpp index 1a4805c..8cc2e65 100644 --- a/internal_system_v1/threemergeproblemlist.cpp +++ b/internal_system_v1/threemergeproblemlist.cpp @@ -1,14 +1,215 @@ -#include "threemergeproblemlist.h" +锘�#include "threemergeproblemlist.h" #include "ui_threemergeproblemlist.h" +#include <QDebug> +#include <QSqlQuery> +#include <QSqlError> +#include <QMessageBox> ThreeMergeProblemList::ThreeMergeProblemList(QWidget *parent) : QMainWindow(parent), ui(new Ui::ThreeMergeProblemList) { ui->setupUi(this); + ui->statusbar->hide(); + ui->menubar->hide(); + initUi(); // 鍒濆鍖栨墍鏈夌晫闈� + } ThreeMergeProblemList::~ThreeMergeProblemList() { delete ui; } + +void ThreeMergeProblemList::initUi() +{ + initProblemListUi(); // 鍒濆鍖栭棶棰樻竻鍗曠晫闈� + initProblemResultUi(); // 鍒濆鍖栭棶棰樺鐞嗙粨鏋滅晫闈� + + // 鍔犺浇鍏徃鍚� + readCompanyFromSQL(); +} + +void ThreeMergeProblemList::initProblemListUi() +{ + ui->tableWidget_3->setItem(0,0,new QTableWidgetItem("闂娓呭崟")); + ui->tableWidget_3->setSpan(0,0,3,2); + ui->tableWidget_3->item(0,0)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(0,2,new QTableWidgetItem("鏁存敼妫�鏌ョ粨鏋滃強瀵硅处閿�鍙锋竻鍗�")); + ui->tableWidget_3->setSpan(0,2,1,12); + ui->tableWidget_3->item(0,2)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(1,2,new QTableWidgetItem("鏁存敼妫�鏌ョ粨鏋�")); + ui->tableWidget_3->setSpan(1,2,2,2); + ui->tableWidget_3->item(1,2)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(1,4,new QTableWidgetItem("鏁存敼绫诲瀷")); + ui->tableWidget_3->setSpan(1,4,1,8); + ui->tableWidget_3->item(1,4)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(2,4,new QTableWidgetItem("宸叉暣鏀�")); + ui->tableWidget_3->setSpan(2,4,1,3); + ui->tableWidget_3->item(2,4)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(2,7,new QTableWidgetItem("姝e湪鏁存敼")); + ui->tableWidget_3->setSpan(2,7,1,2); + ui->tableWidget_3->item(2,7)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(2,9,new QTableWidgetItem("灏氭湭鏁存敼")); + ui->tableWidget_3->setSpan(2,9,1,3); + ui->tableWidget_3->item(2,9)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(1,12,new QTableWidgetItem("鏄惁閿�鍙�")); + ui->tableWidget_3->setSpan(1,12,3,1); + ui->tableWidget_3->item(1,12)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_3->setItem(1,13,new QTableWidgetItem("閿�鍙锋椂闂�")); + ui->tableWidget_3->setSpan(1,13,3,1); + ui->tableWidget_3->item(1,13)->setTextAlignment(Qt::AlignCenter); + + + // 涓嬬骇鍒楁爣棰� 12涓� + ui->tableWidget_3->setItem(3,0,new QTableWidgetItem("搴忓彿")); + ui->tableWidget_3->setItem(3,1,new QTableWidgetItem("鎽樿")); + ui->tableWidget_3->setItem(3,2,new QTableWidgetItem("妫�鏌ユ椂闂�")); + ui->tableWidget_3->setItem(3,3,new QTableWidgetItem("妫�鏌ユ柟寮�")); + ui->tableWidget_3->setItem(3,4,new QTableWidgetItem("绾犳闂")); + ui->tableWidget_3->setItem(3,5,new QTableWidgetItem("瀹屽杽鍒跺害")); + ui->tableWidget_3->setItem(3,6,new QTableWidgetItem("瀹屾垚鏃堕棿")); + ui->tableWidget_3->setItem(3,7,new QTableWidgetItem("涓昏鍘熷洜")); + ui->tableWidget_3->setItem(3,8,new QTableWidgetItem("瀹屾垚鏃堕檺")); + ui->tableWidget_3->setItem(3,9,new QTableWidgetItem("涓昏鍘熷洜")); + ui->tableWidget_3->setItem(3,10,new QTableWidgetItem("璐d换閮ㄩ棬鎴栬矗浠讳汉")); + ui->tableWidget_3->setItem(3,11,new QTableWidgetItem("瀹屾垚鏃堕檺")); + + // 绂佹缂栬緫 + for(int i=0;i<4;++i){ + ui->tableWidget_3->setItemDelegateForRow(i,new TableItemDelegate()); + } + + + // 鍙抽敭鑿滃崟 + m_menu = new QMenu(this); + m_menu->addAction("鍒犻櫎褰撳墠琛�"); + ui->tableWidget_3->setContextMenuPolicy(Qt::CustomContextMenu); + connect(ui->tableWidget_3,SIGNAL(customContextMenuRequested(QPoint)),this,SLOT(showMenuSlot(QPoint))); + connect(m_menu->actions().at(0),SIGNAL(triggered(bool)),this,SLOT(deleteAction())); + + + +} + +void ThreeMergeProblemList::initProblemResultUi() +{ + ui->tableWidget_2->setSpan(0,0,1,5); + ui->tableWidget_2->setItem(0,0,new QTableWidgetItem("鏁存敼鎴愭灉")); + ui->tableWidget_2->item(0,0)->setTextAlignment(Qt::AlignCenter); + + ui->tableWidget_2->setSpan(1,0,1,2); + ui->tableWidget_2->setItem(1,0,new QTableWidgetItem("鍒跺害寤鸿")); + ui->tableWidget_2->item(1,0)->setTextAlignment(Qt::AlignCenter); + ui->tableWidget_2->setSpan(1,2,1,3); + ui->tableWidget_2->setItem(1,2,new QTableWidgetItem("璧勯噾鏀跺洖")); + ui->tableWidget_2->item(1,2)->setTextAlignment(Qt::AlignCenter); + ui->tableWidget_2->setSpan(0,5,3,1); + ui->tableWidget_2->setItem(0,5,new QTableWidgetItem("澶勭悊浜�")); + ui->tableWidget_2->setSpan(0,6,3,1); + ui->tableWidget_2->setItem(0,6,new QTableWidgetItem("瀹h疮鍩硅")); + ui->tableWidget_2->setSpan(0,7,3,1); + ui->tableWidget_2->setItem(0,7,new QTableWidgetItem("鍏朵粬")); + ui->tableWidget_2->setSpan(0,8,3,1); + ui->tableWidget_2->setItem(0,8,new QTableWidgetItem("瀹℃牳缁撴灉")); + ui->tableWidget_2->setSpan(0,9,3,1); + ui->tableWidget_2->setItem(0,9,new QTableWidgetItem("娉ㄩ攢")); + + // 涓嬬骇鏍囬 + ui->tableWidget_2->setItem(2,0,new QTableWidgetItem("淇鍒跺害")); + ui->tableWidget_2->setItem(2,1,new QTableWidgetItem("鏂板鍒跺害")); + ui->tableWidget_2->setItem(2,2,new QTableWidgetItem("鎸藉洖鎹熷け")); + ui->tableWidget_2->setItem(2,3,new QTableWidgetItem("鍓旈櫎")); + ui->tableWidget_2->setItem(2,4,new QTableWidgetItem("瀹″噺")); + + // 绂佹缂栬緫 + for(int i=0;i<3;++i){ + ui->tableWidget_2->setItemDelegateForRow(i,new TableItemDelegate()); + } + + // 鍙抽敭鑿滃崟 + m_menuResult = new QMenu(this); + m_menuResult->addAction("鍒犻櫎褰撳墠琛�"); + ui->tableWidget_2->setContextMenuPolicy(Qt::CustomContextMenu); + connect(ui->tableWidget_2,SIGNAL(customContextMenuRequested(QPoint)),this,SLOT(showMenuSlotResult(QPoint))); + connect(m_menuResult->actions().at(0),SIGNAL(triggered(bool)),this,SLOT(deleteActionResult())); + + // 鍔犺浇涓嬫媺妗嗙殑鍏徃鍚� + //readCompanyFromSQL(); +} + +void ThreeMergeProblemList::readCompanyFromSQL() +{ + ui->comboBox_company->clear(); + + QString sql = "select DISTINCT name from all_company_info"; + QSqlQuery query; + if(query.exec(sql)){ + qDebug()<<QString("select DISTINCT all_company_info ok"); + + while(query.next()){ // 娣诲姞鍏徃鍚� + QString name = query.value(0).toString(); + ui->comboBox_company->addItem(name); + } + + }else{ + qDebug()<<QString("select all_company_info fail...")<<query.lastError().text(); + + } +} + +void ThreeMergeProblemList::showMenuSlot(QPoint) +{ + m_menu->exec(QCursor::pos()); +} + +void ThreeMergeProblemList::deleteAction() +{ + int row = ui->tableWidget_3->currentRow(); + if(row>=4){ + qDebug()<<"ok"; + ui->tableWidget_3->removeRow(row); + }else{ + qDebug()<<"fail"; + } +} + +void ThreeMergeProblemList::showMenuSlotResult(QPoint) +{ + m_menuResult->exec(QCursor::pos()); +} + +void ThreeMergeProblemList::deleteActionResult() +{ + int row = ui->tableWidget_2->currentRow(); + if(row>=3){ + qDebug()<<"ok"; + ui->tableWidget_2->removeRow(row); + }else{ + qDebug()<<"fail"; + } +} + +// 澧炲姞鍒扮涓�涓〃鏍肩殑琛� +void ThreeMergeProblemList::on_pushButton_addRow_3_clicked() +{ + ui->tableWidget->insertRow(ui->tableWidget->rowCount()); +} + +void ThreeMergeProblemList::on_pushButton_addRow_2_clicked() +{ + ui->tableWidget_3->insertRow(ui->tableWidget_3->rowCount()); +} + +void ThreeMergeProblemList::on_pushButton_addRow_clicked() +{ + ui->tableWidget_2->insertRow(ui->tableWidget_2->rowCount()); +} diff --git a/internal_system_v1/threemergeproblemlist.h b/internal_system_v1/threemergeproblemlist.h index 0a3d898..0c694f6 100644 --- a/internal_system_v1/threemergeproblemlist.h +++ b/internal_system_v1/threemergeproblemlist.h @@ -1,7 +1,10 @@ -#ifndef THREEMERGEPROBLEMLIST_H +锘�#ifndef THREEMERGEPROBLEMLIST_H #define THREEMERGEPROBLEMLIST_H #include <QMainWindow> +#include "tableitemdelegate.h" +#include <QMenu> +#include <QAction> namespace Ui { class ThreeMergeProblemList; @@ -15,8 +18,30 @@ explicit ThreeMergeProblemList(QWidget *parent = 0); ~ThreeMergeProblemList(); + void initUi(); + void initProblemListUi(); + void initProblemResultUi(); + + void readCompanyFromSQL(); +private slots: + void showMenuSlot(QPoint); + void deleteAction(); + + //澶勭悊缁撴灉 + void showMenuSlotResult(QPoint); + void deleteActionResult(); + + void on_pushButton_addRow_3_clicked(); + + void on_pushButton_addRow_2_clicked(); + + void on_pushButton_addRow_clicked(); + private: Ui::ThreeMergeProblemList *ui; + QMenu *m_menu; + QMenu *m_menuResult; + QMenu *m_menuResult_; }; #endif // THREEMERGEPROBLEMLIST_H diff --git a/internal_system_v1/threemergeproblemlist.ui b/internal_system_v1/threemergeproblemlist.ui index 632fa16..e06253e 100644 --- a/internal_system_v1/threemergeproblemlist.ui +++ b/internal_system_v1/threemergeproblemlist.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>1181</width> - <height>1019</height> + <width>1483</width> + <height>1031</height> </rect> </property> <property name="windowTitle"> @@ -18,425 +18,492 @@ <item row="0" column="0"> <widget class="QScrollArea" name="scrollArea"> <property name="widgetResizable"> - <bool>true</bool> + <bool>false</bool> </property> <widget class="QWidget" name="scrollAreaWidgetContents"> <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>1157</width> + <width>1500</width> <height>944</height> </rect> </property> - <widget class="QTableWidget" name="tableWidget"> - <property name="geometry"> - <rect> - <x>10</x> - <y>70</y> - <width>1075</width> - <height>142</height> - </rect> - </property> - <column> - <property name="text"> - <string>闂鎻忚堪</string> - </property> - </column> - <column> - <property name="text"> - <string>闂鎻忚堪浣愯瘉璧勬枡</string> - </property> - </column> - <column> - <property name="text"> - <string>闂瀹氭�ф硶瑙勪緷鎹�</string> - </property> - </column> - <column> - <property name="text"> - <string>娑夊強閲戦(涓囧厓)</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼閲戦(涓囧厓)</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼鎯呭喌1</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼浣愯瘉璧勬枡1</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼绫诲瀷</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼缁撴灉</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼鏃堕棿</string> - </property> - </column> - <column> - <property name="text"> - <string>灏氭湭鏁存敼鍒颁綅鐨勫師鍥�</string> - </property> - </column> - <column> - <property name="text"> - <string>灏氭湭鏁存敼鍒颁綅闂鏁存敼鏈熼檺</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼鎯呭喌2</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼鎯呭喌浣愯瘉璧勬枡2</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼绫诲瀷</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼缁撴灉</string> - </property> - </column> - <column> - <property name="text"> - <string>鏁存敼鏃堕棿</string> - </property> - </column> - <column> - <property name="text"> - <string>灏氭湭鏁存敼鍒颁綅鐨勫師鍥�</string> - </property> - </column> - <column> - <property name="text"> - <string>灏氭湭鏁存敼鍒颁綅闂鏁存敼鏈熼檺</string> - </property> - </column> - </widget> - <widget class="QTableWidget" name="tableWidget_2"> - <property name="geometry"> - <rect> - <x>33</x> - <y>288</y> - <width>989</width> - <height>271</height> - </rect> - </property> - <attribute name="horizontalHeaderVisible"> - <bool>false</bool> - </attribute> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - </widget> - <widget class="QPushButton" name="pushButton_addRow"> - <property name="geometry"> - <rect> - <x>23</x> - <y>250</y> - <width>93</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string>澧炲姞涓�琛�</string> - </property> - </widget> - <widget class="QLabel" name="label"> - <property name="geometry"> - <rect> - <x>123</x> - <y>250</y> - <width>210</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string>瑕佸垹闄ゆ煇涓�琛岀洿鎺ュ彸鍑诲垹闄ゅ嵆鍙�</string> - </property> - </widget> - <widget class="QPushButton" name="pushButton_save"> - <property name="geometry"> - <rect> - <x>917</x> - <y>250</y> - <width>93</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string>淇濆瓨</string> - </property> - </widget> - <widget class="QComboBox" name="comboBox_company"> - <property name="geometry"> - <rect> - <x>20</x> - <y>20</y> - <width>989</width> - <height>21</height> - </rect> - </property> - <property name="editable"> - <bool>true</bool> - </property> - </widget> - <widget class="QPushButton" name="pushButton_save_2"> - <property name="geometry"> - <rect> - <x>927</x> - <y>600</y> - <width>93</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string>淇濆瓨</string> - </property> - </widget> - <widget class="QTableWidget" name="tableWidget_3"> - <property name="geometry"> - <rect> - <x>23</x> - <y>638</y> - <width>1009</width> - <height>471</height> - </rect> - </property> - <attribute name="horizontalHeaderVisible"> - <bool>false</bool> - </attribute> - <attribute name="verticalHeaderVisible"> - <bool>false</bool> - </attribute> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <row> - <property name="text"> - <string>鏂板缓琛�</string> - </property> - </row> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - <column> - <property name="text"> - <string>鏂板缓鍒�</string> - </property> - </column> - </widget> - <widget class="QLabel" name="label_2"> - <property name="geometry"> - <rect> - <x>143</x> - <y>600</y> - <width>210</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string>瑕佸垹闄ゆ煇涓�琛岀洿鎺ュ彸鍑诲垹闄ゅ嵆鍙�</string> - </property> - </widget> - <widget class="QPushButton" name="pushButton_addRow_2"> - <property name="geometry"> - <rect> - <x>43</x> - <y>600</y> - <width>93</width> - <height>28</height> - </rect> - </property> - <property name="text"> - <string>澧炲姞涓�琛�</string> - </property> - </widget> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="3" column="0"> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="1" column="0"> + <widget class="QPushButton" name="pushButton_addRow_2"> + <property name="text"> + <string>澧炲姞涓�琛�</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>瑕佸垹闄ゆ煇涓�琛岀洿鎺ュ彸鍑诲垹闄ゅ嵆鍙�</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <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 row="1" column="3"> + <widget class="QPushButton" name="pushButton_save_2"> + <property name="text"> + <string>淇濆瓨</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="4"> + <widget class="QTableWidget" name="tableWidget_3"> + <attribute name="horizontalHeaderVisible"> + <bool>false</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>闂娓呭崟</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="2" column="0"> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="5" column="0"> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="1" column="1"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>瑕佸垹闄ゆ煇涓�琛岀洿鎺ュ彸鍑诲垹闄ゅ嵆鍙�</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <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 row="1" column="3"> + <widget class="QPushButton" name="pushButton_save"> + <property name="text"> + <string>淇濆瓨</string> + </property> + </widget> + </item> + <item row="2" column="0" colspan="4"> + <widget class="QTableWidget" name="tableWidget_2"> + <attribute name="horizontalHeaderVisible"> + <bool>false</bool> + </attribute> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + <column> + <property name="text"> + <string>鏂板缓鍒�</string> + </property> + </column> + </widget> + </item> + <item row="1" column="0"> + <widget class="QPushButton" name="pushButton_addRow"> + <property name="text"> + <string>澧炲姞涓�琛�</string> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>鏁存敼鎴愭灉</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="1" column="0"> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="1" column="1"> + <widget class="QPushButton" name="pushButton_addRow_3"> + <property name="text"> + <string>澧炲姞涓�琛�</string> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>瑕佸垹闄ゆ煇涓�琛岀洿鎺ュ彸鍑诲垹闄ゅ嵆鍙�</string> + </property> + </widget> + </item> + <item row="1" column="3"> + <spacer name="horizontalSpacer_3"> + <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 row="2" column="1" colspan="4"> + <widget class="QTableWidget" name="tableWidget"> + <attribute name="verticalHeaderVisible"> + <bool>false</bool> + </attribute> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <row> + <property name="text"> + <string>鏂板缓琛�</string> + </property> + </row> + <column> + <property name="text"> + <string>闂鎻忚堪</string> + </property> + </column> + <column> + <property name="text"> + <string>闂鎻忚堪浣愯瘉璧勬枡</string> + </property> + </column> + <column> + <property name="text"> + <string>闂瀹氭�ф硶瑙勪緷鎹�</string> + </property> + </column> + <column> + <property name="text"> + <string>娑夊強閲戦(涓囧厓)</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼閲戦(涓囧厓)</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼鎯呭喌1</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼浣愯瘉璧勬枡1</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼绫诲瀷</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼缁撴灉</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼鏃堕棿</string> + </property> + </column> + <column> + <property name="text"> + <string>灏氭湭鏁存敼鍒颁綅鐨勫師鍥�</string> + </property> + </column> + <column> + <property name="text"> + <string>灏氭湭鏁存敼鍒颁綅闂鏁存敼鏈熼檺</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼鎯呭喌2</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼鎯呭喌浣愯瘉璧勬枡2</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼绫诲瀷</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼缁撴灉</string> + </property> + </column> + <column> + <property name="text"> + <string>鏁存敼鏃堕棿</string> + </property> + </column> + <column> + <property name="text"> + <string>灏氭湭鏁存敼鍒颁綅鐨勫師鍥�</string> + </property> + </column> + <column> + <property name="text"> + <string>灏氭湭鏁存敼鍒颁綅闂鏁存敼鏈熼檺</string> + </property> + </column> + </widget> + </item> + <item row="1" column="4"> + <widget class="QPushButton" name="pushButton_save_3"> + <property name="text"> + <string>淇濆瓨</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>鏁存敼鍙拌处</string> + </property> + </widget> + </item> + </layout> + </item> + <item row="0" column="0"> + <widget class="QComboBox" name="comboBox_company"> + <property name="editable"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="Line" name="line_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + </layout> </widget> </widget> </item> @@ -447,7 +514,7 @@ <rect> <x>0</x> <y>0</y> - <width>1181</width> + <width>1483</width> <height>26</height> </rect> </property> -- Gitblit v1.8.0