DYTSrouce/src/ui/WorkSpace/AddLightFileDlg.ui

486 lines
14 KiB
Plaintext
Raw Normal View History

2025-10-22 17:40:44 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AddLightFileDlg</class>
<widget class="QWidget" name="AddLightFileDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2025-10-26 08:44:23 +00:00
<width>600</width>
2025-10-31 15:10:35 +00:00
<height>607</height>
2025-10-22 17:40:44 +00:00
</rect>
</property>
<property name="windowTitle">
2025-10-26 08:44:23 +00:00
<string>Add Light Data File</string>
2025-10-22 17:40:44 +00:00
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="fileGroupBox">
<property name="title">
<string>File Selection</string>
</property>
<layout class="QGridLayout" name="fileGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="filePathLabel">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="text">
<string>File Path:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="filePathEdit">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="readOnly">
<bool>true</bool>
</property>
2025-10-26 08:44:23 +00:00
<property name="placeholderText">
<string>Select light data file...</string>
</property>
2025-10-22 17:40:44 +00:00
</widget>
</item>
<item row="0" column="2">
<widget class="QToolButton" name="selectFileBtn">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="fileNameLabel">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="text">
<string>File Name:</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLabel" name="fileNameValue">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="fileSizeLabel">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="text">
<string>File Size:</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QLabel" name="fileSizeValue">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2025-10-31 15:10:35 +00:00
<item>
<widget class="QGroupBox" name="lightPropertiesGroupBox_2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="title">
<string>Chart Properties</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lightNameLabel_2">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Chart Names:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="ChartNameEdit">
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="placeholderText">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2025-10-22 17:40:44 +00:00
<item>
2025-10-26 08:44:23 +00:00
<widget class="QGroupBox" name="colorPropertiesGroupBox">
2025-10-22 17:40:44 +00:00
<property name="title">
2025-10-26 08:44:23 +00:00
<string>Color Properties</string>
2025-10-22 17:40:44 +00:00
</property>
2025-10-26 08:44:23 +00:00
<layout class="QGridLayout" name="colorPropertiesGridLayout">
2025-10-22 17:40:44 +00:00
<item row="0" column="0">
2025-10-26 08:44:23 +00:00
<widget class="QLabel" name="openColorLabel">
2025-10-22 17:40:44 +00:00
<property name="text">
2025-10-26 08:44:23 +00:00
<string>Open Color:</string>
2025-10-22 17:40:44 +00:00
</property>
</widget>
</item>
<item row="0" column="1">
2025-10-26 08:44:23 +00:00
<layout class="QHBoxLayout" name="openColorLayout">
2025-10-22 17:40:44 +00:00
<item>
2025-10-26 08:44:23 +00:00
<widget class="QPushButton" name="openColorButton">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Select Color</string>
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<widget class="QLabel" name="openColorPreview">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string>background-color: rgb(0, 255, 0); border: 1px solid black;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<spacer name="openColorSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
2025-10-22 17:40:44 +00:00
</item>
2025-10-26 08:44:23 +00:00
</layout>
2025-10-22 17:40:44 +00:00
</item>
2025-10-26 08:44:23 +00:00
<item row="1" column="0">
<widget class="QLabel" name="closeColorLabel">
2025-10-22 17:40:44 +00:00
<property name="text">
2025-10-26 08:44:23 +00:00
<string>Close Color:</string>
2025-10-22 17:40:44 +00:00
</property>
</widget>
</item>
2025-10-26 08:44:23 +00:00
<item row="1" column="1">
<layout class="QHBoxLayout" name="closeColorLayout">
2025-10-22 17:40:44 +00:00
<item>
2025-10-26 08:44:23 +00:00
<widget class="QPushButton" name="closeColorButton">
<property name="maximumSize">
<size>
<width>100</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Select Color</string>
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<widget class="QLabel" name="closeColorPreview">
<property name="minimumSize">
<size>
<width>50</width>
<height>25</height>
</size>
</property>
<property name="styleSheet">
<string>background-color: rgb(255, 0, 0); border: 1px solid black;</string>
</property>
<property name="text">
<string/>
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<spacer name="closeColorSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
2025-10-22 17:40:44 +00:00
</item>
2025-10-26 08:44:23 +00:00
</layout>
2025-10-22 17:40:44 +00:00
</item>
2025-10-26 08:44:23 +00:00
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="lightGroupBox">
<property name="title">
<string>Light Management</string>
</property>
<layout class="QVBoxLayout" name="lightVerticalLayout">
<item>
<layout class="QHBoxLayout" name="lightButtonLayout">
2025-10-22 17:40:44 +00:00
<item>
2025-10-26 08:44:23 +00:00
<widget class="QLabel" name="lightListLabel">
<property name="text">
<string>Lights:</string>
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<spacer name="lightButtonSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<widget class="QPushButton" name="addLightBtn">
<property name="maximumSize">
<size>
2025-10-27 14:58:41 +00:00
<width>180</width>
2025-10-26 08:44:23 +00:00
<height>16777215</height>
</size>
</property>
<property name="text">
2025-10-27 14:58:41 +00:00
<string>Add Light Row</string>
2025-10-26 08:44:23 +00:00
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<widget class="QPushButton" name="removeLightBtn">
<property name="maximumSize">
<size>
<width>60</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Remove</string>
</property>
</widget>
2025-10-22 17:40:44 +00:00
</item>
2025-10-26 08:44:23 +00:00
</layout>
2025-10-22 17:40:44 +00:00
</item>
<item>
2025-10-26 08:44:23 +00:00
<widget class="QListWidget" name="lightListWidget">
2025-10-22 17:40:44 +00:00
<property name="maximumSize">
<size>
<width>16777215</width>
2025-10-26 08:44:23 +00:00
<height>120</height>
2025-10-22 17:40:44 +00:00
</size>
</property>
2025-10-26 08:44:23 +00:00
<property name="alternatingRowColors">
2025-11-01 04:43:16 +00:00
<bool>false</bool>
2025-10-22 17:40:44 +00:00
</property>
</widget>
</item>
2025-10-26 08:44:23 +00:00
<item>
<widget class="QGroupBox" name="lightPropertiesGroupBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Selected Light Properties</string>
</property>
2025-10-27 14:58:41 +00:00
<layout class="QVBoxLayout" name="lightPropertiesVLayout">
<item>
<layout class="QGridLayout" name="lightPropertiesGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lightNameLabel">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-27 14:58:41 +00:00
<property name="text">
<string>Light Names:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lightNameEdit">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-27 14:58:41 +00:00
<property name="placeholderText">
<string>Enter light names (comma separated)...</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lightDataLabel">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-27 14:58:41 +00:00
<property name="text">
2025-10-31 15:10:35 +00:00
<string>Light Datas:</string>
2025-10-27 14:58:41 +00:00
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QHBoxLayout" name="lightDataLayout">
<item>
<widget class="QLineEdit" name="lightDataEdit">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-27 14:58:41 +00:00
<property name="placeholderText">
<string>Enter data values (comma separated integers)...</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="editDataBtn">
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Edit Data</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="rowIndexLabel">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
2025-10-27 14:58:41 +00:00
<property name="text">
<string>Row Index:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="rowIndexValue">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
</layout>
2025-10-26 08:44:23 +00:00
</item>
</layout>
</widget>
</item>
2025-10-22 17:40:44 +00:00
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="buttonLayout">
<item>
2025-10-26 08:44:23 +00:00
<spacer name="buttonSpacer">
2025-10-22 17:40:44 +00:00
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
2025-10-26 08:44:23 +00:00
<widget class="QPushButton" name="addFileBtn">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>100</width>
2025-11-02 01:27:55 +00:00
<height>0</height>
2025-10-31 15:10:35 +00:00
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="text">
<string>Add File</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelBtn">
2025-10-31 15:10:35 +00:00
<property name="minimumSize">
<size>
<width>100</width>
2025-11-02 01:27:55 +00:00
<height>0</height>
2025-10-31 15:10:35 +00:00
</size>
</property>
2025-10-22 17:40:44 +00:00
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
2025-10-26 08:44:23 +00:00
</ui>