소스 검색

更改了一些界面,窗口大小暂时调小

DESKTOP-55AB90D\user 2 년 전
부모
커밋
e9d24bdee4
5개의 변경된 파일588개의 추가작업 그리고 15개의 파일을 삭제
  1. 341 1
      CGH_Printer.ui
  2. 4 4
      CGH_Printer.vcxproj
  3. 4 4
      CGH_Printer.vcxproj.user
  4. 238 5
      Include/ui_CGH_Printer.h
  5. 1 1
      main.cpp

+ 341 - 1
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>0</number>
+       <number>6</number>
       </property>
       <property name="elideMode">
        <enum>Qt::ElideNone</enum>
@@ -2933,6 +2933,346 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
         </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="">
+        <property name="geometry">
+         <rect>
+          <x>10</x>
+          <y>3</y>
+          <width>851</width>
+          <height>421</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/shot.png</normaloff>:/CGH_Printer/Configure/IMG/shot.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

@@ -34,15 +34,15 @@
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v143</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|Win32'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v143</PlatformToolset>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>Application</ConfigurationType>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v143</PlatformToolset>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   <ImportGroup Condition="Exists('$(QtMsBuild)\qt_defaults.props')">
@@ -54,7 +54,7 @@
     <QtBuildConfig>debug</QtBuildConfig>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="QtSettings">
-    <QtInstall>5.15.2_msvc2019</QtInstall>
+    <QtInstall>Qt5.15.2_32</QtInstall>
     <QtModules>core;gui;multimedia;widgets;multimediawidgets</QtModules>
     <QtBuildConfig>debug</QtBuildConfig>
   </PropertyGroup>

+ 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-22T00:45:16.6561437Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-24T03:14:07.2528105Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-06-16T06:46:31.0161586Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-24T03:14:07.3428343Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <QtLastBackgroundBuild>2022-11-22T00:45:09.0611728Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-24T03:14:07.4248553Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-06-16T06:46:31.5458195Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-11-24T03:14:07.5298784Z</QtLastBackgroundBuild>
   </PropertyGroup>
 </Project>

+ 238 - 5
Include/ui_CGH_Printer.h

