You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
215 lines
8.2 KiB
215 lines
8.2 KiB
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
<class>SnippetDlg</class>
|
|
<widget class="QDialog">
|
|
<property name="name">
|
|
<cstring>SnippetDlg</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<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="QLayoutWidget" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>layout5</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="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="QLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>layout3</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="KLineEdit" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>snippetName</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Courier</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</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="sizeHint">
|
|
<size>
|
|
<width>20</width>
|
|
<height>80</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="QLabel" 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="QLabel" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>textLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Snippet:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignTop</set>
|
|
</property>
|
|
<property name="buddy" stdset="0">
|
|
<cstring>snippetText</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>textLabelGroup</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Group:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>toolBtnHelp</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="iconSet">
|
|
<iconset>image0</iconset>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Click here to get to know how to use variables in a snippet</string>
|
|
</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>
|
|
<images>
|
|
<image name="image0">
|
|
<data format="XPM.GZ" length="720">789c85d0c94ec3301006e07b9ec24a6e15729bb5b12a1e01c4110971182f6dbaa43b07847877f27bec1424a43a87f8fb331edb994ec4ebcb93984c93cb95ae6b234c476731b11f7dfff9f6fef895a47923f25614b9c8d3872495c288e7c3de61ae877936f3032466d9d60466918de79e59cd98cbc879096e022ba663d6b35683a7c05a55a01d69c02e50310d58a8363735781969c15d60cd5c83a56a15b307ab5c85e243a4f5adb6605d28c55c810d1159ff378ee0bc24e71af00cb6da14ce7f95c3c8088fd67a98878c8c1d6c9d46cad972d541b4767873b6d96a3f68e7c62c33f82ef5b2bfd56972e827f7875b9d0e4b8f273d661cd2d9ef1433e9ab388ae7c311fd9e38f42dcb2e9dfe738fd812d19d4c1271f4bb9fbff3fdb5fff68b914cbf17c90f9b96abef</data>
|
|
</image>
|
|
</images>
|
|
<connections>
|
|
<connection>
|
|
<sender>btnAdd</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SnippetDlg</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnCancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SnippetDlg</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>toolBtnHelp</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>SnippetDlg</receiver>
|
|
<slot>slotHelp()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>snippetName</tabstop>
|
|
<tabstop>cbGroup</tabstop>
|
|
<tabstop>snippetText</tabstop>
|
|
<tabstop>btnAdd</tabstop>
|
|
<tabstop>btnCancel</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" impldecl="in implementation">snippetdlg.ui.h</include>
|
|
</includes>
|
|
<slots>
|
|
<slot>slotHelp()</slot>
|
|
</slots>
|
|
<layoutdefaults 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>
|