Browse Source

更新配置页(除“恢复默认”)

Zhou Jinlun 2 years ago
parent
commit
dda9d3c895
7 changed files with 262 additions and 807 deletions
  1. 6 6
      CGH_Printer.cpp
  2. 1 0
      CGH_Printer.qrc
  3. 159 482
      CGH_Printer.ui
  4. 4 4
      CGH_Printer.vcxproj.user
  5. BIN
      Configure/IMG/Equipment_2.png
  6. 1 0
      Include/CGH_Printer.h
  7. 91 315
      Include/ui_CGH_Printer.h

+ 6 - 6
CGH_Printer.cpp

@@ -915,12 +915,12 @@ void CGH_Printer::PermSaved()
 			MaxvX = ui.lineEditMaxvX->text().toDouble();
 			MaxvY = ui.lineEditMaxvY->text().toDouble();
 
-			PI_SPA(Devices[0], sAxis.c_str(), &Acc, &AccX, NULL);
-			PI_SPA(Devices[1], sAxis.c_str(), &Acc, &AccY, NULL);
-			PI_SPA(Devices[0], sAxis.c_str(), &Dec, &DecX, NULL);
-			PI_SPA(Devices[1], sAxis.c_str(), &Dec, &DecY, NULL);
-			PI_SPA(Devices[0], sAxis.c_str(), &Maxv, &MaxvX, NULL);
-			PI_SPA(Devices[1], sAxis.c_str(), &Maxv, &MaxvY, NULL);
+            PI_SEP(Devices[0], szPassword, sAxis.c_str(), &Acc, &AccX, NULL);
+            PI_SEP(Devices[1], szPassword, sAxis.c_str(), &Acc, &AccY, NULL);
+            PI_SEP(Devices[0], szPassword, sAxis.c_str(), &Dec, &DecX, NULL);
+            PI_SEP(Devices[1], szPassword, sAxis.c_str(), &Dec, &DecY, NULL);
+            PI_SEP(Devices[0], szPassword, sAxis.c_str(), &Maxv, &MaxvX, NULL);
+            PI_SEP(Devices[1], szPassword, sAxis.c_str(), &Maxv, &MaxvY, NULL);
 
 			PI_RPA(Devices[0], sAxis.c_str(), &Acc);
 			PI_RPA(Devices[1], sAxis.c_str(), &Acc);

+ 1 - 0
CGH_Printer.qrc

@@ -67,6 +67,7 @@
         <file>Configure/IMG/upblue.png</file>
         <file>Configure/IMG/upbule.png</file>
         <file>Configure/IMG/zeroblue.png</file>
+        <file>Configure/IMG/Equipment_2.png</file>
     </qresource>
     <qresource prefix="/QSS"/>
 </RCC>

+ 159 - 482
CGH_Printer.ui

@@ -563,7 +563,7 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
            <string/>
           </property>
           <property name="pixmap">
-           <pixmap resource="CGH_Printer.qrc">:/CGH_Printer/Configure/IMG/Equipment.png</pixmap>
+           <pixmap resource="CGH_Printer.qrc">:/CGH_Printer/Configure/IMG/Equipment_2.png</pixmap>
           </property>
           <property name="scaledContents">
            <bool>true</bool>
@@ -1287,8 +1287,8 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
                <rect>
                 <x>0</x>
                 <y>0</y>
-                <width>724</width>
-                <height>356</height>
+                <width>689</width>
+                <height>341</height>
                </rect>
               </property>
               <layout class="QVBoxLayout" name="verticalLayout">
@@ -2009,7 +2009,7 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
         </item>
        </layout>
       </widget>
-      <widget class="QWidget" name="tab_6">
+      <widget class="QWidget" name="tab_8">
        <attribute name="icon">
         <iconset resource="CGH_Printer.qrc">
          <normaloff>:/CGH_Printer/Configure/IMG/set.png</normaloff>:/CGH_Printer/Configure/IMG/set.png</iconset>
@@ -2017,38 +2017,27 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
        <attribute name="title">
         <string>配置</string>
        </attribute>
-       <layout class="QGridLayout" name="gridLayout_10">
-        <item row="2" column="1">
-         <spacer name="verticalSpacer_3">
-          <property name="orientation">
-           <enum>Qt::Vertical</enum>
-          </property>
-          <property name="sizeHint" stdset="0">
-           <size>
-            <width>20</width>
-            <height>40</height>
-           </size>
+       <layout class="QGridLayout" name="gridLayout_14">
+        <item row="0" column="0">
+         <widget class="QGroupBox" name="groupBox_49">
+          <property name="font">
+           <font>
+            <pointsize>10</pointsize>
+            <weight>50</weight>
+            <bold>false</bold>
+           </font>
           </property>
-         </spacer>
-        </item>
-        <item row="0" column="1">
-         <widget class="QGroupBox" name="groupBox_4">
           <property name="title">
-           <string>轴y</string>
+           <string>轴x</string>
           </property>
-          <layout class="QGridLayout" name="gridLayout_4">
-           <item row="0" column="0">
-            <widget class="QLabel" name="label_6">
-             <property name="text">
-              <string>加速度</string>
-             </property>
-             <property name="alignment">
-              <set>Qt::AlignCenter</set>
-             </property>
-            </widget>
-           </item>
+          <layout class="QGridLayout" name="gridLayout_74">
            <item row="0" column="1">
-            <widget class="QLineEdit" name="lineEditAccY">
+            <widget class="QLineEdit" name="lineEditAccX">
+             <property name="font">
+              <font>
+               <pointsize>9</pointsize>
+              </font>
+             </property>
              <property name="text">
               <string>000.000</string>
              </property>
@@ -2058,7 +2047,12 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
             </widget>
            </item>
            <item row="0" column="2">
-            <widget class="QLabel" name="label_26">
+            <widget class="QLabel" name="label_173">
+             <property name="font">
+              <font>
+               <pointsize>9</pointsize>
+              </font>
+             </property>
              <property name="text">
               <string>mm/s^2</string>
              </property>
@@ -2068,29 +2062,14 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
             </widget>
            </item>
            <item row="1" column="0">
