diff --git a/include/global.h b/include/global.h index f9c6304..9f029b3 100644 --- a/include/global.h +++ b/include/global.h @@ -8,7 +8,7 @@ #include #include #pragma execution_character_set("utf-8") -const std::string softwareVersion = "2.0.3"; +const std::string softwareVersion = "V20251029-2.1.0"; const std::string euiJsonVersion = "1.0.6"; #define globalDatabasePth "./sqlDatabase/eui_db.db" //全局数据库路径 #define saveImgEnable 1 diff --git a/src/launcher/GUI/paramEditorDialog.h b/src/launcher/GUI/paramEditorDialog.h index cb92587..27edfb4 100644 --- a/src/launcher/GUI/paramEditorDialog.h +++ b/src/launcher/GUI/paramEditorDialog.h @@ -103,6 +103,7 @@ public: background-color: transparent; } QTableView::item:selected { + color: #ffffff; background-color: transparent; } QTableView::item:alternate { @@ -250,6 +251,7 @@ private: } case QVariant::Type::Int: { QSpinBox* spinBox = new QSpinBox(); + spinBox->setMaximumWidth(160); spinBox->setRange(INT_MIN, INT_MAX); spinBox->setValue(value.toInt()); spinBox->setToolTip(generateTypeHint(type)); @@ -257,6 +259,7 @@ private: } case QVariant::Type::Double: { QDoubleSpinBox* spinBox = new QDoubleSpinBox(); + spinBox->setMaximumWidth(160); spinBox->setDecimals(3);//显示小位数 spinBox->setValue(value.toDouble()); spinBox->setToolTip(generateTypeHint(type)); diff --git a/src/launcher/GUI/uiModule/uiModule_runCommand.h b/src/launcher/GUI/uiModule/uiModule_runCommand.h index 174a8fc..537cdc0 100644 --- a/src/launcher/GUI/uiModule/uiModule_runCommand.h +++ b/src/launcher/GUI/uiModule/uiModule_runCommand.h @@ -138,7 +138,7 @@ protected: } private: - int sizeX = 1000, sizeY = 500; + int sizeX = 1000, sizeY = 720; QListWidget* btnWidgets; // 用 QListView + 模型 替代原来的垂直布局 QListView* plcValueViewerList;