diff -r 0fdfae822ca7 -r 562f9758d2e1 RefactoringRope/RestructureDialog.ui --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RefactoringRope/RestructureDialog.ui Sun Jan 30 17:02:15 2011 +0100 @@ -0,0 +1,219 @@ +<ui version="4.0" > + <class>RestructureDialog</class> + <widget class="QDialog" name="RestructureDialog" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>500</width> + <height>700</height> + </rect> + </property> + <property name="windowTitle" > + <string>Restructure</string> + </property> + <property name="sizeGripEnabled" > + <bool>true</bool> + </property> + <layout class="QGridLayout" > + <property name="leftMargin" > + <number>6</number> + </property> + <property name="topMargin" > + <number>6</number> + </property> + <property name="rightMargin" > + <number>6</number> + </property> + <property name="bottomMargin" > + <number>6</number> + </property> + <item row="0" column="0" > + <widget class="QLabel" name="label" > + <property name="text" > + <string>Pattern:</string> + </property> + <property name="alignment" > + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> + </property> + </widget> + </item> + <item row="0" column="1" > + <widget class="QTextEdit" name="patternEdit" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="toolTip" > + <string>Rope searches for 'pattern' in the project and replaces its +occurrences with 'goal. They can contain "${name}" +wildcards. See "Rope Help" for examples.</string> + </property> + <property name="acceptRichText" > + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="0" > + <widget class="QLabel" name="label_2" > + <property name="text" > + <string>Goal:</string> + </property> + <property name="alignment" > + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> + </property> + </widget> + </item> + <item row="1" column="1" > + <widget class="QTextEdit" name="goalEdit" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Expanding" hsizetype="Expanding" > + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="toolTip" > + <string>Pieces of code that match the pattern will be replaced +with goal. It can contain the wildcards that appear in the +pattern. They are replaced with the code that has matched them.</string> + </property> + <property name="acceptRichText" > + <bool>false</bool> + </property> + </widget> + </item> + <item row="2" column="0" colspan="2" > + <widget class="QGroupBox" name="groupBox" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > + <horstretch>0</horstretch> + <verstretch>2</verstretch> + </sizepolicy> + </property> + <property name="title" > + <string>Arguments</string> + </property> + <layout class="QVBoxLayout" > + <property name="leftMargin" > + <number>6</number> + </property> + <property name="topMargin" > + <number>6</number> + </property> + <property name="rightMargin" > + <number>6</number> + </property> + <property name="bottomMargin" > + <number>6</number> + </property> + <item> + <widget class="QTextEdit" name="argsEdit" > + <property name="toolTip" > + <string>Add checks here; One each line. Like: + var: type=mymod.AClass + +Checks may be combined by separating them by a comma, like: + var: type=mymod.AClass,exact + +Use __builtin__ module for builtins. + +Supported checks are: + name - for checking the reference + type - for checking the type + object - for checking the object + instance - for checking types but similar to builtin isinstance + exact - matching only occurrences with the same name as the wildcard</string> + </property> + <property name="lineWrapMode" > + <enum>QTextEdit::NoWrap</enum> + </property> + <property name="acceptRichText" > + <bool>false</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="3" column="0" colspan="2" > + <widget class="QGroupBox" name="groupBox_2" > + <property name="sizePolicy" > + <sizepolicy vsizetype="Preferred" hsizetype="Preferred" > + <horstretch>0</horstretch> + <verstretch>2</verstretch> + </sizepolicy> + </property> + <property name="title" > + <string>Imports</string> + </property> + <layout class="QVBoxLayout" > + <property name="leftMargin" > + <number>6</number> + </property> + <property name="topMargin" > + <number>6</number> + </property> + <property name="rightMargin" > + <number>6</number> + </property> + <property name="bottomMargin" > + <number>6</number> + </property> + <item> + <widget class="QTextEdit" name="importsEdit" > + <property name="toolTip" > + <string>Add imports here. These imports are added to changed files. Like: + from mymod import AClass</string> + </property> + <property name="lineWrapMode" > + <enum>QTextEdit::NoWrap</enum> + </property> + <property name="acceptRichText" > + <bool>false</bool> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="4" column="0" colspan="2" > + <widget class="QDialogButtonBox" name="buttonBox" > + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons" > + <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <tabstops> + <tabstop>patternEdit</tabstop> + <tabstop>goalEdit</tabstop> + <tabstop>argsEdit</tabstop> + <tabstop>importsEdit</tabstop> + <tabstop>buttonBox</tabstop> + </tabstops> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>RestructureDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel" > + <x>353</x> + <y>687</y> + </hint> + <hint type="destinationlabel" > + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui>