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.
353 lines
18 KiB
353 lines
18 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>TimedLogoutDlg</class>
|
|
<widget class="QDialog">
|
|
<property name="name">
|
|
<cstring>TimedLogoutDlg</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>381</width>
|
|
<height>131</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Confirmation</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QFrame">
|
|
<property name="name">
|
|
<cstring>frame3</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Raised</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="midLineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout10</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout8</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout6</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer3_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>MinimumExpanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>2</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>m_logo</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>1</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer3</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>MinimumExpanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>2</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout7</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>7</number>
|
|
</property>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>m_title</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<bold>1</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Would you like to shutdown your computer?</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>PlainText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter|AlignLeft</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>m_text</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>If you do not act, your computer will shutdown
|
|
after X automatically.</string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>RichText</enum>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>WordBreak|AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer4</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Preferred</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>30</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</vbox>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout9</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>90</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>pushButton1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Confirm</string>
|
|
</property>
|
|
<property name="on">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer2_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>90</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>pushButton2</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>1</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>spacer2_2_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>90</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>pushButton1</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>TimedLogoutDlg</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>pushButton2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>TimedLogoutDlg</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
</connections>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|