]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/select/textinput.ui
Fix text input in bat. Fixe bug #1965
[bacula/bacula] / bacula / src / qt-console / select / textinput.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>textInputForm</class>
4  <widget class="QDialog" name="textInputForm">
5   <property name="windowModality">
6    <enum>Qt::ApplicationModal</enum>
7   </property>
8   <property name="geometry">
9    <rect>
10     <x>0</x>
11     <y>0</y>
12     <width>430</width>
13     <height>96</height>
14    </rect>
15   </property>
16   <property name="focusPolicy">
17    <enum>Qt::StrongFocus</enum>
18   </property>
19   <property name="windowTitle">
20    <string>Text input dialog</string>
21   </property>
22   <layout class="QGridLayout" name="gridLayout">
23    <item row="0" column="1">
24     <widget class="QLineEdit" name="lineEdit">
25      <property name="sizePolicy">
26       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
27        <horstretch>0</horstretch>
28        <verstretch>0</verstretch>
29       </sizepolicy>
30      </property>
31      <property name="minimumSize">
32       <size>
33        <width>50</width>
34        <height>0</height>
35       </size>
36      </property>
37      <property name="maximumSize">
38       <size>
39        <width>100</width>
40        <height>16777215</height>
41       </size>
42      </property>
43      <property name="focusPolicy">
44       <enum>Qt::TabFocus</enum>
45      </property>
46     </widget>
47    </item>
48    <item row="0" column="0">
49     <widget class="QLabel" name="labelWidget">
50      <property name="sizePolicy">
51       <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
52        <horstretch>0</horstretch>
53        <verstretch>0</verstretch>
54       </sizepolicy>
55      </property>
56      <property name="text">
57       <string>Message</string>
58      </property>
59     </widget>
60    </item>
61    <item row="2" column="0" colspan="2">
62     <layout class="QHBoxLayout" name="horizontalLayout">
63      <property name="spacing">
64       <number>5</number>
65      </property>
66      <item>
67       <spacer name="horizontalSpacer">
68        <property name="orientation">
69         <enum>Qt::Horizontal</enum>
70        </property>
71        <property name="sizeType">
72         <enum>QSizePolicy::Expanding</enum>
73        </property>
74        <property name="sizeHint" stdset="0">
75         <size>
76          <width>26</width>
77          <height>9</height>
78         </size>
79        </property>
80       </spacer>
81      </item>
82      <item>
83       <widget class="QDialogButtonBox" name="buttonBox">
84        <property name="sizePolicy">
85         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
86          <horstretch>0</horstretch>
87          <verstretch>0</verstretch>
88         </sizepolicy>
89        </property>
90        <property name="maximumSize">
91         <size>
92          <width>16777215</width>
93          <height>38</height>
94         </size>
95        </property>
96        <property name="orientation">
97         <enum>Qt::Horizontal</enum>
98        </property>
99        <property name="standardButtons">
100         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
101        </property>
102       </widget>
103      </item>
104     </layout>
105    </item>
106   </layout>
107  </widget>
108  <resources/>
109  <connections>
110   <connection>
111    <sender>buttonBox</sender>
112    <signal>accepted()</signal>
113    <receiver>textInputForm</receiver>
114    <slot>accept()</slot>
115    <hints>
116     <hint type="sourcelabel">
117      <x>248</x>
118      <y>254</y>
119     </hint>
120     <hint type="destinationlabel">
121      <x>157</x>
122      <y>274</y>
123     </hint>
124    </hints>
125   </connection>
126   <connection>
127    <sender>buttonBox</sender>
128    <signal>rejected()</signal>
129    <receiver>textInputForm</receiver>
130    <slot>reject()</slot>
131    <hints>
132     <hint type="sourcelabel">
133      <x>316</x>
134      <y>260</y>
135     </hint>
136     <hint type="destinationlabel">
137      <x>286</x>
138      <y>274</y>
139     </hint>
140    </hints>
141   </connection>
142  </connections>
143 </ui>