DYTSrouce/src/ui/WorkSpace/AddLightFileDlg.ui

347 lines
9.7 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>
<height>487</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">
<property name="text">
<string>File Path:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="filePathEdit">
<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">
<property name="text">
<string>File Name:</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLabel" name="fileNameValue">
<property name="text">
<string>-</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="fileSizeLabel">
<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>
<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>
<width>80</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Add Light</string>
</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">
<bool>true</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>
<layout class="QGridLayout" name="lightPropertiesGridLayout">
<item row="0" column="0">
<widget class="QLabel" name="lightNameLabel">
<property name="text">
<string>Light Name:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lightNameEdit">
<property name="placeholderText">
<string>Enter light name...</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lightIndexLabel">
<property name="text">
<string>Light Index:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="lightIndexSpinBox">
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>999999</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</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-22 17:40:44 +00:00
<property name="text">
<string>Add File</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelBtn">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources/>
<connections/>
2025-10-26 08:44:23 +00:00
</ui>