Plugin_Refactoring_Rope.RefactoringRope.GetterSetterDialog

Module implementing a dialog to create getter and setter method names.

Classes

GetterSetterDialog Class implementing a dialog to create getter and setter method names.

Functions

None


GetterSetterDialog

Class implementing a dialog to create getter and setter method names.

Derived from

QDialog, Ui_GetterSetterDialog

Methods

GetterSetterDialog Constructor
getData Public method to return the getter and setter method names.
on_typeCheckBox_toggled Slot to react to changes of the type checkbox.

GetterSetterDialog (Constructor)

GetterSetterDialog(fieldName, parent = None)

Constructor

fieldName
name of the field to create getter and setter method names (string or QString)
parent
parent widget of the dialog (QWidget)

GetterSetterDialog.getData

getData()

Public method to return the getter and setter method names.

Returns:
tuple of two unicode strings with getter and setter method names

GetterSetterDialog.on_typeCheckBox_toggled

on_typeCheckBox_toggled(checked)

Slot to react to changes of the type checkbox.

checked
state of the checkbox (boolean)
Up