source: src-qt4/PCDM/src/pcdm-logindelay.ui @ 28c79ad

releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since 28c79ad was 28c79ad, checked in by Ken Moore <ken@…>, 7 months ago

Add an auto-login delay function for PCDM that defaults to 10 seconds. This will pop-up a window giving the user the specified amount of time to either cancel the auto-login or immediately continue on.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>loginDelay</class>
4 <widget class="QDialog" name="loginDelay">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>378</width>
10    <height>134</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Dialog</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout">
17   <item>
18    <widget class="QLabel" name="label">
19     <property name="font">
20      <font>
21       <pointsize>11</pointsize>
22      </font>
23     </property>
24     <property name="text">
25      <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;PCDM Automatic Login&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
26     </property>
27     <property name="alignment">
28      <set>Qt::AlignCenter</set>
29     </property>
30     <property name="wordWrap">
31      <bool>true</bool>
32     </property>
33    </widget>
34   </item>
35   <item>
36    <widget class="QLabel" name="label_username">
37     <property name="text">
38      <string notr="true">username</string>
39     </property>
40     <property name="alignment">
41      <set>Qt::AlignCenter</set>
42     </property>
43    </widget>
44   </item>
45   <item>
46    <widget class="QProgressBar" name="progressBar">
47     <property name="maximum">
48      <number>10</number>
49     </property>
50     <property name="value">
51      <number>2</number>
52     </property>
53     <property name="format">
54      <string>%v/%m seconds</string>
55     </property>
56    </widget>
57   </item>
58   <item>
59    <layout class="QHBoxLayout" name="horizontalLayout">
60     <item>
61      <widget class="QPushButton" name="pushCancel">
62       <property name="text">
63        <string>Cancel Login</string>
64       </property>
65       <property name="icon">
66        <iconset resource="PCDM.qrc">
67         <normaloff>:/images/nodesktop.png</normaloff>:/images/nodesktop.png</iconset>
68       </property>
69      </widget>
70     </item>
71     <item>
72      <spacer name="horizontalSpacer">
73       <property name="orientation">
74        <enum>Qt::Horizontal</enum>
75       </property>
76       <property name="sizeHint" stdset="0">
77        <size>
78         <width>40</width>
79         <height>20</height>
80        </size>
81       </property>
82      </spacer>
83     </item>
84     <item>
85      <widget class="QPushButton" name="pushContinue">
86       <property name="text">
87        <string>Login Now</string>
88       </property>
89       <property name="icon">
90        <iconset resource="PCDM.qrc">
91         <normaloff>:/images/right.png</normaloff>:/images/right.png</iconset>
92       </property>
93      </widget>
94     </item>
95    </layout>
96   </item>
97  </layout>
98 </widget>
99 <resources>
100  <include location="PCDM.qrc"/>
101 </resources>
102 <connections/>
103</ui>
Note: See TracBrowser for help on using the repository browser.