- Documentation
[qt_rdw125klib.git] / RFIDUserManager / options.ui
blob94c951ef0c4a6c6071abe545dda1e0c850fed06c
1 <ui version="4.0" >
2  <class>OptionsDialog</class>
3  <widget class="QDialog" name="OptionsDialog" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>339</width>
9     <height>101</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Options</string>
14   </property>
15   <property name="styleSheet" >
16    <string>     QPushButton {
17          border: 2px solid #8f8f82;
18          border-radius: 10px;
19          background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
20                                            stop: 0 #f0f0f0, stop: 1 #999999);
21          min-width: 50px;
22      }
24      QPushButton:pressed {
25          background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
26                                            stop: 0 #dadbde, stop: 1 #f6f7fa);
27      }
29      QPushButton:flat {
30          border: none; /* no border for a flat push button */
31      }
33      QPushButton:default {
34          border-color: navy; /* make the default button prominent */
35      } QLineEdit {
36      border: 2px solid gray;
37      border-radius: 10px;
38      padding: 0 8px;
39   selection-background-color: darkgray;
40  }</string>
41   </property>
42   <layout class="QGridLayout" >
43    <item row="0" column="0" >
44     <widget class="QLabel" name="label" >
45      <property name="text" >
46       <string>Default group:</string>
47      </property>
48     </widget>
49    </item>
50    <item row="0" column="1" colspan="3" >
51     <widget class="QLineEdit" name="defaultGroupName" />
52    </item>
53    <item row="1" column="0" >
54     <widget class="QLabel" name="label_2" >
55      <property name="text" >
56       <string>Base dir for homes:</string>
57      </property>
58     </widget>
59    </item>
60    <item row="1" column="1" colspan="2" >
61     <widget class="QLineEdit" name="baseDir" />
62    </item>
63    <item row="2" column="0" colspan="2" >
64     <spacer>
65      <property name="orientation" >
66       <enum>Qt::Horizontal</enum>
67      </property>
68      <property name="sizeHint" >
69       <size>
70        <width>191</width>
71        <height>20</height>
72       </size>
73      </property>
74     </spacer>
75    </item>
76    <item row="2" column="2" >
77     <widget class="QPushButton" name="okButton" >
78      <property name="toolTip" >
79       <string>Passwords don't match or are too short (4 chars minimun)</string>
80      </property>
81      <property name="text" >
82       <string>Ok</string>
83      </property>
84     </widget>
85    </item>
86    <item row="2" column="3" >
87     <widget class="QPushButton" name="cancelButton" >
88      <property name="text" >
89       <string>Cancel</string>
90      </property>
91     </widget>
92    </item>
93    <item row="1" column="3" >
94     <widget class="QPushButton" name="selectBasedirButton" >
95      <property name="toolTip" >
96       <string>Select the root folder</string>
97      </property>
98      <property name="text" >
99       <string/>
100      </property>
101      <property name="icon" >
102       <iconset resource="iconos.qrc" >:/fileopen.png</iconset>
103      </property>
104     </widget>
105    </item>
106   </layout>
107  </widget>
108  <resources>
109   <include location="iconos.qrc" />
110  </resources>
111  <connections>
112   <connection>
113    <sender>okButton</sender>
114    <signal>clicked()</signal>
115    <receiver>OptionsDialog</receiver>
116    <slot>accept()</slot>
117    <hints>
118     <hint type="sourcelabel" >
119      <x>250</x>
120      <y>100</y>
121     </hint>
122     <hint type="destinationlabel" >
123      <x>274</x>
124      <y>122</y>
125     </hint>
126    </hints>
127   </connection>
128   <connection>
129    <sender>cancelButton</sender>
130    <signal>clicked()</signal>
131    <receiver>OptionsDialog</receiver>
132    <slot>reject()</slot>
133    <hints>
134     <hint type="sourcelabel" >
135      <x>343</x>
136      <y>97</y>
137     </hint>
138     <hint type="destinationlabel" >
139      <x>364</x>
140      <y>111</y>
141     </hint>
142    </hints>
143   </connection>
144  </connections>
145 </ui>