<rect>
<x>0</x>
<y>0</y>
- <width>751</width>
- <height>535</height>
+ <width>350</width>
+ <height>256</height>
</rect>
</property>
<property name="windowTitle">
- <string>Template Editor</string>
+ <string>Templates</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
+ <item row="0" column="0" colspan="2">
<widget class="QLabel" name="label">
<property name="text">
- <string>Template</string>
+ <string>Choose template</string>
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QComboBox" name="templates">
- <property name="minimumSize">
- <size>
- <width>250</width>
- <height>0</height>
- </size>
- </property>
- </widget>
+ <item row="1" column="0" colspan="3">
+ <widget class="QListWidget" name="templates"/>
</item>
- <item row="0" column="2">
+ <item row="2" column="1">
<widget class="QPushButton" name="edit">
<property name="toolTip">
<string>Click to edit the
<property name="text">
<string>&Edit</string>
</property>
- </widget>
- </item>
- <item row="0" column="3">
- <widget class="QPushButton" name="pushButton">
- <property name="toolTip">
- <string>Save the template
-modified below</string>
- </property>
- <property name="text">
- <string>&Save</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0" colspan="4">
- <widget class="QPlainTextEdit" name="template_text">
- <property name="font">
- <font>
- <family>Monospace</family>
- </font>
+ <property name="checkable">
+ <bool>false</bool>
</property>
- <property name="tabChangesFocus">
- <bool>true</bool>
+ <property name="checked">
+ <bool>false</bool>
</property>
</widget>
</item>
- <item row="2" column="3">
+ <item row="2" column="2">
<widget class="QPushButton" name="close">
<property name="text">
<string>&Close</string>
</layout>
</widget>
<tabstops>
- <tabstop>templates</tabstop>
<tabstop>edit</tabstop>
- <tabstop>pushButton</tabstop>
- <tabstop>template_text</tabstop>
<tabstop>close</tabstop>
</tabstops>
<resources/>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
- <x>515</x>
- <y>383</y>
+ <x>741</x>
+ <y>525</y>
</hint>
<hint type="destinationlabel">
<x>288</x>
</hints>
</connection>
</connections>
+ <slots>
+ <slot>onEdit()</slot>
+ <slot>onTemplateTextChanged()</slot>
+ </slots>
</ui>