Parcourir la source

ui界面,配置(新),手动全息图展示固定16:9

DESKTOP-55AB90D\user il y a 2 ans
Parent
commit
c91a3ba46d
3 fichiers modifiés avec 254 ajouts et 20 suppressions
  1. 3 3
      CGH_Printer.ui
  2. 4 4
      CGH_Printer.vcxproj.user
  3. 247 13
      Include/ui_CGH_Printer.h

+ 3 - 3
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>
@@ -1281,8 +1281,8 @@ QGroupBox{background-color:rgb(235, 235,235);border:1px solid rgb(179, 179, 179)
                <rect>
                 <x>0</x>
                 <y>0</y>
-                <width>689</width>
-                <height>341</height>
+                <width>724</width>
+                <height>356</height>
                </rect>
               </property>
               <layout class="QVBoxLayout" name="verticalLayout">

+ 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-08T11:35:50.5996402Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-12-09T02:17:23.4108015Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-12-08T11:35:50.7354092Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-12-09T02:17:23.5278265Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
-    <QtLastBackgroundBuild>2022-12-08T11:35:50.8457378Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-12-09T02:17:23.6208475Z</QtLastBackgroundBuild>
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="QtSettings">
-    <QtLastBackgroundBuild>2022-12-08T11:35:50.9357384Z</QtLastBackgroundBuild>
+    <QtLastBackgroundBuild>2022-12-09T02:17:23.7211259Z</QtLastBackgroundBuild>
   </PropertyGroup>
 </Project>

+ 247 - 13
Include/ui_CGH_Printer.h

@@ -1,13 +1,13 @@
 /********************************************************************************
-** Form generated from reading UI file 'CGH_PrinteriCJBUL.ui'
+** Form generated from reading UI file 'CGH_PrinteruiSosV.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_PRINTERICJBUL_H
-#define CGH_PRINTERICJBUL_H
+#ifndef CGH_PRINTERUISOSV_H
+#define CGH_PRINTERUISOSV_H
 
 #include <CGH_TabWidget.h>
 #include <QtCore/QVariant>
@@ -68,10 +68,10 @@ public:
     QGroupBox *groupBox_9;
     QGridLayout *gridLayout_12;
     QLabel *labelCGHDisplay;
+    QSpacerItem *horizontalSpacer_2;
     QHBoxLayout *horizontalLayout_18;
     QLineEdit *lineEditCGHName;
     QPushButton *pushButtonLoad;
-    QSpacerItem *horizontalSpacer_2;
     QGroupBox *groupBox_Move_2;
     QGridLayout *gridLayout_11;
     QFrame *line;
@@ -193,6 +193,37 @@ public:
     QPushButton *pushButtonTempSaved;
     QPushButton *pushButtonPermSaved;
     QSpacerItem *verticalSpacer_4;
+    QWidget *tab_8;
+    QWidget *layoutWidget;
+    QGridLayout *gridLayout_75;
+    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;
+    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;
+    QSpacerItem *verticalSpacer_13;
+    QSpacerItem *verticalSpacer_14;
+    QGroupBox *groupBox_48;
+    QHBoxLayout *horizontalLayout_45;
+    QPushButton *pushButtonTempSaved_7;
+    QPushButton *pushButtonPermSaved_7;
 
     void setupUi(QMainWindow *CGH_PrinterClass)
     {
@@ -485,12 +516,17 @@ public:
         sizePolicy1.setHeightForWidth(labelCGHDisplay->sizePolicy().hasHeightForWidth());
         labelCGHDisplay->setSizePolicy(sizePolicy1);
         labelCGHDisplay->setMinimumSize(QSize(0, 0));
+        labelCGHDisplay->setMaximumSize(QSize(16777215, 230));
         labelCGHDisplay->setCursor(QCursor(Qt::UpArrowCursor));
         labelCGHDisplay->setTextFormat(Qt::MarkdownText);
         labelCGHDisplay->setScaledContents(true);
         labelCGHDisplay->setAlignment(Qt::AlignCenter);
 
-        gridLayout_12->addWidget(labelCGHDisplay, 2, 0, 1, 1);
+        gridLayout_12->addWidget(labelCGHDisplay, 3, 0, 1, 1);
+
+        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
+
+        gridLayout_12->addItem(horizontalSpacer_2, 1, 0, 1, 1);
 
         horizontalLayout_18 = new QHBoxLayout();
         horizontalLayout_18->setSpacing(7);
@@ -516,11 +552,7 @@ public:
         horizontalLayout_18->addWidget(pushButtonLoad);
 
 
-        gridLayout_12->addLayout(horizontalLayout_18, 1, 0, 1, 1);
-
-        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
-
-        gridLayout_12->addItem(horizontalSpacer_2, 0, 0, 1, 1);
+        gridLayout_12->addLayout(horizontalLayout_18, 0, 0, 1, 1);
 
 
         gridLayout_2->addWidget(groupBox_9, 0, 0, 2, 1);
@@ -833,7 +865,7 @@ public:
         scrollAreaWork->setAlignment(Qt::AlignCenter);
         scrollAreaWidgetContents = new QWidget();
         scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
-        scrollAreaWidgetContents->setGeometry(QRect(0, 0, 81, 31));
+        scrollAreaWidgetContents->setGeometry(QRect(0, 0, 724, 356));
         verticalLayout = new QVBoxLayout(scrollAreaWidgetContents);
         verticalLayout->setSpacing(6);
         verticalLayout->setContentsMargins(11, 11, 11, 11);
@@ -1374,6 +1406,184 @@ public:
         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);
+        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);
+
+        groupBox_47 = new QGroupBox(layoutWidget);
+        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);
+
+        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(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_45->addWidget(pushButtonPermSaved_7);
+
+
+        gridLayout_75->addWidget(groupBox_48, 2, 1, 1, 1);
+
+        tabWidget->addTab(tab_8, icon24, QString());
 
         verticalLayout_3->addWidget(tabWidget);
 
@@ -1381,7 +1591,7 @@ public:
 
         retranslateUi(CGH_PrinterClass);
 
-        tabWidget->setCurrentIndex(0);
+        tabWidget->setCurrentIndex(1);
 
 
         QMetaObject::connectSlotsByName(CGH_PrinterClass);
@@ -1487,6 +1697,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_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));
+        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));
+        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
 
 };
@@ -1497,4 +1731,4 @@ namespace Ui {
 
 QT_END_NAMESPACE
 
-#endif // CGH_PRINTERICJBUL_H
+#endif // CGH_PRINTERUISOSV_H