diff options
Diffstat (limited to 'parts/regexptest/regexptestdlgbase.ui')
-rw-r--r-- | parts/regexptest/regexptestdlgbase.ui | 352 |
1 files changed, 352 insertions, 0 deletions
diff --git a/parts/regexptest/regexptestdlgbase.ui b/parts/regexptest/regexptestdlgbase.ui new file mode 100644 index 00000000..7b52620a --- /dev/null +++ b/parts/regexptest/regexptestdlgbase.ui @@ -0,0 +1,352 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>RegexpTestDialogBase</class> +<widget class="QDialog"> + <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="QLabel" row="0" column="0"> + <property name="name"> + <cstring>pattern_label</cstring> + </property> + <property name="text"> + <string>&Regular expression:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>pattern_edit</cstring> + </property> + </widget> + <widget class="QLabel" row="2" column="0"> + <property name="name"> + <cstring>teststring_label</cstring> + </property> + <property name="text"> + <string>&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="QLabel" 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="QLayoutWidget" 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="QPushButton"> + <property name="name"> + <cstring>insertbutton</cstring> + </property> + <property name="text"> + <string>&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="QPushButton"> + <property name="name"> + <cstring>cancelbutton</cstring> + </property> + <property name="text"> + <string>&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 <tt>KD.*</tt>, which matches all strings beginning with "KD"</string> + </property> + </widget> + <widget class="QButtonGroup" 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&ype</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QRadioButton"> + <property name="name"> + <cstring>basicposix_button</cstring> + </property> + <property name="text"> + <string>&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="QRadioButton"> + <property name="name"> + <cstring>extendedposix_button</cstring> + </property> + <property name="text"> + <string>E&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="QRadioButton"> + <property name="name"> + <cstring>qregexp_button</cstring> + </property> + <property name="text"> + <string>&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="QRadioButton"> + <property name="name"> + <cstring>qregexp_min_button</cstring> + </property> + <property name="text"> + <string>QRegExp syntax (&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="QRadioButton"> + <property name="name"> + <cstring>kregexp_button</cstring> + </property> + <property name="text"> + <string>&KRegExp syntax</string> + </property> + <property name="whatsThis" stdset="0"> + <string>A description of this syntax can be found in the KDE API documentation.</string> + </property> + </widget> + </vbox> + </widget> + <widget class="QPushButton" row="0" column="2"> + <property name="name"> + <cstring>rxedit_button</cstring> + </property> + <property name="text"> + <string>&Edit...</string> + </property> + <property name="autoDefault"> + <bool>true</bool> + </property> + </widget> + <widget class="QLayoutWidget" 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="QLabel"> + <property name="name"> + <cstring>subgroups_label</cstring> + </property> + <property name="text"> + <string>Matched subgroups:</string> + </property> + </widget> + <widget class="QListView"> + <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 QString&)</signal> + <receiver>regexp_test_dialog</receiver> + <slot>somethingChanged()</slot> + </connection> + <connection> + <sender>teststring_edit</sender> + <signal>textChanged(const QString&)</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> +<includes> + <include location="global" impldecl="in implementation">kdialog.h</include> +</includes> +<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"/> +<includehints> + <includehint>klineedit.h</includehint> +</includehints> +</UI> |