-            <widget class="QLabel" name="label_22">
-             <property name="text">
-              <string>减速度</string>
-             </property>
-             <property name="alignment">
-              <set>Qt::AlignCenter</set>
-             </property>
-            </widget>
-           </item>
-           <item row="1" column="1">
-            <widget class="QLineEdit" name="lineEditDecY">
-             <property name="text">
-              <string>000.000</string>
-             </property>
-             <property name="alignment">
-              <set>Qt::AlignCenter</set>
+            <widget class="QLabel" name="label_170">
+             <property name="font">
+              <font>
+               <pointsize>9</pointsize>
+              </font>
              </property>
-            </widget>
-           </item>
-           <item row="1" column="2">
-            <widget class="QLabel" name="label_27">
              <property name="text">
-              <string>mm/s^2</string>
+              <string>减速度</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
@@ -2098,7 +2077,12 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
             </widget>
            </item>
            <item row="2" column="0">
-            <widget class="QLabel" name="label_23">
+            <widget class="QLabel" name="label_169">
+             <property name="font">
+              <font>
+               <pointsize>9</pointsize>
+              </font>
+             </property>
              <property name="text">
               <string>最大速度</string>
              </property>
@@ -2107,66 +2091,60 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
              </property>
             </widget>
            </item>
-           <item row="2" column="1">
-            <widget class="QLineEdit" name="lineEditMaxvY">
+           <item row="2" column="2">
+            <widget class="QLabel" name="label_171">
+             <property name="font">
+              <font>
+               <pointsize>9</pointsize>
+              </font>
+             </property>
              <property name="text">
-              <string>000.000</string>
+              <string>mm/s</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
-           <item row="2" column="2">
-            <widget class="QLabel" name="label_28">
+           <item row="1" column="1">
+            <widget class="QLineEdit" name="lineEditDecX">
+             <property name="font">
+              <font>
+               <pointsize>9</pointsize>
+              </font>
+             </property>
              <property name="text">
-              <string>mm/s</string>
+              <string>000.000</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
-          </layout>
-         </widget>
-        </item>
-        <item row="0" column="0">
-         <widget class="QGroupBox" name="groupBox_7">
-          <property name="font">
-           <font>
-            <pointsize>10</pointsize>
-            <weight>50</weight>
-            <bold>false</bold>
-           </font>
-          </property>
-          <property name="title">
-           <string>轴x</string>
-          </property>
-          <layout class="QGridLayout" name="gridLayout_3">
-           <item row="2" column="0">
-            <widget class="QLabel" name="label_18">
+           <item row="0" column="0">
+            <widget class="QLabel" name="label_172">
              <property name="font">
               <font>
                <pointsize>9</pointsize>
               </font>
              </property>
              <property name="text">
-              <string>最大速度</string>
+              <string>加速度</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
-           <item row="0" column="1">
-            <widget class="QLineEdit" name="lineEditAccX">
+           <item row="1" column="2">
+            <widget class="QLabel" name="label_174">
              <property name="font">
               <font>
                <pointsize>9</pointsize>
               </font>
              </property>
              <property name="text">
-              <string>000.000</string>
+              <string>mm/s^2</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
@@ -2188,30 +2166,49 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
              </property>
             </widget>
            </item>
-           <item row="1" column="0">
-            <widget class="QLabel" name="label_17">
-             <property name="font">
-              <font>
-               <pointsize>9</pointsize>
-              </font>
+          </layout>
+         </widget>
+        </item>
+        <item row="0" column="1">
+         <widget class="QGroupBox" name="groupBox_47">
+          <property name="title">
+           <string>轴y</string>
+          </property>
+          <layout class="QGridLayout" name="gridLayout_73">
+           <item row="0" column="0">
+            <widget class="QLabel" name="label_163">
+             <property name="text">
+              <string>加速度</string>
+             </property>
+             <property name="alignment">
+              <set>Qt::AlignCenter</set>
              </property>
+            </widget>
+           </item>
+           <item row="0" column="1">
+            <widget class="QLineEdit" name="lineEditAccY">
              <property name="text">
-              <string>减速度</string>
+              <string>000.000</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
-           <item row="2" column="2">
-            <widget class="QLabel" name="label_21">
-             <property name="font">
-              <font>
-               <pointsize>9</pointsize>
-              </font>
+           <item row="0" column="2">
+            <widget class="QLabel" name="label_164">
+             <property name="text">
+              <string>mm/s^2</string>
+             </property>
+             <property name="alignment">
+              <set>Qt::AlignCenter</set>
              </property>
+            </widget>
+           </item>
+           <item row="1" column="0">
+            <widget class="QLabel" name="label_165">
              <property name="text">
-              <string>mm/s</string>
+              <string>减速度</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
@@ -2219,12 +2216,7 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
             </widget>
            </item>
            <item row="1" column="1">
-            <widget class="QLineEdit" name="lineEditDecX">
-             <property name="font">
-              <font>
-               <pointsize>9</pointsize>
-              </font>
-             </property>
+            <widget class="QLineEdit" name="lineEditDecY">
              <property name="text">
               <string>000.000</string>
              </property>
@@ -2233,45 +2225,40 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
              </property>
             </widget>
            </item>
-           <item row="0" column="0">
-            <widget class="QLabel" name="label_16">
-             <property name="font">
-              <font>
-               <pointsize>9</pointsize>
-              </font>
-             </property>
+           <item row="1" column="2">
+            <widget class="QLabel" name="label_166">
              <property name="text">
-              <string>加速度</string>
+              <string>mm/s^2</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
-           <item row="0" column="2">
-            <widget class="QLabel" name="label_19">
-             <property name="font">
-              <font>
-               <pointsize>9</pointsize>
-              </font>
-             </property>
+           <item row="2" column="0">
+            <widget class="QLabel" name="label_167">
              <property name="text">
-              <string>mm/s^2</string>
+              <string>最大速度</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
              </property>
             </widget>
            </item>
