Links in events are now clickable (resolves ticket #4).
[toast/confclerk.git] / src / gui / eventdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>EventDialog</class>
4  <widget class="QDialog" name="EventDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>485</width>
10     <height>368</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string>Details</string>
21   </property>
22   <property name="autoFillBackground">
23    <bool>false</bool>
24   </property>
25   <layout class="QGridLayout" name="gridLayout">
26    <item row="0" column="0">
27     <layout class="QVBoxLayout" name="verticalLayout">
28      <item>
29       <widget class="QLabel" name="title">
30        <property name="sizePolicy">
31         <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
32          <horstretch>0</horstretch>
33          <verstretch>0</verstretch>
34         </sizepolicy>
35        </property>
36        <property name="font">
37         <font>
38          <weight>75</weight>
39          <bold>true</bold>
40          <underline>true</underline>
41         </font>
42        </property>
43        <property name="text">
44         <string>Title goes here</string>
45        </property>
46        <property name="alignment">
47         <set>Qt::AlignCenter</set>
48        </property>
49        <property name="wordWrap">
50         <bool>true</bool>
51        </property>
52       </widget>
53      </item>
54      <item>
55       <widget class="QScrollArea" name="scrollArea">
56        <property name="sizePolicy">
57         <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
58          <horstretch>0</horstretch>
59          <verstretch>0</verstretch>
60         </sizepolicy>
61        </property>
62        <property name="widgetResizable">
63         <bool>true</bool>
64        </property>
65        <widget class="QWidget" name="scrollAreaWidgetContents">
66         <property name="geometry">
67          <rect>
68           <x>0</x>
69           <y>0</y>
70           <width>461</width>
71           <height>276</height>
72          </rect>
73         </property>
74         <layout class="QGridLayout" name="gridLayout_2">
75          <item row="0" column="0">
76           <widget class="QWidget" name="content" native="true">
77            <property name="sizePolicy">
78             <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
79              <horstretch>0</horstretch>
80              <verstretch>0</verstretch>
81             </sizepolicy>
82            </property>
83            <layout class="QVBoxLayout" name="verticalLayout_2">
84             <item>
85              <widget class="QGroupBox" name="personsGB">
86               <property name="sizePolicy">
87                <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
88                 <horstretch>0</horstretch>
89                 <verstretch>0</verstretch>
90                </sizepolicy>
91               </property>
92               <property name="font">
93                <font>
94                 <weight>75</weight>
95                 <bold>true</bold>
96                </font>
97               </property>
98               <property name="title">
99                <string>Persons</string>
100               </property>
101               <layout class="QVBoxLayout" name="verticalLayout_3">
102                <item>
103                 <widget class="QLabel" name="persons">
104                  <property name="font">
105                   <font>
106                    <weight>50</weight>
107                    <bold>false</bold>
108                   </font>
109                  </property>
110                  <property name="text">
111                   <string>PERSONS</string>
112                  </property>
113                  <property name="wordWrap">
114                   <bool>true</bool>
115                  </property>
116                  <property name="openExternalLinks">
117                   <bool>true</bool>
118                  </property>
119                 </widget>
120                </item>
121               </layout>
122              </widget>
123             </item>
124             <item>
125              <widget class="QGroupBox" name="abstractGB">
126               <property name="sizePolicy">
127                <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
128                 <horstretch>0</horstretch>
129                 <verstretch>0</verstretch>
130                </sizepolicy>
131               </property>
132               <property name="font">
133                <font>
134                 <weight>75</weight>
135                 <bold>true</bold>
136                </font>
137               </property>
138               <property name="title">
139                <string>Abstract</string>
140               </property>
141               <layout class="QVBoxLayout" name="verticalLayout_4">
142                <item>
143                 <widget class="QLabel" name="abstract">
144                  <property name="font">
145                   <font>
146                    <weight>50</weight>
147                    <bold>false</bold>
148                   </font>
149                  </property>
150                  <property name="text">
151                   <string>ABSTRACT</string>
152                  </property>
153                  <property name="wordWrap">
154                   <bool>true</bool>
155                  </property>
156                  <property name="openExternalLinks">
157                   <bool>true</bool>
158                  </property>
159                 </widget>
160                </item>
161               </layout>
162              </widget>
163             </item>
164             <item>
165              <widget class="QGroupBox" name="descriptionGB">
166               <property name="font">
167                <font>
168                 <weight>75</weight>
169                 <bold>true</bold>
170                </font>
171               </property>
172               <property name="title">
173                <string>Description</string>
174               </property>
175               <layout class="QVBoxLayout" name="verticalLayout_5">
176                <item>
177                 <widget class="QLabel" name="description">
178                  <property name="sizePolicy">
179                   <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
180                    <horstretch>0</horstretch>
181                    <verstretch>0</verstretch>
182                   </sizepolicy>
183                  </property>
184                  <property name="font">
185                   <font>
186                    <weight>50</weight>
187                    <bold>false</bold>
188                   </font>
189                  </property>
190                  <property name="text">
191                   <string>DESCRIPTION</string>
192                  </property>
193                  <property name="wordWrap">
194                   <bool>true</bool>
195                  </property>
196                  <property name="openExternalLinks">
197                   <bool>true</bool>
198                  </property>
199                 </widget>
200                </item>
201               </layout>
202              </widget>
203             </item>
204             <item>
205              <widget class="QGroupBox" name="linksGB">
206               <property name="font">
207                <font>
208                 <weight>75</weight>
209                 <bold>true</bold>
210                </font>
211               </property>
212               <property name="title">
213                <string>Links</string>
214               </property>
215               <layout class="QVBoxLayout" name="verticalLayout_6">
216                <item>
217                 <widget class="QLabel" name="links">
218                  <property name="sizePolicy">
219                   <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
220                    <horstretch>0</horstretch>
221                    <verstretch>0</verstretch>
222                   </sizepolicy>
223                  </property>
224                  <property name="font">
225                   <font>
226                    <weight>50</weight>
227                    <bold>false</bold>
228                   </font>
229                  </property>
230                  <property name="text">
231                   <string>LINKS</string>
232                  </property>
233                  <property name="textFormat">
234                   <enum>Qt::RichText</enum>
235                  </property>
236                  <property name="wordWrap">
237                   <bool>true</bool>
238                  </property>
239                  <property name="openExternalLinks">
240                   <bool>true</bool>
241                  </property>
242                  <property name="textInteractionFlags">
243                   <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
244                  </property>
245                 </widget>
246                </item>
247               </layout>
248              </widget>
249             </item>
250            </layout>
251           </widget>
252          </item>
253         </layout>
254        </widget>
255       </widget>
256      </item>
257      <item>
258       <spacer name="verticalSpacer_2">
259        <property name="orientation">
260         <enum>Qt::Vertical</enum>
261        </property>
262        <property name="sizeType">
263         <enum>QSizePolicy::Minimum</enum>
264        </property>
265        <property name="sizeHint" stdset="0">
266         <size>
267          <width>20</width>
268          <height>10</height>
269         </size>
270        </property>
271       </spacer>
272      </item>
273      <item>
274       <layout class="QHBoxLayout" name="horizontalLayout">
275        <item>
276         <widget class="QToolButton" name="alarmButton">
277          <property name="text">
278           <string>...</string>
279          </property>
280          <property name="icon">
281           <iconset resource="../icons.qrc">
282            <normaloff>:/icons/appointment-soon-off.png</normaloff>:/icons/appointment-soon-off.png</iconset>
283          </property>
284         </widget>
285        </item>
286        <item>
287         <widget class="QToolButton" name="favouriteButton">
288          <property name="text">
289           <string>...</string>
290          </property>
291          <property name="icon">
292           <iconset resource="../icons.qrc">
293            <normaloff>:/icons/emblem-new-off.png</normaloff>:/icons/emblem-new-off.png</iconset>
294          </property>
295         </widget>
296        </item>
297        <item>
298         <spacer name="horizontalSpacer">
299          <property name="orientation">
300           <enum>Qt::Horizontal</enum>
301          </property>
302          <property name="sizeHint" stdset="0">
303           <size>
304            <width>40</width>
305            <height>20</height>
306           </size>
307          </property>
308         </spacer>
309        </item>
310        <item>
311         <widget class="QPushButton" name="okButton">
312          <property name="text">
313           <string>OK</string>
314          </property>
315         </widget>
316        </item>
317       </layout>
318      </item>
319     </layout>
320    </item>
321   </layout>
322  </widget>
323  <resources>
324   <include location="../icons.qrc"/>
325  </resources>
326  <connections>
327   <connection>
328    <sender>okButton</sender>
329    <signal>clicked()</signal>
330    <receiver>EventDialog</receiver>
331    <slot>close()</slot>
332    <hints>
333     <hint type="sourcelabel">
334      <x>287</x>
335      <y>84</y>
336     </hint>
337     <hint type="destinationlabel">
338      <x>169</x>
339      <y>53</y>
340     </hint>
341    </hints>
342   </connection>
343  </connections>
344 </ui>