|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>SnippetDlgBase</class>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>SnippetDlgBase</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="tqgeometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>344</width>
|
|
|
|
<height>289</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="caption">
|
|
|
|
<string>Add Snippet</string>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLayoutWidget" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>tqlayout5</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="tqsizeHint">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>btnAdd</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Add</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>btnCancel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>tqlayout3</cstring>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>snippetName</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<spacer row="4" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tqsizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>80</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Name:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>snippetName</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="2" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Snippet:</string>
|
|
|
|
</property>
|
|
|
|
<property name="tqalignment">
|
|
|
|
<set>AlignTop</set>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>snippetText</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabelGroup</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Group:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>cbGroup</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KComboBox" row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>cbGroup</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KTextEdit" row="2" column="1" rowspan="3" colspan="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>snippetText</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Courier</family>
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>btnAdd</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>SnippetDlgBase</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>btnCancel</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>SnippetDlgBase</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>snippetName</tabstop>
|
|
|
|
<tabstop>cbGroup</tabstop>
|
|
|
|
<tabstop>snippetText</tabstop>
|
|
|
|
<tabstop>btnAdd</tabstop>
|
|
|
|
<tabstop>btnCancel</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<tqlayoutdefaults spacing="6" margin="11"/>
|
|
|
|
<includehints>
|
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
|
<includehint>kpushbutton.h</includehint>
|
|
|
|
<includehint>klineedit.h</includehint>
|
|
|
|
<includehint>kcombobox.h</includehint>
|
|
|
|
<includehint>ktextedit.h</includehint>
|
|
|
|
</includehints>
|
|
|
|
</UI>
|