-           <item row="1" column="2">
-            <widget class="QLabel" name="label_20">
-             <property name="font">
-              <font>
-               <pointsize>9</pointsize>
-              </font>
+           <item row="2" column="1">
+            <widget class="QLineEdit" name="lineEditMaxvY">
+             <property name="text">
+              <string>000.000</string>
+             </property>
+             <property name="alignment">
+              <set>Qt::AlignCenter</set>
              </property>
+            </widget>
+           </item>
+           <item row="2" column="2">
+            <widget class="QLabel" name="label_168">
              <property name="text">
-              <string>mm/s^2</string>
+              <string>mm/s</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignCenter</set>
@@ -2281,12 +2268,38 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
           </layout>
          </widget>
         </item>
-        <item row="3" column="1">
-         <widget class="QGroupBox" name="groupBox_6">
+        <item row="1" column="1">
+         <spacer name="verticalSpacer_13">
+          <property name="orientation">
+           <enum>Qt::Vertical</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>20</width>
+            <height>139</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item row="2" column="0">
+         <spacer name="verticalSpacer_14">
+          <property name="orientation">
+           <enum>Qt::Vertical</enum>
+          </property>
+          <property name="sizeHint" stdset="0">
+           <size>
+            <width>20</width>
+            <height>138</height>
+           </size>
+          </property>
+         </spacer>
+        </item>
+        <item row="2" column="1">
+         <widget class="QGroupBox" name="groupBox_48">
           <property name="title">
            <string/>
           </property>
-          <layout class="QHBoxLayout" name="horizontalLayout_16">
+          <layout class="QHBoxLayout" name="horizontalLayout_7">
            <item>
             <widget class="QPushButton" name="pushButtonTempSaved">
              <property name="text">
@@ -2321,364 +2334,28 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
              </property>
             </widget>
            </item>
+           <item>
+            <widget class="QPushButton" name="pushButtonTempSaved_7">
+             <property name="text">
+              <string>恢复默认</string>
+             </property>
+             <property name="icon">
+              <iconset resource="CGH_Printer.qrc">
+               <normaloff>:/CGH_Printer/Configure/IMG/zeroblue.png</normaloff>:/CGH_Printer/Configure/IMG/zeroblue.png</iconset>
+             </property>
+             <property name="iconSize">
+              <size>
+               <width>20</width>
+               <height>20</height>
+              </size>
+             </property>
+            </widget>
+           </item>
           </layout>
          </widget>
         </item>
-        <item row="3" column="0">
-         <spacer name="verticalSpacer_4">
-          <property name="orientation">
-           <enum>Qt::Vertical</enum>
-          </property>
-          <property name="sizeHint" stdset="0">
-           <size>
-            <width>20</width>
-            <height>40</height>
-           </size>
-          </property>
-         </spacer>
-        </item>
        </layout>
       </widget>
-      <widget class="QWidget" name="tab_8">
-       <attribute name="icon">
-        <iconset resource="CGH_Printer.qrc">
-         <normaloff>:/CGH_Printer/Configure/IMG/set.png</normaloff>:/CGH_Printer/Configure/IMG/set.png</iconset>
-       </attribute>
-       <attribute name="title">
-        <string>配置(新)</string>
-       </attribute>
-       <widget class="QWidget" name="layoutWidget">
-        <property name="geometry">
-         <rect>
-          <x>20</x>
-          <y>13</y>
-          <width>791</width>
-          <height>391</height>
-         </rect>
-        </property>
-        <layout class="QGridLayout" name="gridLayout_75">
-         <item row="0" column="0">
-          <widget class="QGroupBox" name="groupBox_49">
-           <property name="font">
-            <font>
-             <pointsize>10</pointsize>
-             <weight>50</weight>
-             <bold>false</bold>
-            </font>
-           </property>
-           <property name="title">
-            <string>轴x</string>
-           </property>
-           <layout class="QGridLayout" name="gridLayout_74">
-            <item row="0" column="1">
-             <widget class="QLineEdit" name="lineEditAccX_7">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>000.000</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="2">
-             <widget class="QLabel" name="label_173">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>mm/s^2</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="1" column="0">
-             <widget class="QLabel" name="label_170">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>减速度</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="0">
-             <widget class="QLabel" name="label_169">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>最大速度</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="2">
-             <widget class="QLabel" name="label_171">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>mm/s</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="1" column="1">
-             <widget class="QLineEdit" name="lineEditDecX_7">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>000.000</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="0">
-             <widget class="QLabel" name="label_172">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>加速度</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="1" column="2">
-             <widget class="QLabel" name="label_174">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>mm/s^2</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="1">
-             <widget class="QLineEdit" name="lineEditMaxvX_7">
-              <property name="font">
-               <font>
-                <pointsize>9</pointsize>
-               </font>
-              </property>
-              <property name="text">
-               <string>000.000</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-           </layout>
-          </widget>
-         </item>
-         <item row="0" column="1">
-          <widget class="QGroupBox" name="groupBox_47">
-           <property name="title">
-            <string>轴y</string>
-           </property>
-           <layout class="QGridLayout" name="gridLayout_73">
-            <item row="0" column="0">
-             <widget class="QLabel" name="label_163">
-              <property name="text">
-               <string>加速度</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="1">
-             <widget class="QLineEdit" name="lineEditAccY_7">
-              <property name="text">
-               <string>000.000</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="0" column="2">
-             <widget class="QLabel" name="label_164">
-              <property name="text">
-               <string>mm/s^2</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="1" column="0">
-             <widget class="QLabel" name="label_165">
-              <property name="text">
-               <string>减速度</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="1" column="1">
-             <widget class="QLineEdit" name="lineEditDecY_7">
-              <property name="text">
-               <string>000.000</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="1" column="2">
-             <widget class="QLabel" name="label_166">
-              <property name="text">
-               <string>mm/s^2</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="0">
-             <widget class="QLabel" name="label_167">
-              <property name="text">
-               <string>最大速度</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="1">
-             <widget class="QLineEdit" name="lineEditMaxvY_7">
-              <property name="text">
-               <string>000.000</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-            <item row="2" column="2">
-             <widget class="QLabel" name="label_168">
-              <property name="text">
-               <string>mm/s</string>
-              </property>
-              <property name="alignment">
-               <set>Qt::AlignCenter</set>
-              </property>
-             </widget>
-            </item>
-           </layout>
-          </widget>
-         </item>
-         <item row="1" column="1">
-          <spacer name="verticalSpacer_13">
-           <property name="orientation">
-            <enum>Qt::Vertical</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>20</width>
-             <height>40</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item row="2" column="0">
-          <spacer name="verticalSpacer_14">
-           <property name="orientation">
-            <enum>Qt::Vertical</enum>
-           </property>
-           <property name="sizeHint" stdset="0">
-            <size>
-             <width>20</width>
-             <height>40</height>
-            </size>
-           </property>
-          </spacer>
-         </item>
-         <item row="2" column="1">
-          <widget class="QGroupBox" name="groupBox_48">
-           <property name="title">
-            <string/>
-           </property>
-           <layout class="QHBoxLayout" name="horizontalLayout_45">
-            <item>
-             <widget class="QPushButton" name="pushButtonTempSaved_7">
-              <property name="text">
-               <string>恢复默认</string>
-              </property>
-              <property name="icon">
-               <iconset resource="CGH_Printer.qrc">
-                <normaloff>:/CGH_Printer/Configure/IMG/zeroblue.png</normaloff>:/CGH_Printer/Configure/IMG/zeroblue.png</iconset>
-              </property>
-              <property name="iconSize">
-               <size>
-                <width>20</width>
-                <height>20</height>
-               </size>
-              </property>
-             </widget>
-            </item>
-            <item>
-             <widget class="QPushButton" name="pushButtonPermSaved_7">
-              <property name="text">
-               <string> 永久保存</string>
-              </property>
-              <property name="icon">
-               <iconset resource="CGH_Printer.qrc">
-                <normaloff>:/CGH_Printer/Configure/IMG/saveblue.png</normaloff>:/CGH_Printer/Configure/IMG/saveblue.png</iconset>
-              </property>
-              <property name="iconSize">
-               <size>
-                <width>15</width>
-                <height>20</height>
-               </size>
-              </property>
-             </widget>
-            </item>
-           </layout>
-          </widget>
-         </item>
-        </layout>
-       </widget>
-      </widget>
      </widget>
     </item>
    </layout>

