You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-admin-packaging/lxqt-admin-time/datetime.ui

132 lines
2.9 KiB

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DateTime</class>
<widget class="QWidget" name="DateTime">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>365</width>
<height>323</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,1,0,0,0">
<item>
<widget class="QLabel" name="label_time">
<property name="text">
<string>Time:</string>
</property>
</widget>
</item>
<item>
<widget class="QTimeEdit" name="edit_time">
<property name="maximumSize">
<size>
<width>400</width>
<height>16777215</height>
</size>
</property>
<property name="currentSection">
<enum>QDateTimeEdit::HourSection</enum>
</property>
<property name="displayFormat">
<string>HH:mm:ss</string>
</property>
<property name="time">
<time>
<hour>0</hour>
<minute>0</minute>
<second>0</second>
</time>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Date:</string>
</property>
</widget>
</item>
<item>
<widget class="QCalendarWidget" name="calendar">
<property name="maximumSize">
<size>
<width>400</width>
<height>173</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ntp">
<property name="text">
<string>Enable network time synchronization (NTP)</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="localRTC">
<property name="text">
<string>RTC is in local time</string>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>ntp</sender>
<signal>toggled(bool)</signal>
<receiver>calendar</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>221</x>
<y>269</y>
</hint>
<hint type="destinationlabel">
<x>228</x>
<y>162</y>
</hint>
</hints>
</connection>
<connection>
<sender>ntp</sender>
<signal>toggled(bool)</signal>
<receiver>edit_time</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>105</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>173</x>
<y>55</y>
</hint>
</hints>
</connection>
</connections>
</ui>