diff -r 000000000000 -r de9c2efb9d02 Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.ui Mon Dec 28 16:03:33 2009 +0000 @@ -0,0 +1,461 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>QRegExpWizardDialog</class> + <widget class="QWidget" name="QRegExpWizardDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>749</width> + <height>600</height> + </rect> + </property> + <property name="windowTitle"> + <string>QRegExp Wizard</string> + </property> + <property name="sizeGripEnabled" stdset="0"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout"> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QLabel" name="variableLabel"> + <property name="text"> + <string>&Variable Name:</string> + </property> + <property name="buddy"> + <cstring>variableLineEdit</cstring> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="variableLineEdit"/> + </item> + </layout> + </item> + <item> + <widget class="Line" name="variableLine"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QToolButton" name="charButton"> + <property name="toolTip"> + <string><b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog.</p></string> + </property> + <property name="whatsThis"> + <string><b>Single character of a range (e.g. [abcd])</b><p>Select a single character of a range via a specific dialog. This dialog will help to edit the range of characters and add some specific conditions.</p>s</string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="anycharButton"> + <property name="toolTip"> + <string><b>Any character: '.'</b> +<p>Select to insert a dot (.) in your regexp.</p></string> + </property> + <property name="whatsThis"> + <string><b>Any character: '.'</b> +<p>Select to insert a dot (.) in your regexp. The dot matches a single character, except line break characters (by default). +E.g. 'gr.y' matches 'gray', 'grey', 'gr%y', etc. Use the dot sparingly. Often, a character class or negated +character class is faster and more precise.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="repeatButton"> + <property name="toolTip"> + <string><b>Repeat contents</b> +<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p></string> + </property> + <property name="whatsThis"> + <string><b>Repeat contents</b> +<p>Select a repetition condition via a specific dialog. This dialog will help to specify the allowed range for repetitions.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="nonGroupButton"> + <property name="toolTip"> + <string><b>Non capturing parentheses: (?:)</b> +<p>Select to insert some non capturing brackets.</p></string> + </property> + <property name="whatsThis"> + <string><b>Non capturing parentheses: (?:)</b> +<p>Select to insert some non capturing brackets. It can be used to apply a regexp quantifier (eg. '?' or '+') to the entire +group of characters inside the brakets. E.g. the regex 'Set(?:Value)?' matches 'Set' or 'SetValue'. The '?:' inside the brakets +means that the content of the match (called the backreference) is not stored for further use.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="groupButton"> + <property name="toolTip"> + <string><b>Group: ()</b> +<p>Select to insert some capturing brackets.</p></string> + </property> + <property name="whatsThis"> + <string><b>Group: ()</b> +<p>Select to insert some capturing brackets. They can be used to apply a regexp quantifier (e.g. '?' or '+') to the entire group of +characters inside the brakets. E.g. the regex 'Set(Value)?' matches 'Set' or 'SetValue'. Contrary to non-capturing parentheses, +the backreference matched inside the brakets is stored for further use (i.e. 'Value' in the second example above). +One can access the backereference with the '\1' expression. </p> +<p>E.g. '([a-c])x\1x\1' will match 'axaxa', 'bxbxb' and 'cxcxc'.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="altnButton"> + <property name="toolTip"> + <string><b>Alternatives: '|'</b> +<p>Select to insert the alternation symbol '|'. </p></string> + </property> + <property name="whatsThis"> + <string><b>Alternatives: '|'</b> +<p>Select to insert the alternation symbol '|'. The alternation is used to match a single regular expression out of +several possible regular expressions. E.g. 'cat|dog|mouse|fish' matches words containing the word 'cat', 'dog','mouse' or 'fish'. +Be aware that in the above example, the alternatives refer to whole or part of words. If you want to match exactly the + words 'cat', 'dog', ... you should express the fact that you only want to match complete words: '\b(cat|dog|mouse|fish)\b'</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="beglineButton"> + <property name="toolTip"> + <string><b>Begin of line: '^'</b> +<p>Select to insert the start line character (^).</p></string> + </property> + <property name="whatsThis"> + <string><b>Begin of line: '^'</b> +<p>Select to insert the start line character (^). It is used to find some expressions at the begining of lines. +E.g. '^[A-Z]' match lines starting with a capitalized character. </p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="endlineButton"> + <property name="toolTip"> + <string><b>End of line: '$'</b> +<p>Select to insert the end of line character ($).</p></string> + </property> + <property name="whatsThis"> + <string><b>End of line: '$'</b> +<p>Select to insert the end of line character ($). It is used to find some expressions at the end of lines.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="wordboundButton"> + <property name="toolTip"> + <string><b>Word boundary</b> +<p>Select to insert the word boudary character (\b).</p></string> + </property> + <property name="whatsThis"> + <string><b>Word boundary</b> +<p>Select to insert the word boudary character (\b). This character is used to express the fact that word +must begin or end at this position. E.g. '\bcat\b' matches exactly the word 'cat' while 'concatenation' is ignored.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="nonwordboundButton"> + <property name="toolTip"> + <string><b>Non word boundary</b> +<p>Select to insert the word boudary character (\B). \B is the negated version of \b.</p></string> + </property> + <property name="whatsThis"> + <string><b>Non word boundary</b> +<p>Select to insert the word boudary character (\B). \B is the negated version of \b. \B matches at every position where \b +does not. Effectively, \B matches at any position between two word characters as well as at any position between two non-word characters.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="poslookaheadButton"> + <property name="toolTip"> + <string><b>Positive lookahead: (?=<i>regexpr</i>)</b> +<p>Select to insert the positive lookhead brackets.</p></string> + </property> + <property name="whatsThis"> + <string><b>Positive lookahead: (?=<i>regexpr</i>)</b> +<p>Select to insert the positive lookhead brackets. Basically, positive lookhead is used to match a character only if followed by another one. +Writting 'q(?=u)' means that you want to match the 'q' character only if it is followed by 'u'. In this statement 'u' is a trivial +regexp which may be replaced by a more complex expression; q(?=[abc])' will match a 'q' if followed by either 'a', 'b' or 'c'.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="neglookaheadButton"> + <property name="toolTip"> + <string><b>Negative lookahead: (?!<i>regexpr</i>)</b> +<p>Select to insert the negative lookhead brackets.</p></string> + </property> + <property name="whatsThis"> + <string><b>Negative lookahead: (?!<i>regexpr</i>)</b> +<p>Select to insert the negative lookhead brackets. Basically, negative lookhead is used to match a character only if it is not +followed by a another one. Writting 'q(?!u)' means that you want to match 'q' only if it is not followed by 'u'. In this statement, 'u' is a +trivial regexp which may be replaced by a more complex expression; 'q(?![abc])' will match a 'q' if it is followed by anything else than 'a', 'b' or 'c'.</p></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Fixed</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>16</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QToolButton" name="undoButton"> + <property name="toolTip"> + <string><b>Undo last edit</b></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="redoButton"> + <property name="toolTip"> + <string><b>Redo last edit</b></string> + </property> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>81</width> + <height>24</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <layout class="QGridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> + <string>&Regexp:</string> + </property> + <property name="buddy"> + <cstring>regexpLineEdit</cstring> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="textLabel2"> + <property name="text"> + <string>&Text:</string> + </property> + <property name="alignment"> + <set>Qt::AlignTop</set> + </property> + <property name="buddy"> + <cstring>textTextEdit</cstring> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="regexpLineEdit"/> + </item> + <item row="1" column="1"> + <widget class="QTextEdit" name="textTextEdit"/> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <widget class="QCheckBox" name="caseSensitiveCheckBox"> + <property name="text"> + <string>Case &Sensitive</string> + </property> + <property name="shortcut"> + <string>Alt+S</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="minimalCheckBox"> + <property name="text"> + <string>&Minimal</string> + </property> + <property name="shortcut"> + <string>Alt+M</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="wildcardCheckBox"> + <property name="text"> + <string>&Wildcard</string> + </property> + <property name="shortcut"> + <string>Alt+W</string> + </property> + </widget> + </item> + <item> + <spacer> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QTableWidget" name="resultTable"> + <property name="editTriggers"> + <set>QAbstractItemView::NoEditTriggers</set> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Close|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="6"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <tabstops> + <tabstop>variableLineEdit</tabstop> + <tabstop>regexpLineEdit</tabstop> + <tabstop>textTextEdit</tabstop> + <tabstop>caseSensitiveCheckBox</tabstop> + <tabstop>minimalCheckBox</tabstop> + <tabstop>wildcardCheckBox</tabstop> + <tabstop>resultTable</tabstop> + <tabstop>charButton</tabstop> + <tabstop>anycharButton</tabstop> + <tabstop>repeatButton</tabstop> + <tabstop>nonGroupButton</tabstop> + <tabstop>groupButton</tabstop> + <tabstop>altnButton</tabstop> + <tabstop>beglineButton</tabstop> + <tabstop>endlineButton</tabstop> + <tabstop>wordboundButton</tabstop> + <tabstop>nonwordboundButton</tabstop> + <tabstop>poslookaheadButton</tabstop> + <tabstop>neglookaheadButton</tabstop> + <tabstop>undoButton</tabstop> + <tabstop>redoButton</tabstop> + </tabstops> + <resources/> + <connections> + <connection> + <sender>undoButton</sender> + <signal>clicked()</signal> + <receiver>regexpLineEdit</receiver> + <slot>undo()</slot> + <hints> + <hint type="sourcelabel"> + <x>490</x> + <y>132</y> + </hint> + <hint type="destinationlabel"> + <x>487</x> + <y>163</y> + </hint> + </hints> + </connection> + <connection> + <sender>redoButton</sender> + <signal>clicked()</signal> + <receiver>regexpLineEdit</receiver> + <slot>redo()</slot> + <hints> + <hint type="sourcelabel"> + <x>526</x> + <y>132</y> + </hint> + <hint type="destinationlabel"> + <x>529</x> + <y>163</y> + </hint> + </hints> + </connection> + </connections> +</ui>