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.
tdevelop/parts/regexptest/regexptestdlgbase.ui

351 lines
14 KiB

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>RegexpTestDialogBase</class>
<widget class="TQDialog">
<property name="name">
<cstring>regexp_test_dialog</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>541</width>
<height>367</height>
</rect>
</property>
<property name="caption">
<string>Test Regular Expression</string>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>pattern_label</cstring>
</property>
<property name="text">
<string>&amp;Regular expression:</string>
</property>
<property name="buddy" stdset="0">
<cstring>pattern_edit</cstring>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>teststring_label</cstring>
</property>
<property name="text">
<string>&amp;Test string:</string>
</property>
<property name="buddy" stdset="0">
<cstring>teststring_edit</cstring>
</property>
</widget>
<widget class="KLineEdit" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>teststring_edit</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Enter a string which will be matched against the regular expression</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>success_label</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>Layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>insertbutton</cstring>
</property>
<property name="text">
<string>&amp;Insert Quoted</string>
</property>
<property name="default">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Inserts the regular expression into the currently opened source code file. Escapes any special characters like backslash.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>cancelbutton</cstring>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>Closes the dialog</string>
</property>
</widget>
</hbox>
</widget>
<widget class="KLineEdit" row="0" column="1">
<property name="name">
<cstring>pattern_edit</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>enter a regular expression, for example &lt;tt&gt;KD.*&lt;/tt&gt;, which matches all strings beginning with "KD"</string>
</property>
</widget>
<widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>flavor_group</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>4</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Regular Expression T&amp;ype</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>basicposix_button</cstring>
</property>
<property name="text">
<string>&amp;Basic POSIX syntax (used by grep)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>A description of this syntax can be found in the grep manpage</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>extendedposix_button</cstring>
</property>
<property name="text">
<string>E&amp;xtended POSIX syntax (used by egrep)</string>
</property>
<property name="whatsThis" stdset="0">
<string>A description of this syntax can be found in the grep manpage</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>qregexp_button</cstring>
</property>
<property name="text">
<string>&amp;QRegExp syntax</string>
</property>
<property name="whatsThis" stdset="0">
<string>A description of this syntax can be found in the documentation of the QRegExp class</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>qregexp_min_button</cstring>
</property>
<property name="text">
<string>QRegExp syntax (&amp;minimal)</string>
</property>
<property name="whatsThis" stdset="0">
<string>Matches a QRegExp non-greedy. Please read the QRegExp::setMinimal documentation for more details.</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>kregexp_button</cstring>
</property>
<property name="text">
<string>&amp;KRegExp syntax</string>
</property>
<property name="whatsThis" stdset="0">
<string>A description of this syntax can be found in the TDE API documentation.</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQPushButton" row="0" column="2">
<property name="name">
<cstring>rxedit_button</cstring>
</property>
<property name="text">
<string>&amp;Edit...</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>subgroups_label</cstring>
</property>
<property name="text">
<string>Matched subgroups:</string>
</property>
</widget>
<widget class="TQListView">
<column>
<property name="text">
<string>Group</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Value</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>subgroups_listview</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
</property>
<property name="resizeMode">
<enum>AllColumns</enum>
</property>
<property name="whatsThis" stdset="0">
<string>Shows which groups were matched. See the corresponding documentation for how groups are matched.</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>cancelbutton</sender>
<signal>clicked()</signal>
<receiver>regexp_test_dialog</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>flavor_group</sender>
<signal>clicked(int)</signal>
<receiver>regexp_test_dialog</receiver>
<slot>somethingChanged()</slot>
</connection>
<connection>
<sender>pattern_edit</sender>
<signal>textChanged(const TQString&amp;)</signal>
<receiver>regexp_test_dialog</receiver>
<slot>somethingChanged()</slot>
</connection>
<connection>
<sender>teststring_edit</sender>
<signal>textChanged(const TQString&amp;)</signal>
<receiver>regexp_test_dialog</receiver>
<slot>somethingChanged()</slot>
</connection>
<connection>
<sender>insertbutton</sender>
<signal>clicked()</signal>
<receiver>regexp_test_dialog</receiver>
<slot>insertQuoted()</slot>
</connection>
<connection>
<sender>rxedit_button</sender>
<signal>clicked()</signal>
<receiver>regexp_test_dialog</receiver>
<slot>showRegExpEditor()</slot>
</connection>
</connections>
<tabstops>
<tabstop>pattern_edit</tabstop>
<tabstop>rxedit_button</tabstop>
<tabstop>basicposix_button</tabstop>
<tabstop>teststring_edit</tabstop>
<tabstop>subgroups_listview</tabstop>
<tabstop>insertbutton</tabstop>
<tabstop>cancelbutton</tabstop>
<tabstop>extendedposix_button</tabstop>
</tabstops>
<slots>
<slot access="protected">insertQuoted()</slot>
<slot>somethingChanged()</slot>
<slot access="protected">showRegExpEditor()</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>
</includes>
</UI>