|
|
|
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
|
|
|
<class>FCTemplateEditBase</class>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>FCTemplateEditBase</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>467</width>
|
|
|
|
<height>149</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>File Template</string>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout5</cstring>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>Plain</enum>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Template &name:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>AlignBottom</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>templatename_edit</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KLineEdit">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>templatename_edit</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout4</cstring>
|
|
|
|
</property>
|
|
|
|
<vbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel1_2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>0</hsizetype>
|
|
|
|
<vsizetype>5</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Set template content from &file:</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>AlignBottom</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>template_url</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KURLRequester">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>template_url</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>7</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>StrongFocus</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</vbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="3" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout1</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<spacer>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>ok_button</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&OK</string>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>cancel_button</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>ok_button</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FCTemplateEditBase</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>cancel_button</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FCTemplateEditBase</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>templatename_edit</tabstop>
|
|
|
|
<tabstop>template_url</tabstop>
|
|
|
|
<tabstop>ok_button</tabstop>
|
|
|
|
<tabstop>cancel_button</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<slots>
|
|
|
|
<slot>init()</slot>
|
|
|
|
</slots>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
|
|
<includes>
|
|
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">klineedit.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">kurlrequester.h</include>
|
|
|
|
<include location="local" impldecl="in implementation">fctemplateeditbase.ui.h</include>
|
|
|
|
</includes>
|
|
|
|
</UI>
|