Partially implemented template editor
[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>templates</tabstop>
55 <tabstop>edit</tabstop>
56 <tabstop>close</tabstop>
57 </tabstops>
58 <resources/>
59 <connections>
60 <connection>
61 <sender>close</sender>
62 <signal>clicked()</signal>
63 <receiver>TemplatesDialog</receiver>
64 <slot>accept()</slot>
65 <hints>
66 <hint type="sourcelabel">
67 <x>340</x>
68 <y>246</y>
69 </hint>
70 <hint type="destinationlabel">
71 <x>288</x>
72 <y>206</y>
73 </hint>
74 </hints>
75 </connection>
76 <connection>
77 <sender>edit</sender>
78 <signal>clicked()</signal>
79 <receiver>TemplatesDialog</receiver>
80 <slot>onEdit()</slot>
81 <hints>
82 <hint type="sourcelabel">
83 <x>163</x>
84 <y>235</y>
85 </hint>
86 <hint type="destinationlabel">
87 <x>83</x>
88 <y>224</y>
89 </hint>
90 </hints>
91 </connection>
92 </connections>
93 <slots>
94 <slot>onEdit()</slot>
95 <slot>onTemplateTextChanged()</slot>
96 </slots>
97 </ui>