+ 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-12-13T04:58:40.6431131Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2023-02-11T07:33:38.2497108Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-12-13T04:58:40.7451358Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2023-02-11T07:33:38.3097240Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <QtLastBackgroundBuild>2022-12-13T04:58:40.8331560Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2023-02-11T07:33:38.3652403Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-12-13T04:58:40.8901688Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2023-02-11T07:33:38.4212535Z</QtLastBackgroundBuild>
   </PropertyGroup>
 </Project>

BIN
Configure/IMG/Equipment_2.png


+ 1 - 0
Include/CGH_Printer.h

@@ -303,6 +303,7 @@ private:
     const unsigned int Acc = 0xB;
     const unsigned int Dec = 0xC;
     const unsigned int Maxv = 0x49;
+    const char *szPassword = "100";
 
     bool PRINTSTOP;
 };

+ 91 - 315
Include/ui_CGH_Printer.h

@@ -1,13 +1,13 @@
 /********************************************************************************
-** Form generated from reading UI file 'CGH_PrinterZLXzhV.ui'
+** Form generated from reading UI file 'CGH_PrinterbJZujz.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_PRINTERZLXZHV_H
-#define CGH_PRINTERZLXZHV_H
+#ifndef CGH_PRINTERBJZUJZ_H
+#define CGH_PRINTERBJZUJZ_H
 
 #include <CGH_TabWidget.h>
 #include <QtCore/QVariant>
@@ -163,67 +163,37 @@ public:
     QPushButton *pushButtonSnapshot;
     QSpacerItem *verticalSpacer_2;
     QWidget *widgetCCD;
-    QWidget *tab_6;
-    QGridLayout *gridLayout_10;
-    QSpacerItem *verticalSpacer_3;
-    QGroupBox *groupBox_4;
-    QGridLayout *gridLayout_4;
-    QLabel *label_6;
-    QLineEdit *lineEditAccY;
-    QLabel *label_26;
-    QLabel *label_22;
-    QLineEdit *lineEditDecY;
-    QLabel *label_27;
-    QLabel *label_23;
-    QLineEdit *lineEditMaxvY;
-    QLabel *label_28;
-    QGroupBox *groupBox_7;
-    QGridLayout *gridLayout_3;
-    QLabel *label_18;
-    QLineEdit *lineEditAccX;
-    QLineEdit *lineEditMaxvX;
-    QLabel *label_17;
-    QLabel *label_21;
-    QLineEdit *lineEditDecX;
-    QLabel *label_16;
-    QLabel *label_19;
-    QLabel *label_20;
-    QGroupBox *groupBox_6;
-    QHBoxLayout *horizontalLayout_16;
-    QPushButton *pushButtonTempSaved;
-    QPushButton *pushButtonPermSaved;
-    QSpacerItem *verticalSpacer_4;
     QWidget *tab_8;
-    QWidget *layoutWidget;
-    QGridLayout *gridLayout_75;
+    QGridLayout *gridLayout_14;
     QGroupBox *groupBox_49;
     QGridLayout *gridLayout_74;
-    QLineEdit *lineEditAccX_7;
+    QLineEdit *lineEditAccX;
     QLabel *label_173;
     QLabel *label_170;
     QLabel *label_169;
     QLabel *label_171;
-    QLineEdit *lineEditDecX_7;
+    QLineEdit *lineEditDecX;
     QLabel *label_172;
     QLabel *label_174;
-    QLineEdit *lineEditMaxvX_7;
+    QLineEdit *lineEditMaxvX;
     QGroupBox *groupBox_47;
     QGridLayout *gridLayout_73;
     QLabel *label_163;
-    QLineEdit *lineEditAccY_7;
+    QLineEdit *lineEditAccY;
     QLabel *label_164;
     QLabel *label_165;
-    QLineEdit *lineEditDecY_7;
+    QLineEdit *lineEditDecY;
     QLabel *label_166;
     QLabel *label_167;
-    QLineEdit *lineEditMaxvY_7;
+    QLineEdit *lineEditMaxvY;
     QLabel *label_168;
     QSpacerItem *verticalSpacer_13;
     QSpacerItem *verticalSpacer_14;
     QGroupBox *groupBox_48;
-    QHBoxLayout *horizontalLayout_45;
+    QHBoxLayout *horizontalLayout_7;
+    QPushButton *pushButtonTempSaved;
+    QPushButton *pushButtonPermSaved;
     QPushButton *pushButtonTempSaved_7;
-    QPushButton *pushButtonPermSaved_7;
 
     void setupUi(QMainWindow *CGH_PrinterClass)
     {
@@ -480,7 +450,7 @@ public:
         labelEquipment->setMinimumSize(QSize(612, 408));
         labelEquipment->setMaximumSize(QSize(612, 408));
         labelEquipment->setFont(font);
-        labelEquipment->setPixmap(QPixmap(QString::fromUtf8(":/CGH_Printer/Configure/IMG/Equipment.png")));
+        labelEquipment->setPixmap(QPixmap(QString::fromUtf8(":/CGH_Printer/Configure/IMG/Equipment_2.png")));
         labelEquipment->setScaledContents(true);
         labelEquipment->setAlignment(Qt::AlignCenter);
 
@@ -865,7 +835,7 @@ public:
         scrollAreaWork->setAlignment(Qt::AlignCenter);
         scrollAreaWidgetContents = new QWidget();
         scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
-        scrollAreaWidgetContents->setGeometry(QRect(0, 0, 724, 356));
+        scrollAreaWidgetContents->setGeometry(QRect(0, 0, 689, 341));
         verticalLayout = new QVBoxLayout(scrollAreaWidgetContents);
         verticalLayout->setSpacing(6);
         verticalLayout->setContentsMargins(11, 11, 11, 11);
@@ -1226,209 +1196,25 @@ public:
         QIcon icon21;
         icon21.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/light.png"), QSize(), QIcon::Normal, QIcon::Off);
         tabWidget->addTab(tab_5, icon21, QString());
-        tab_6 = new QWidget();
-        tab_6->setObjectName(QString::fromUtf8("tab_6"));
-        gridLayout_10 = new QGridLayout(tab_6);
-        gridLayout_10->setSpacing(6);
-        gridLayout_10->setContentsMargins(11, 11, 11, 11);
-        gridLayout_10->setObjectName(QString::fromUtf8("gridLayout_10"));
-        verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
-        gridLayout_10->addItem(verticalSpacer_3, 2, 1, 1, 1);
-
-        groupBox_4 = new QGroupBox(tab_6);
-        groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
-        gridLayout_4 = new QGridLayout(groupBox_4);
-        gridLayout_4->setSpacing(6);
-        gridLayout_4->setContentsMargins(11, 11, 11, 11);
-        gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
-        label_6 = new QLabel(groupBox_4);
-        label_6->setObjectName(QString::fromUtf8("label_6"));
-        label_6->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(label_6, 0, 0, 1, 1);
-
-        lineEditAccY = new QLineEdit(groupBox_4);
-        lineEditAccY->setObjectName(QString::fromUtf8("lineEditAccY"));
-        lineEditAccY->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(lineEditAccY, 0, 1, 1, 1);
-
-        label_26 = new QLabel(groupBox_4);
-        label_26->setObjectName(QString::fromUtf8("label_26"));
-        label_26->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(label_26, 0, 2, 1, 1);
-
-        label_22 = new QLabel(groupBox_4);
-        label_22->setObjectName(QString::fromUtf8("label_22"));
-        label_22->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(label_22, 1, 0, 1, 1);
-
-        lineEditDecY = new QLineEdit(groupBox_4);
-        lineEditDecY->setObjectName(QString::fromUtf8("lineEditDecY"));
-        lineEditDecY->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(lineEditDecY, 1, 1, 1, 1);
-
-        label_27 = new QLabel(groupBox_4);
-        label_27->setObjectName(QString::fromUtf8("label_27"));
-        label_27->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(label_27, 1, 2, 1, 1);
-
-        label_23 = new QLabel(groupBox_4);
-        label_23->setObjectName(QString::fromUtf8("label_23"));
-        label_23->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(label_23, 2, 0, 1, 1);
-
-        lineEditMaxvY = new QLineEdit(groupBox_4);
-        lineEditMaxvY->setObjectName(QString::fromUtf8("lineEditMaxvY"));
-        lineEditMaxvY->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(lineEditMaxvY, 2, 1, 1, 1);
-
-        label_28 = new QLabel(groupBox_4);
-        label_28->setObjectName(QString::fromUtf8("label_28"));
-        label_28->setAlignment(Qt::AlignCenter);
-
-        gridLayout_4->addWidget(label_28, 2, 2, 1, 1);
-
-
-        gridLayout_10->addWidget(groupBox_4, 0, 1, 1, 1);
-
-        groupBox_7 = new QGroupBox(tab_6);
-        groupBox_7->setObjectName(QString::fromUtf8("groupBox_7"));
-        groupBox_7->setFont(font2);
-        gridLayout_3 = new QGridLayout(groupBox_7);
-        gridLayout_3->setSpacing(6);
-        gridLayout_3->setContentsMargins(11, 11, 11, 11);
-        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
-        label_18 = new QLabel(groupBox_7);
-        label_18->setObjectName(QString::fromUtf8("label_18"));
-        label_18->setFont(font);
-        label_18->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(label_18, 2, 0, 1, 1);
-
-        lineEditAccX = new QLineEdit(groupBox_7);
-        lineEditAccX->setObjectName(QString::fromUtf8("lineEditAccX"));
-        lineEditAccX->setFont(font);
-        lineEditAccX->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(lineEditAccX, 0, 1, 1, 1);
-
-        lineEditMaxvX = new QLineEdit(groupBox_7);
-        lineEditMaxvX->setObjectName(QString::fromUtf8("lineEditMaxvX"));
-        lineEditMaxvX->setFont(font);
-        lineEditMaxvX->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(lineEditMaxvX, 2, 1, 1, 1);
-
-        label_17 = new QLabel(groupBox_7);
-        label_17->setObjectName(QString::fromUtf8("label_17"));
-        label_17->setFont(font);
-        label_17->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(label_17, 1, 0, 1, 1);
-
-        label_21 = new QLabel(groupBox_7);
-        label_21->setObjectName(QString::fromUtf8("label_21"));
-        label_21->setFont(font);
-        label_21->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(label_21, 2, 2, 1, 1);
-
-        lineEditDecX = new QLineEdit(groupBox_7);
-        lineEditDecX->setObjectName(QString::fromUtf8("lineEditDecX"));
-        lineEditDecX->setFont(font);
-        lineEditDecX->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(lineEditDecX, 1, 1, 1, 1);
-
-        label_16 = new QLabel(groupBox_7);
-        label_16->setObjectName(QString::fromUtf8("label_16"));
-        label_16->setFont(font);
-        label_16->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(label_16, 0, 0, 1, 1);
-
-        label_19 = new QLabel(groupBox_7);
-        label_19->setObjectName(QString::fromUtf8("label_19"));
-        label_19->setFont(font);
-        label_19->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(label_19, 0, 2, 1, 1);
-
-        label_20 = new QLabel(groupBox_7);
-        label_20->setObjectName(QString::fromUtf8("label_20"));
-        label_20->setFont(font);
-        label_20->setAlignment(Qt::AlignCenter);
-
-        gridLayout_3->addWidget(label_20, 1, 2, 1, 1);
-
-
-        gridLayout_10->addWidget(groupBox_7, 0, 0, 1, 1);
-
-        groupBox_6 = new QGroupBox(tab_6);
-        groupBox_6->setObjectName(QString::fromUtf8("groupBox_6"));
-        horizontalLayout_16 = new QHBoxLayout(groupBox_6);
-        horizontalLayout_16->setSpacing(6);
-        horizontalLayout_16->setContentsMargins(11, 11, 11, 11);
-        horizontalLayout_16->setObjectName(QString::fromUtf8("horizontalLayout_16"));
-        pushButtonTempSaved = new QPushButton(groupBox_6);
-        pushButtonTempSaved->setObjectName(QString::fromUtf8("pushButtonTempSaved"));
-        QIcon icon22;
-        icon22.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/shot.png"), QSize(), QIcon::Normal, QIcon::Off);
-        pushButtonTempSaved->setIcon(icon22);
-        pushButtonTempSaved->setIconSize(QSize(20, 20));
-
-        horizontalLayout_16->addWidget(pushButtonTempSaved);
-
-        pushButtonPermSaved = new QPushButton(groupBox_6);
-        pushButtonPermSaved->setObjectName(QString::fromUtf8("pushButtonPermSaved"));
-        QIcon icon23;
-        icon23.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/saveblue.png"), QSize(), QIcon::Normal, QIcon::Off);
-        pushButtonPermSaved->setIcon(icon23);
-        pushButtonPermSaved->setIconSize(QSize(15, 20));
-
-        horizontalLayout_16->addWidget(pushButtonPermSaved);
-
-
-        gridLayout_10->addWidget(groupBox_6, 3, 1, 1, 1);
-
-        verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
-
-        gridLayout_10->addItem(verticalSpacer_4, 3, 0, 1, 1);
-
-        QIcon icon24;
-        icon24.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/set.png"), QSize(), QIcon::Normal, QIcon::Off);
-        tabWidget->addTab(tab_6, icon24, QString());
         tab_8 = new QWidget();
         tab_8->setObjectName(QString::fromUtf8("tab_8"));
-        layoutWidget = new QWidget(tab_8);
-        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
-        layoutWidget->setGeometry(QRect(20, 13, 791, 391));
-        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);
-        groupBox_49 = new QGroupBox(layoutWidget);
+        gridLayout_14 = new QGridLayout(tab_8);
+        gridLayout_14->setSpacing(6);
+        gridLayout_14->setContentsMargins(11, 11, 11, 11);
+        gridLayout_14->setObjectName(QString::fromUtf8("gridLayout_14"));
+        groupBox_49 = new QGroupBox(tab_8);
         groupBox_49->setObjectName(QString::fromUtf8("groupBox_49"));
         groupBox_49->setFont(font2);
         gridLayout_74 = new QGridLayout(groupBox_49);
         gridLayout_74->setSpacing(6);
         gridLayout_74->setContentsMargins(11, 11, 11, 11);
         gridLayout_74->setObjectName(QString::fromUtf8("gridLayout_74"));
-        lineEditAccX_7 = new QLineEdit(groupBox_49);
-        lineEditAccX_7->setObjectName(QString::fromUtf8("lineEditAccX_7"));
-        lineEditAccX_7->setFont(font);
-        lineEditAccX_7->setAlignment(Qt::AlignCenter);
+        lineEditAccX = new QLineEdit(groupBox_49);
+        lineEditAccX->setObjectName(QString::fromUtf8("lineEditAccX"));
+        lineEditAccX->setFont(font);
+        lineEditAccX->setAlignment(Qt::AlignCenter);
 
-        gridLayout_74->addWidget(lineEditAccX_7, 0, 1, 1, 1);
+        gridLayout_74->addWidget(lineEditAccX, 0, 1, 1, 1);
 
         label_173 = new QLabel(groupBox_49);
         label_173->setObjectName(QString::fromUtf8("label_173"));
@@ -1458,12 +1244,12 @@ public:
 
         gridLayout_74->addWidget(label_171, 2, 2, 1, 1);
 
-        lineEditDecX_7 = new QLineEdit(groupBox_49);
-        lineEditDecX_7->setObjectName(QString::fromUtf8("lineEditDecX_7"));
-        lineEditDecX_7->setFont(font);
-        lineEditDecX_7->setAlignment(Qt::AlignCenter);
+        lineEditDecX = new QLineEdit(groupBox_49);
+        lineEditDecX->setObjectName(QString::fromUtf8("lineEditDecX"));
+        lineEditDecX->setFont(font);
+        lineEditDecX->setAlignment(Qt::AlignCenter);
 
-        gridLayout_74->addWidget(lineEditDecX_7, 1, 1, 1, 1);
+        gridLayout_74->addWidget(lineEditDecX, 1, 1, 1, 1);
 
         label_172 = new QLabel(groupBox_49);
         label_172->setObjectName(QString::fromUtf8("label_172"));
@@ -1479,17 +1265,17 @@ public:
 
         gridLayout_74->addWidget(label_174, 1, 2, 1, 1);
 
-        lineEditMaxvX_7 = new QLineEdit(groupBox_49);
-        lineEditMaxvX_7->setObjectName(QString::fromUtf8("lineEditMaxvX_7"));
-        lineEditMaxvX_7->setFont(font);
-        lineEditMaxvX_7->setAlignment(Qt::AlignCenter);
+        lineEditMaxvX = new QLineEdit(groupBox_49);
+        lineEditMaxvX->setObjectName(QString::fromUtf8("lineEditMaxvX"));
+        lineEditMaxvX->setFont(font);
+        lineEditMaxvX->setAlignment(Qt::AlignCenter);
 
-        gridLayout_74->addWidget(lineEditMaxvX_7, 2, 1, 1, 1);
+        gridLayout_74->addWidget(lineEditMaxvX, 2, 1, 1, 1);
 
 
-        gridLayout_75->addWidget(groupBox_49, 0, 0, 1, 1);
+        gridLayout_14->addWidget(groupBox_49, 0, 0, 1, 1);
 
-        groupBox_47 = new QGroupBox(layoutWidget);
+        groupBox_47 = new QGroupBox(tab_8);
         groupBox_47->setObjectName(QString::fromUtf8("groupBox_47"));
         gridLayout_73 = new QGridLayout(groupBox_47);
         gridLayout_73->setSpacing(6);
@@ -1501,11 +1287,11 @@ public:
 
         gridLayout_73->addWidget(label_163, 0, 0, 1, 1);
 
-        lineEditAccY_7 = new QLineEdit(groupBox_47);
-        lineEditAccY_7->setObjectName(QString::fromUtf8("lineEditAccY_7"));
-        lineEditAccY_7->setAlignment(Qt::AlignCenter);
+        lineEditAccY = new QLineEdit(groupBox_47);
+        lineEditAccY->setObjectName(QString::fromUtf8("lineEditAccY"));
+        lineEditAccY->setAlignment(Qt::AlignCenter);
 
-        gridLayout_73->addWidget(lineEditAccY_7, 0, 1, 1, 1);
+        gridLayout_73->addWidget(lineEditAccY, 0, 1, 1, 1);
 
         label_164 = new QLabel(groupBox_47);
         label_164->setObjectName(QString::fromUtf8("label_164"));
@@ -1519,11 +1305,11 @@ public:
 
         gridLayout_73->addWidget(label_165, 1, 0, 1, 1);
 
-        lineEditDecY_7 = new QLineEdit(groupBox_47);
-        lineEditDecY_7->setObjectName(QString::fromUtf8("lineEditDecY_7"));
-        lineEditDecY_7->setAlignment(Qt::AlignCenter);
+        lineEditDecY = new QLineEdit(groupBox_47);
+        lineEditDecY->setObjectName(QString::fromUtf8("lineEditDecY"));
+        lineEditDecY->setAlignment(Qt::AlignCenter);
 
-        gridLayout_73->addWidget(lineEditDecY_7, 1, 1, 1, 1);
+        gridLayout_73->addWidget(lineEditDecY, 1, 1, 1, 1);
 
         label_166 = new QLabel(groupBox_47);
         label_166->setObjectName(QString::fromUtf8("label_166"));
@@ -1537,11 +1323,11 @@ public:
 
         gridLayout_73->addWidget(label_167, 2, 0, 1, 1);
 
-        lineEditMaxvY_7 = new QLineEdit(groupBox_47);
-        lineEditMaxvY_7->setObjectName(QString::fromUtf8("lineEditMaxvY_7"));
-        lineEditMaxvY_7->setAlignment(Qt::AlignCenter);
+        lineEditMaxvY = new QLineEdit(groupBox_47);
+        lineEditMaxvY->setObjectName(QString::fromUtf8("lineEditMaxvY"));
+        lineEditMaxvY->setAlignment(Qt::AlignCenter);
 
-        gridLayout_73->addWidget(lineEditMaxvY_7, 2, 1, 1, 1);
+        gridLayout_73->addWidget(lineEditMaxvY, 2, 1, 1, 1);
 
         label_168 = new QLabel(groupBox_47);
         label_168->setObjectName(QString::fromUtf8("label_168"));
@@ -1550,39 +1336,52 @@ public:
         gridLayout_73->addWidget(label_168, 2, 2, 1, 1);
 
 
-        gridLayout_75->addWidget(groupBox_47, 0, 1, 1, 1);
+        gridLayout_14->addWidget(groupBox_47, 0, 1, 1, 1);
 
-        verticalSpacer_13 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+        verticalSpacer_13 = new QSpacerItem(20, 139, QSizePolicy::Minimum, QSizePolicy::Expanding);
 
-        gridLayout_75->addItem(verticalSpacer_13, 1, 1, 1, 1);
+        gridLayout_14->addItem(verticalSpacer_13, 1, 1, 1, 1);
 
-        verticalSpacer_14 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
+        verticalSpacer_14 = new QSpacerItem(20, 138, QSizePolicy::Minimum, QSizePolicy::Expanding);
 
-        gridLayout_75->addItem(verticalSpacer_14, 2, 0, 1, 1);
+        gridLayout_14->addItem(verticalSpacer_14, 2, 0, 1, 1);
 
-        groupBox_48 = new QGroupBox(layoutWidget);
+        groupBox_48 = new QGroupBox(tab_8);
         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"));
+        horizontalLayout_7 = new QHBoxLayout(groupBox_48);
+        horizontalLayout_7->setSpacing(6);
+        horizontalLayout_7->setContentsMargins(11, 11, 11, 11);
+        horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7"));
+        pushButtonTempSaved = new QPushButton(groupBox_48);
+        pushButtonTempSaved->setObjectName(QString::fromUtf8("pushButtonTempSaved"));
+        QIcon icon22;
+        icon22.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/shot.png"), QSize(), QIcon::Normal, QIcon::Off);
+        pushButtonTempSaved->setIcon(icon22);
+        pushButtonTempSaved->setIconSize(QSize(20, 20));
+
+        horizontalLayout_7->addWidget(pushButtonTempSaved);
+
+        pushButtonPermSaved = new QPushButton(groupBox_48);
+        pushButtonPermSaved->setObjectName(QString::fromUtf8("pushButtonPermSaved"));
+        QIcon icon23;
+        icon23.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/saveblue.png"), QSize(), QIcon::Normal, QIcon::Off);
+        pushButtonPermSaved->setIcon(icon23);
+        pushButtonPermSaved->setIconSize(QSize(15, 20));
+
+        horizontalLayout_7->addWidget(pushButtonPermSaved);
+
         pushButtonTempSaved_7 = new QPushButton(groupBox_48);
         pushButtonTempSaved_7->setObjectName(QString::fromUtf8("pushButtonTempSaved_7"));
         pushButtonTempSaved_7->setIcon(icon6);
         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(icon23);
-        pushButtonPermSaved_7->setIconSize(QSize(15, 20));
+        horizontalLayout_7->addWidget(pushButtonTempSaved_7);
 
-        horizontalLayout_45->addWidget(pushButtonPermSaved_7);
 
+        gridLayout_14->addWidget(groupBox_48, 2, 1, 1, 1);
 
-        gridLayout_75->addWidget(groupBox_48, 2, 1, 1, 1);
-
+        QIcon icon24;
+        icon24.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/set.png"), QSize(), QIcon::Normal, QIcon::Off);
         tabWidget->addTab(tab_8, icon24, QString());
 
         verticalLayout_3->addWidget(tabWidget);
@@ -1673,54 +1472,31 @@ public:
         pushButtonPreview->setText(QCoreApplication::translate("CGH_PrinterClass", " \351\242\204\350\247\210", nullptr));
         pushButtonSnapshot->setText(QCoreApplication::translate("CGH_PrinterClass", " \346\210\252\345\233\276", nullptr));
         tabWidget->setTabText(tabWidget->indexOf(tab_5), QCoreApplication::translate("CGH_PrinterClass", "\345\205\211\350\267\257", nullptr));
-        groupBox_4->setTitle(QCoreApplication::translate("CGH_PrinterClass", "\350\275\264y", nullptr));
-        label_6->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\212\240\351\200\237\345\272\246", nullptr));
-        lineEditAccY->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        label_26->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
-        label_22->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\207\217\351\200\237\345\272\246", nullptr));
-        lineEditDecY->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        label_27->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
-        label_23->setText(QCoreApplication::translate("CGH_PrinterClass", "\346\234\200\345\244\247\351\200\237\345\272\246", nullptr));
-        lineEditMaxvY->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        label_28->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s", nullptr));
-        groupBox_7->setTitle(QCoreApplication::translate("CGH_PrinterClass", "\350\275\264x", nullptr));
-        label_18->setText(QCoreApplication::translate("CGH_PrinterClass", "\346\234\200\345\244\247\351\200\237\345\272\246", nullptr));
-        lineEditAccX->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        lineEditMaxvX->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        label_17->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\207\217\351\200\237\345\272\246", nullptr));
-        label_21->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s", nullptr));
-        lineEditDecX->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
-        label_16->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\212\240\351\200\237\345\272\246", nullptr));
-        label_19->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
-        label_20->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
-        groupBox_6->setTitle(QString());
-        pushButtonTempSaved->setText(QCoreApplication::translate("CGH_PrinterClass", "\344\270\264\346\227\266\344\277\235\345\255\230", nullptr));
-        pushButtonPermSaved->setText(QCoreApplication::translate("CGH_PrinterClass", " \346\260\270\344\271\205\344\277\235\345\255\230", nullptr));
-        tabWidget->setTabText(tabWidget->indexOf(tab_6), QCoreApplication::translate("CGH_PrinterClass", "\351\205\215\347\275\256", nullptr));
         groupBox_49->setTitle(QCoreApplication::translate("CGH_PrinterClass", "\350\275\264x", nullptr));
-        lineEditAccX_7->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
+        lineEditAccX->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
         label_173->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
         label_170->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\207\217\351\200\237\345\272\246", nullptr));
         label_169->setText(QCoreApplication::translate("CGH_PrinterClass", "\346\234\200\345\244\247\351\200\237\345\272\246", nullptr));
         label_171->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s", nullptr));
-        lineEditDecX_7->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
+        lineEditDecX->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
         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));
+        lineEditMaxvX->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", 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));
+        lineEditAccY->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
         label_164->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
         label_165->setText(QCoreApplication::translate("CGH_PrinterClass", "\345\207\217\351\200\237\345\272\246", nullptr));
-        lineEditDecY_7->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
+        lineEditDecY->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
         label_166->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s^2", nullptr));
         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));
+        lineEditMaxvY->setText(QCoreApplication::translate("CGH_PrinterClass", "000.000", nullptr));
         label_168->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s", nullptr));
         groupBox_48->setTitle(QString());
+        pushButtonTempSaved->setText(QCoreApplication::translate("CGH_PrinterClass", "\344\270\264\346\227\266\344\277\235\345\255\230", nullptr));
+        pushButtonPermSaved->setText(QCoreApplication::translate("CGH_PrinterClass", " \346\260\270\344\271\205\344\277\235\345\255\230", nullptr));
         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));
-        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));
+        tabWidget->setTabText(tabWidget->indexOf(tab_8), QCoreApplication::translate("CGH_PrinterClass", "\351\205\215\347\275\256", nullptr));
     } // retranslateUi
 
 };
@@ -1731,4 +1507,4 @@ namespace Ui {
 
 QT_END_NAMESPACE
 
-#endif // CGH_PRINTERZLXZHV_H
+#endif // CGH_PRINTERBJZUJZ_H