EG/RenderPipelineFile/toolkit/day_time_editor/ui/main_window.ui
2025-07-24 11:37:46 +08:00

1108 lines
26 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>973</width>
<height>632</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>973</width>
<height>632</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>973</width>
<height>632</height>
</size>
</property>
<property name="palette">
<palette>
<active>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>63</red>
<green>63</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>52</red>
<green>52</green>
<blue>52</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>28</red>
<green>28</green>
<blue>28</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>63</red>
<green>63</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>52</red>
<green>52</green>
<blue>52</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>28</red>
<green>28</green>
<blue>28</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="Button">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Light">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>63</red>
<green>63</green>
<blue>63</blue>
</color>
</brush>
</colorrole>
<colorrole role="Midlight">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>52</red>
<green>52</green>
<blue>52</blue>
</color>
</brush>
</colorrole>
<colorrole role="Dark">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="Mid">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>28</red>
<green>28</green>
<blue>28</blue>
</color>
</brush>
</colorrole>
<colorrole role="Text">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="BrightText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="ButtonText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>21</red>
<green>21</green>
<blue>21</blue>
</color>
</brush>
</colorrole>
<colorrole role="Base">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Shadow">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
<colorrole role="AlternateBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>42</red>
<green>42</green>
<blue>42</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipBase">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>220</blue>
</color>
</brush>
</colorrole>
<colorrole role="ToolTipText">
<brush brushstyle="SolidPattern">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="windowTitle">
<string>Day Time Editor</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/res/res/icon.png</normaloff>:/res/res/icon.png</iconset>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">QMainWindow { background: #fff;}
*, QLabel { font-family: Roboto; font-weight: 300; }
QScrollBar {
background: #eee;
}
QScrollBar:vertical {
width: 9px;
margin: 0;
}
QScrollBar::handle:vertical {
min-height: 15px;
background: #aaa;
}
QScrollBar::handle:vertical:hover {
background: #999;
}
QScrollBar::add-line:vertical {
}
QScrollBar::sub-line:vertical {
}
QScrollBar::add-page:vertical {
background: #ddd;
}
QScrollBar::sub-page:vertical {
background: #ddd;
}
</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QFrame" name="frame_current_setting">
<property name="geometry">
<rect>
<x>350</x>
<y>80</y>
<width>641</width>
<height>551</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame { background: #e5e5e5;}</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<widget class="QLabel" name="lbl_current_setting">
<property name="geometry">
<rect>
<x>20</x>
<y>16</y>
<width>221</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Roboto</family>
<pointsize>-1</pointsize>
<weight>37</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: #555; border: 0; font-size: 15px; text-transform: uppercase;</string>
</property>
<property name="text">
<string>Occlusion Strength</string>
</property>
</widget>
<widget class="QPushButton" name="btn_reset">
<property name="geometry">
<rect>
<x>500</x>
<y>14</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
color: #eee;
background: #666;
border: 0;
}
QPushButton:hover {
background: #555;
}
QPushButton:pressed {
background: #111;
}</string>
</property>
<property name="text">
<string>Reset curve</string>
</property>
</widget>
<widget class="QFrame" name="frame_3">
<property name="geometry">
<rect>
<x>20</x>
<y>94</y>
<width>581</width>
<height>441</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame {
}</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>571</width>
<height>441</height>
</rect>
</property>
<layout class="QVBoxLayout" name="prefab_edit_widget">
<property name="spacing">
<number>0</number>
</property>
</layout>
</widget>
</widget>
<widget class="QLabel" name="lbl_setting_desc">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>571</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<family>Roboto</family>
<weight>37</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: #888;</string>
</property>
<property name="text">
<string>Description: Some Description about the setting, to give the user a rough idea what this does. This description may be so long, it can even go into the next line.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="btn_insert_point">
<property name="geometry">
<rect>
<x>368</x>
<y>14</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
color: #eee;
background: #666;
border: 0;
}
QPushButton:hover {
background: #555;
}
QPushButton:pressed {
background: #111;
}</string>
</property>
<property name="text">
<string>Insert point from data</string>
</property>
</widget>
</widget>
<widget class="QFrame" name="frame_2">
<property name="geometry">
<rect>
<x>-1</x>
<y>80</y>
<width>351</width>
<height>551</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background: #eee;</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<widget class="QTreeWidget" name="settings_tree">
<property name="geometry">
<rect>
<x>14</x>
<y>20</y>
<width>311</width>
<height>511</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QTreeWidget::item {
padding: 7px 7px 6px;
background: #ddd;
outline: 0 !important;
margin-bottom: 1px;
margin-right: 0px;
color: #777;
border: 0;
border-radius: 0;
}
QTreeWidget::item:hover {
background: #ccc;
}
QTreeWidget::item:selected {
background: #555;
color: #eee;
}
QTreeWidget {
padding: 0;
color: #eee;
background: transparent;
}
* {
outline: 0;
}
</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAsNeeded</enum>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="alternatingRowColors">
<bool>false</bool>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
</property>
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
<property name="indentation">
<number>18</number>
</property>
<property name="rootIsDecorated">
<bool>true</bool>
</property>
<property name="uniformRowHeights">
<bool>false</bool>
</property>
<property name="itemsExpandable">
<bool>true</bool>
</property>
<property name="sortingEnabled">
<bool>false</bool>
</property>
<property name="animated">
<bool>true</bool>
</property>
<property name="allColumnsShowFocus">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<attribute name="headerCascadingSectionResizes">
<bool>false</bool>
</attribute>
<attribute name="headerDefaultSectionSize">
<number>150</number>
</attribute>
<attribute name="headerStretchLastSection">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string>Setting</string>
</property>
</column>
<column>
<property name="text">
<string>Value</string>
</property>
</column>
<item>
<property name="text">
<string>Scattering</string>
</property>
<item>
<property name="text">
<string>Sun Height</string>
</property>
<property name="text">
<string>0,4</string>
</property>
</item>
<item>
<property name="text">
<string>Sun Color</string>
</property>
<property name="text">
<string>[128, 255, 100]</string>
</property>
</item>
<item>
<property name="text">
<string>Sun Angle</string>
</property>
<property name="text">
<string>180 °</string>
</property>
</item>
</item>
<item>
<property name="text">
<string>Ambient Occlusion</string>
</property>
<property name="text">
<string/>
</property>
<property name="flags">
<set>ItemIsSelectable|ItemIsDragEnabled|ItemIsUserCheckable|ItemIsEnabled|ItemIsTristate</set>
</property>
<item>
<property name="text">
<string>Occlusion Strength</string>
</property>
<property name="text">
<string>0.5</string>
</property>
</item>
</item>
</widget>
</widget>
<widget class="QFrame" name="frame_4">
<property name="geometry">
<rect>
<x>420</x>
<y>10</y>
<width>551</width>
<height>61</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QFrame {
background: #fff;
}
</string>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<widget class="QSlider" name="time_slider">
<property name="geometry">
<rect>
<x>10</x>
<y>11</y>
<width>521</width>
<height>20</height>
</rect>
</property>
<property name="maximum">
<number>5184000</number>
</property>
<property name="singleStep">
<number>3600</number>
</property>
<property name="pageStep">
<number>3600</number>
</property>
<property name="value">
<number>2592000</number>
</property>
<property name="tracking">
<bool>true</bool>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::TicksBelow</enum>
</property>
<property name="tickInterval">
<number>432000</number>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>254</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/12_00.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>341</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/16_00.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>0</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/0_00.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>84</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/4_00.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>170</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/8_00.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>422</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/20_00.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_8">
<property name="geometry">
<rect>
<x>510</x>
<y>30</y>
<width>32</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="resources.qrc">:/res/res/0_00.png</pixmap>
</property>
</widget>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>35</y>
<width>261</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font-size: 20px; color: #2aa877;
font-weight: 100;</string>
</property>
<property name="text">
<string>TIME OF DAY EDITOR</string>
</property>
</widget>
<widget class="QLabel" name="time_float_label">
<property name="geometry">
<rect>
<x>350</x>
<y>47</y>
<width>41</width>
<height>18</height>
</rect>
</property>
<property name="font">
<font>
<family>Roboto</family>
<pointsize>-1</pointsize>
<weight>37</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: #777; font-size: 12px;</string>
</property>
<property name="text">
<string>0.486</string>
</property>
</widget>
<widget class="QLabel" name="time_label">
<property name="geometry">
<rect>
<x>350</x>
<y>20</y>
<width>81</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Roboto</family>
<pointsize>-1</pointsize>
<weight>37</weight>
<bold>false</bold>
</font>
</property>
<property name="styleSheet">
<string notr="true">color: #444; font-size: 22px;</string>
</property>
<property name="text">
<string>11:15</string>
</property>
</widget>
<widget class="QLabel" name="label_9">
<property name="geometry">
<rect>
<x>20</x>
<y>16</y>
<width>261</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font-size: 13px;
color: #aaa;
font-weight: 600;</string>
</property>
<property name="text">
<string>RENDER PIPELINE</string>
</property>
</widget>
<zorder>frame_2</zorder>
<zorder>frame_current_setting</zorder>
<zorder>frame_4</zorder>
<zorder>label</zorder>
<zorder>time_float_label</zorder>
<zorder>time_label</zorder>
<zorder>label_9</zorder>
</widget>
</widget>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>