Completed the template editing functionality
[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="minimumSize">
14 <size>
15 <width>350</width>
16 <height>256</height>
17 </size>
18 </property>
19 <property name="maximumSize">
20 <size>
21 <width>350</width>
22 <height>256</height>
23 </size>
24 </property>
25 <property name="windowTitle">
26 <string>Templates</string>
27 </property>
28 <layout class="QGridLayout" name="gridLayout">
29 <item row="0" column="0" colspan="2">
30 <widget class="QLabel" name="label">
31 <property name="text">
32 <string>Choose template</string>
33 </property>
34 </widget>
35 </item>
36 <item row="1" column="0" colspan="3">
37 <widget class="QListWidget" name="templates"/>
38 </item>
39 <item row="2" column="1">
40 <widget class="QPushButton" name="edit">
41 <property name="toolTip">
42 <string>Click to edit the
43 selected template</string>
44 </property>
45 <property name="text">
46 <string>&amp;Edit</string>
47 </property>
48 <property name="checkable">
49 <bool>false</bool>
50 </property>
51 <property name="checked">
52 <bool>false</bool>
53 </property>
54 </widget>
55 </item>
56 <item row="2" column="2">
57 <widget class="QPushButton" name="close">
58 <property name="text">
59 <string>&amp;Close</string>
60 </property>
61 </widget>
62 </item>
63 </layout>
64 </widget>
65 <tabstops>
66 <tabstop>templates</tabstop>
67 <tabstop>edit</tabstop>
68 <tabstop>close</tabstop>
69 </tabstops>
70 <resources/>
71 <connections>
72 <connection>
73 <sender>close</sender>
74 <signal>clicked()</signal>
75 <receiver>TemplatesDialog</receiver>
76 <slot>accept()</slot>
77 <hints>
78 <hint type="sourcelabel">
79 <x>340</x>
80 <y>246</y>
81 </hint>
82 <hint type="destinationlabel">
83 <x>288</x>
84 <y>206</y>
85 </hint>
86 </hints>
87 </connection>
88 <connection>
89 <sender>edit</sender>
90 <signal>clicked()</signal>
91 <receiver>TemplatesDialog</receiver>
92 <slot>onEdit()</slot>
93 <hints>
94 <hint type="sourcelabel">
95 <x>163</x>
96 <y>235</y>
97 </hint>
98 <hint type="destinationlabel">
99 <x>83</x>
100 <y>224</y>
101 </hint>
102 </hints>
103 </connection>
104 </connections>
105 <slots>
106 <slot>onEdit()</slot>
107 <slot>onTemplateTextChanged()</slot>
108 </slots>
109 </ui>