@@ -1,13 +1,13 @@
 /********************************************************************************
-** Form generated from reading UI file 'CGH_PrinteraAdZXM.ui'
+** Form generated from reading UI file 'CGH_PrinterXRFMdA.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_PRINTERAADZXM_H
-#define CGH_PRINTERAADZXM_H
+#ifndef CGH_PRINTERXRFMDA_H
+#define CGH_PRINTERXRFMDA_H
 
 #include <CGH_TabWidget.h>
 #include <QtCore/QVariant>
@@ -239,6 +239,37 @@ public:
     QPushButton *pushButtonTempSaved;
     QPushButton *pushButtonPermSaved;
     QSpacerItem *verticalSpacer_4;
+    QWidget *tab_8;
+    QWidget *widget1;
+    QGridLayout *gridLayout_75;
+    QSpacerItem *verticalSpacer_14;
+    QGroupBox *groupBox_49;
+    QGridLayout *gridLayout_74;
+    QLineEdit *lineEditAccX_7;
+    QLabel *label_173;
+    QLabel *label_170;
+    QLabel *label_169;
+    QLabel *label_171;
+    QLineEdit *lineEditDecX_7;
+    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;
+    QLineEdit *lineEditAccY_7;
+    QLabel *label_164;
+    QLabel *label_165;
+    QLineEdit *lineEditDecY_7;
+    QLabel *label_166;
+    QLabel *label_167;
+    QLineEdit *lineEditMaxvY_7;
+    QLabel *label_168;
 
     void setupUi(QMainWindow *CGH_PrinterClass)
     {
@@ -1713,6 +1744,184 @@ public:
         QIcon icon25;
         icon25.addFile(QString::fromUtf8(":/CGH_Printer/Configure/IMG/set.png"), QSize(), QIcon::Normal, QIcon::Off);
         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);
+        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->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);
+
+        gridLayout_74->addWidget(lineEditAccX_7, 0, 1, 1, 1);
+
+        label_173 = new QLabel(groupBox_49);
+        label_173->setObjectName(QString::fromUtf8("label_173"));
+        label_173->setFont(font);
+        label_173->setAlignment(Qt::AlignCenter);
+
+        gridLayout_74->addWidget(label_173, 0, 2, 1, 1);
+
+        label_170 = new QLabel(groupBox_49);
+        label_170->setObjectName(QString::fromUtf8("label_170"));
+        label_170->setFont(font);
+        label_170->setAlignment(Qt::AlignCenter);
+
+        gridLayout_74->addWidget(label_170, 1, 0, 1, 1);
+
+        label_169 = new QLabel(groupBox_49);
+        label_169->setObjectName(QString::fromUtf8("label_169"));
+        label_169->setFont(font);
+        label_169->setAlignment(Qt::AlignCenter);
+
+        gridLayout_74->addWidget(label_169, 2, 0, 1, 1);
+
+        label_171 = new QLabel(groupBox_49);
+        label_171->setObjectName(QString::fromUtf8("label_171"));
+        label_171->setFont(font);
+        label_171->setAlignment(Qt::AlignCenter);
+
+        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);
+
+        gridLayout_74->addWidget(lineEditDecX_7, 1, 1, 1, 1);
+
+        label_172 = new QLabel(groupBox_49);
+        label_172->setObjectName(QString::fromUtf8("label_172"));
+        label_172->setFont(font);
+        label_172->setAlignment(Qt::AlignCenter);
+
+        gridLayout_74->addWidget(label_172, 0, 0, 1, 1);
+
+        label_174 = new QLabel(groupBox_49);
+        label_174->setObjectName(QString::fromUtf8("label_174"));
+        label_174->setFont(font);
+        label_174->setAlignment(Qt::AlignCenter);
+
+        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);
+
+        gridLayout_74->addWidget(lineEditMaxvX_7, 2, 1, 1, 1);
+
+
+        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->setObjectName(QString::fromUtf8("groupBox_47"));
+        gridLayout_73 = new QGridLayout(groupBox_47);
+        gridLayout_73->setSpacing(6);
+        gridLayout_73->setContentsMargins(11, 11, 11, 11);
+        gridLayout_73->setObjectName(QString::fromUtf8("gridLayout_73"));
+        label_163 = new QLabel(groupBox_47);
+        label_163->setObjectName(QString::fromUtf8("label_163"));
+        label_163->setAlignment(Qt::AlignCenter);
+
+        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);
+
+        gridLayout_73->addWidget(lineEditAccY_7, 0, 1, 1, 1);
+
+        label_164 = new QLabel(groupBox_47);
+        label_164->setObjectName(QString::fromUtf8("label_164"));
+        label_164->setAlignment(Qt::AlignCenter);
+
+        gridLayout_73->addWidget(label_164, 0, 2, 1, 1);
+
+        label_165 = new QLabel(groupBox_47);
+        label_165->setObjectName(QString::fromUtf8("label_165"));
+        label_165->setAlignment(Qt::AlignCenter);
+
+        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);
+
+        gridLayout_73->addWidget(lineEditDecY_7, 1, 1, 1, 1);
+
+        label_166 = new QLabel(groupBox_47);
+        label_166->setObjectName(QString::fromUtf8("label_166"));
+        label_166->setAlignment(Qt::AlignCenter);
+
+        gridLayout_73->addWidget(label_166, 1, 2, 1, 1);
+
+        label_167 = new QLabel(groupBox_47);
+        label_167->setObjectName(QString::fromUtf8("label_167"));
+        label_167->setAlignment(Qt::AlignCenter);
+
+        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);
+
+        gridLayout_73->addWidget(lineEditMaxvY_7, 2, 1, 1, 1);
+
+        label_168 = new QLabel(groupBox_47);
+        label_168->setObjectName(QString::fromUtf8("label_168"));
+        label_168->setAlignment(Qt::AlignCenter);
+
+        gridLayout_73->addWidget(label_168, 2, 2, 1, 1);
+
+
+        gridLayout_75->addWidget(groupBox_47, 0, 1, 1, 1);
+
+        tabWidget->addTab(tab_8, icon25, QString());
 
         verticalLayout_3->addWidget(tabWidget);
 
@@ -1720,7 +1929,7 @@ public:
 
         retranslateUi(CGH_PrinterClass);
 
-        tabWidget->setCurrentIndex(0);
+        tabWidget->setCurrentIndex(7);
 
 
         QMetaObject::connectSlotsByName(CGH_PrinterClass);
@@ -1860,6 +2069,30 @@ public:
         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));
+        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));
+        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));
+        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));
+        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));
+        label_168->setText(QCoreApplication::translate("CGH_PrinterClass", "mm/s", 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
 
 };
@@ -1870,4 +2103,4 @@ namespace Ui {
 
 QT_END_NAMESPACE
 
-#endif // CGH_PRINTERAADZXM_H
+#endif // CGH_PRINTERXRFMDA_H

+ 1 - 1
main.cpp

@@ -25,7 +25,7 @@ int main(int argc, char *argv[])
 
 
 	 //实现全屏显示
-	qputenv("QT_SCALE_FACTOR", "2.0");
+	//qputenv("QT_SCALE_FACTOR", "2.0");
 
 	//QT设计师的预览界面和运行界面不一致解决办法
 	//if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))