Parcourir la source

ui界面小修改

DESKTOP-55AB90D\user il y a 2 ans
Parent
commit
a8d5ae2669
4 fichiers modifiés avec 62 ajouts et 62 suppressions
  1. 6 6
      CGH_Printer.ui
  2. 1 1
      CGH_Printer.vcxproj
  3. 4 4
      CGH_Printer.vcxproj.user
  4. 51 51
      Include/ui_CGH_Printer.h

+ 6 - 6
CGH_Printer.ui

@@ -289,7 +289,7 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
        <enum>QTabWidget::Rounded</enum>
       </property>
       <property name="currentIndex">
-       <number>6</number>
+       <number>7</number>
       </property>
       <property name="elideMode">
        <enum>Qt::ElideNone</enum>
@@ -2941,13 +2941,13 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
        <attribute name="title">
         <string>配置(新)</string>
        </attribute>
-       <widget class="QWidget" name="">
+       <widget class="QWidget" name="layoutWidget">
         <property name="geometry">
          <rect>
-          <x>10</x>
-          <y>3</y>
-          <width>851</width>
-          <height>421</height>
+          <x>20</x>
+          <y>13</y>
+          <width>821</width>
+          <height>401</height>
          </rect>
         </property>
         <layout class="QGridLayout" name="gridLayout_75">

+ 1 - 1
CGH_Printer.vcxproj

@@ -38,7 +38,7 @@
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v143</PlatformToolset>
+    <PlatformToolset>v142</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>

+ 4 - 4
CGH_Printer.vcxproj.user

@@ -2,15 +2,15 @@
 <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <PropertyGroup />
   <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
-    <QtLastBackgroundBuild>2022-11-24T03:14:07.2528105Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-25T03:36:26.3510409Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-11-24T03:14:07.3428343Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-25T03:36:26.4610651Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <QtLastBackgroundBuild>2022-11-24T03:14:07.4248553Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-25T03:36:26.5856034Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-11-24T03:14:07.5298784Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-25T03:36:26.6866259Z</QtLastBackgroundBuild>
   </PropertyGroup>
 </Project>

+ 51 - 51
Include/ui_CGH_Printer.h

@@ -1,13 +1,13 @@
 /********************************************************************************
-** Form generated from reading UI file 'CGH_PrinterXRFMdA.ui'
+** Form generated from reading UI file 'CGH_PrinterWFZpJN.ui'
 **
 ** Created by: Qt User Interface Compiler version 5.15.2
 **
 ** WARNING! All changes made in this file will be lost when recompiling UI file!
 ********************************************************************************/
 
-#ifndef CGH_PRINTERXRFMDA_H
-#define CGH_PRINTERXRFMDA_H
+#ifndef CGH_PRINTERWFZPJN_H
+#define CGH_PRINTERWFZPJN_H
 
 #include <CGH_TabWidget.h>
 #include <QtCore/QVariant>
@@ -240,9 +240,8 @@ public:
     QPushButton *pushButtonPermSaved;
     QSpacerItem *verticalSpacer_4;
     QWidget *tab_8;
-    QWidget *widget1;
+    QWidget *layoutWidget;
     QGridLayout *gridLayout_75;
-    QSpacerItem *verticalSpacer_14;
     QGroupBox *groupBox_49;
     QGridLayout *gridLayout_74;
     QLineEdit *lineEditAccX_7;
@@ -254,11 +253,6 @@ public:
     QLabel *label_172;
     QLabel *label_174;
     QLineEdit *lineEditMaxvX_7;
-    QSpacerItem *verticalSpacer_13;
-    QGroupBox *groupBox_48;
-    QHBoxLayout *horizontalLayout_45;
-    QPushButton *pushButtonTempSaved_7;
-    QPushButton *pushButtonPermSaved_7;
     QGroupBox *groupBox_47;
     QGridLayout *gridLayout_73;
     QLabel *label_163;
