Modified the template editing setup
[biaweb_qt.git] / templates_dialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TemplatesDialog</class>
4 <widget class="QDialog" name="TemplatesDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>350</width>
10 <height>256</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Templates</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0" colspan="2">
18 <widget class="QLabel" name="label">
19 <property name="text">
20 <string>Choose template</string>
21 </property>
22 </widget>
23 </item>
24 <item row="1" column="0" colspan="3">
25 <widget class="QListWidget" name="templates"/>
26 </item>
27 <item row="2" column="1">
28 <widget class="QPushButton" name="edit">
29 <property name="toolTip">
30 <string>Click to edit the
31 selected template</string>
32 </property>
33 <property name="text">
34 <string>&amp;Edit</string>
35 </property>
36 <property name="checkable">
37 <bool>false</bool>
38 </property>
39 <property name="checked">
40 <bool>false</bool>
41 </property>
42 </widget>
43 </item>
44 <item row="2" column="2">
45 <widget class="QPushButton" name="close">
46 <property name="text">
47 <string>&amp;Close</string>
48 </property>
49 </widget>
50 </item>
51 </layout>
52 </widget>
53 <tabstops>
54 <tabstop>edit</tabstop>
55 <tabstop>close</tabstop>
56 </tabstops>
57 <resources/>
58 <connections>
59 <connection>
60 <sender>close</sender>
61 <signal>clicked()</signal>
62 <receiver>TemplatesDialog</receiver>
63 <slot>accept()</slot>
64 <hints>
65 <hint type="sourcelabel">
66 <x>741</x>
67 <y>525</y>
68 </hint>
69 <hint type="destinationlabel">
70 <x>288</x>
71 <y>206</y>
72 </hint>
73 </hints>
74 </connection>
75 </connections>
76 <slots>
77 <slot>onEdit()</slot>
78 <slot>onTemplateTextChanged()</slot>
79 </slots>
80 </ui>