qt/LedOK/wDevicesManager/controlbrightnessscheduleed...
2022-01-04 18:11:48 +08:00

218 lines
5.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ControlBrightnessScheduleEdit</class>
<widget class="QDialog" name="ControlBrightnessScheduleEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>279</width>
<height>187</height>
</rect>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="toolTipDuration">
<number>0</number>
</property>
<property name="modal">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QFrame" name="frame">
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item alignment="Qt::AlignHCenter">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Schedule Item</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButtonClose">
<property name="maximumSize">
<size>
<width>30</width>
<height>16777215</height>
</size>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="text">
<string>X</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="Line" name="line">
<property name="styleSheet">
<string notr="true">border-top: 2px solid gray; </string>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="rightMargin">
<number>0</number>
</property>
<item>
<spacer name="horizontalSpacer">
<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>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Brightness Value</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Start time</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="text">
<string>End time</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="lineEdit">
<property name="text">
<string>255</string>
</property>
<property name="dragEnabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QTimeEdit" name="timeEditStart"/>
</item>
<item>
<widget class="QTimeEdit" name="timeEditEnd"/>
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item alignment="Qt::AlignHCenter">
<widget class="QPushButton" name="pushButtonOk">
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item alignment="Qt::AlignHCenter">
<widget class="QPushButton" name="pushButtonCancel">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>pushButtonCancel</sender>
<signal>clicked()</signal>
<receiver>ControlBrightnessScheduleEdit</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>275</x>
<y>162</y>
</hint>
<hint type="destinationlabel">
<x>186</x>
<y>94</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButtonClose</sender>
<signal>clicked()</signal>
<receiver>ControlBrightnessScheduleEdit</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>347</x>
<y>24</y>
</hint>
<hint type="destinationlabel">
<x>186</x>
<y>94</y>
</hint>
</hints>
</connection>
</connections>
</ui>