@@ -270,6 +264,12 @@ public:
     QLabel *label_167;
     QLineEdit *lineEditMaxvY_7;
     QLabel *label_168;
+    QSpacerItem *verticalSpacer_13;
+    QSpacerItem *verticalSpacer_14;
+    QGroupBox *groupBox_48;
+    QHBoxLayout *horizontalLayout_45;
+    QPushButton *pushButtonTempSaved_7;
+    QPushButton *pushButtonPermSaved_7;
 
     void setupUi(QMainWindow *CGH_PrinterClass)
     {
@@ -1746,19 +1746,15 @@ public:
         tabWidget->addTab(tab_6, icon25, QString());
         tab_8 = new QWidget();
         tab_8->setObjectName(QString::fromUtf8("tab_8"));
-        widget1 = new QWidget(tab_8);
-        widget1->setObjectName(QString::fromUtf8("widget1"));
-        widget1->setGeometry(QRect(0, 3, 821, 421));
-        gridLayout_75 = new QGridLayout(widget1);
+        layoutWidget = new QWidget(tab_8);
+        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
+        layoutWidget->setGeometry(QRect(20, 13, 821, 401));
+        gridLayout_75 = new QGridLayout(layoutWidget);
         gridLayout_75->setSpacing(6);
         gridLayout_75->setContentsMargins(11, 11, 11, 11);
         gridLayout_75->setObjectName(QString::fromUtf8("gridLayout_75"));
         gridLayout_75->setContentsMargins(0, 0, 0, 0);
-        verticalSpacer_14 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
-        gridLayout_75->addItem(verticalSpacer_14, 2, 0, 1, 1);
-
-        groupBox_49 = new QGroupBox(widget1);
+        groupBox_49 = new QGroupBox(layoutWidget);
         groupBox_49->setObjectName(QString::fromUtf8("groupBox_49"));
         groupBox_49->setFont(font2);
         gridLayout_74 = new QGridLayout(groupBox_49);
@@ -1831,34 +1827,7 @@ public:
 
         gridLayout_75->addWidget(groupBox_49, 0, 0, 1, 1);
 
-        verticalSpacer_13 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
-        gridLayout_75->addItem(verticalSpacer_13, 1, 1, 1, 1);
-
-        groupBox_48 = new QGroupBox(widget1);
-        groupBox_48->setObjectName(QString::fromUtf8("groupBox_48"));
-        horizontalLayout_45 = new QHBoxLayout(groupBox_48);
-        horizontalLayout_45->setSpacing(6);
-        horizontalLayout_45->setContentsMargins(11, 11, 11, 11);
-        horizontalLayout_45->setObjectName(QString::fromUtf8("horizontalLayout_45"));
-        pushButtonTempSaved_7 = new QPushButton(groupBox_48);
-        pushButtonTempSaved_7->setObjectName(QString::fromUtf8("pushButtonTempSaved_7"));
-        pushButtonTempSaved_7->setIcon(icon5);
-        pushButtonTempSaved_7->setIconSize(QSize(20, 20));
-
-        horizontalLayout_45->addWidget(pushButtonTempSaved_7);
-
-        pushButtonPermSaved_7 = new QPushButton(groupBox_48);
-        pushButtonPermSaved_7->setObjectName(QString::fromUtf8("pushButtonPermSaved_7"));
-        pushButtonPermSaved_7->setIcon(icon24);
-        pushButtonPermSaved_7->setIconSize(QSize(15, 20));
-
-        horizontalLayout_45->addWidget(pushButtonPermSaved_7);
-
-
-        gridLayout_75->addWidget(groupBox_48, 2, 1, 1, 1);
-
-        groupBox_47 = new QGroupBox(widget1);
+        groupBox_47 = new QGroupBox(layoutWidget);
         groupBox_47->setObjectName(QString::fromUtf8("groupBox_47"));
         gridLayout_73 = new QGridLayout(groupBox_47);
         gridLayout_73->setSpacing(6);
@@ -1921,6 +1890,37 @@ public:
 
         gridLayout_75->addWidget(groupBox_47, 0, 1, 1, 1);
 
+        verticalSpacer_13 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        gridLayout_75->addItem(verticalSpacer_13, 1, 1, 1, 1);
+
+        verticalSpacer_14 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+
+        gridLayout_75->addItem(verticalSpacer_14, 2, 0, 1, 1);
+
+        groupBox_48 = new QGroupBox(layoutWidget);
+        groupBox_48->setObjectName(QString::fromUtf8("groupBox_48"));
+        horizontalLayout_45 = new QHBoxLayout(groupBox_48);
+        horizontalLayout_45->setSpacing(6);
+        horizontalLayout_45->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout_45->setObjectName(QString::fromUtf8("horizontalLayout_45"));
+        pushButtonTempSaved_7 = new QPushButton(groupBox_48);
+        pushButtonTempSaved_7->setObjectName(QString::fromUtf8("pushButtonTempSaved_7"));
+        pushButtonTempSaved_7->setIcon(icon23);
+        pushButtonTempSaved_7->setIconSize(QSize(20, 20));
+
+        horizontalLayout_45->addWidget(pushButtonTempSaved_7);
+
+        pushButtonPermSaved_7 = new QPushButton(groupBox_48);
+        pushButtonPermSaved_7->setObjectName(QString::fromUtf8("pushButtonPermSaved_7"));
+        pushButtonPermSaved_7->setIcon(icon24);
+        pushButtonPermSaved_7->setIconSize(QSize(15, 20));
+
+        horizontalLayout_45->addWidget(pushButtonPermSaved_7);
+
+
+        gridLayout_75->addWidget(groupBox_48, 2, 1, 1, 1);
+
         tabWidget->addTab(tab_8, icon25, QString());
 
         verticalLayout_3->addWidget(tabWidget);
@@ -2079,9 +2079,6 @@ public:
         label_172->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\212\240\351\200\237\345\272\246", nullptr));
         label_174->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
         lineEditMaxvX_7->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        groupBox_48->setTitle(QString());
-        pushButtonTempSaved_7->setText(QCoreApplication::translate("CGH_PrinterClass", "\346\201\242\345\244\215\351\273\230\350\256\244", nullptr));
-        pushButtonPermSaved_7->setText(QCoreApplication::translate("CGH_PrinterClass", " \346\260\270\344\271\205\344\277\235\345\255\230", nullptr));
         groupBox_47->setTitle(QCoreApplication::translate("CGH_PrinterClass", "\350\275\264y", nullptr));
         label_163->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\212\240\351\200\237\345\272\246", nullptr));
         lineEditAccY_7->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
@@ -2092,6 +2089,9 @@ public:
         label_167->setText(QCoreApplication::translate("CGH_PrinterClass", "\346\234\200\345\244\247\351\200\237\345\272\246", nullptr));
         lineEditMaxvY_7->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
         label_168->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s", nullptr));
+        groupBox_48->setTitle(QString());
+        pushButtonTempSaved_7->setText(QCoreApplication::translate("CGH_PrinterClass", "\344\270\264\346\227\266\344\277\235\345\255\230", nullptr));
+        pushButtonPermSaved_7->setText(QCoreApplication::translate("CGH_PrinterClass", " \346\260\270\344\271\205\344\277\235\345\255\230", nullptr));
         tabWidget->setTabText(tabWidget->indexOf(tab_8), QCoreApplication::translate("CGH_PrinterClass", "\351\205\215\347\275\256\357\274\210\346\226\260\357\274\211", nullptr));
     } // retranslateUi
 
@@ -2103,4 +2103,4 @@ namespace Ui {
 
 QT_END_NAMESPACE
 
-#endif // CGH_PRINTERXRFMDA_H
+#endif // CGH_PRINTERWFZPJN_H