diff -r a92b3272f4c1 -r f740b50380df RefactoringRope/GetterSetterDialog.ui --- a/RefactoringRope/GetterSetterDialog.ui Wed May 26 17:53:08 2021 +0200 +++ b/RefactoringRope/GetterSetterDialog.ui Wed May 26 19:07:42 2021 +0200 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>GetterSetterDialog</class> - <widget class="QDialog" name="GetterSetterDialog" > - <property name="geometry" > + <widget class="QDialog" name="GetterSetterDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,67 +10,73 @@ <height>132</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Getter and Setter Method Names</string> </property> - <layout class="QGridLayout" > - <property name="leftMargin" > + <layout class="QGridLayout"> + <property name="leftMargin"> <number>6</number> </property> - <property name="topMargin" > + <property name="topMargin"> <number>6</number> </property> - <property name="rightMargin" > + <property name="rightMargin"> <number>6</number> </property> - <property name="bottomMargin" > + <property name="bottomMargin"> <number>6</number> </property> - <item row="0" column="0" colspan="2" > - <widget class="QCheckBox" name="typeCheckBox" > - <property name="toolTip" > + <item row="0" column="0" colspan="2"> + <widget class="QCheckBox" name="typeCheckBox"> + <property name="toolTip"> <string>Select to create getter and setter method names with an underscore</string> </property> - <property name="text" > + <property name="text"> <string>Use underscore as separator</string> </property> </widget> </item> - <item row="1" column="0" > - <widget class="QLabel" name="label" > - <property name="text" > + <item row="1" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> <string>Getter:</string> </property> </widget> </item> - <item row="1" column="1" > - <widget class="QLineEdit" name="getterEdit" > - <property name="toolTip" > + <item row="1" column="1"> + <widget class="QLineEdit" name="getterEdit"> + <property name="toolTip"> <string>Enter the name of the getter method</string> </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> </widget> </item> - <item row="2" column="0" > - <widget class="QLabel" name="label_2" > - <property name="text" > + <item row="2" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> <string>Setter:</string> </property> </widget> </item> - <item row="2" column="1" > - <widget class="QLineEdit" name="setterEdit" > - <property name="toolTip" > + <item row="2" column="1"> + <widget class="QLineEdit" name="setterEdit"> + <property name="toolTip"> <string>Enter the name of the setter method</string> </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> </widget> </item> - <item row="3" column="0" colspan="2" > - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <item row="3" 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 name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> @@ -89,11 +96,11 @@ <receiver>GetterSetterDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>224</x> <y>113</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>157</x> <y>131</y> </hint> @@ -105,11 +112,11 @@ <receiver>GetterSetterDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>292</x> <y>119</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>286</x> <y>131</y> </hint>