RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.GetterSetterDialog.html

changeset 17
a0fac63ef73f
child 44
8aa985c8dee5
equal deleted inserted replaced
16:65b340b40844 17:a0fac63ef73f
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>Plugin_Refactoring_Rope.RefactoringRope.GetterSetterDialog</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>Plugin_Refactoring_Rope.RefactoringRope.GetterSetterDialog</h1>
24 <p>
25 Module implementing a dialog to create getter and setter method names.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#GetterSetterDialog">GetterSetterDialog</a></td>
35 <td>Class implementing a dialog to create getter and setter method names.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="GetterSetterDialog" ID="GetterSetterDialog"></a>
44 <h2>GetterSetterDialog</h2>
45 <p>
46 Class implementing a dialog to create getter and setter method names.
47 </p>
48 <h3>Derived from</h3>
49 QDialog, Ui_GetterSetterDialog
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#GetterSetterDialog.__init__">GetterSetterDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#GetterSetterDialog.getData">getData</a></td>
61 <td>Public method to return the getter and setter method names.</td>
62 </tr><tr>
63 <td><a href="#GetterSetterDialog.on_typeCheckBox_toggled">on_typeCheckBox_toggled</a></td>
64 <td>Slot to react to changes of the type checkbox.</td>
65 </tr>
66 </table>
67 <a NAME="GetterSetterDialog.__init__" ID="GetterSetterDialog.__init__"></a>
68 <h4>GetterSetterDialog (Constructor)</h4>
69 <b>GetterSetterDialog</b>(<i>fieldName, parent=None</i>)
70 <p>
71 Constructor
72 </p><dl>
73 <dt><i>fieldName</i></dt>
74 <dd>
75 name of the field to create getter and setter
76 method names (string)
77 </dd><dt><i>parent</i></dt>
78 <dd>
79 parent widget of the dialog (QWidget)
80 </dd>
81 </dl><a NAME="GetterSetterDialog.getData" ID="GetterSetterDialog.getData"></a>
82 <h4>GetterSetterDialog.getData</h4>
83 <b>getData</b>(<i></i>)
84 <p>
85 Public method to return the getter and setter method names.
86 </p><dl>
87 <dt>Returns:</dt>
88 <dd>
89 tuple of two strings with getter and setter method names
90 </dd>
91 </dl><a NAME="GetterSetterDialog.on_typeCheckBox_toggled" ID="GetterSetterDialog.on_typeCheckBox_toggled"></a>
92 <h4>GetterSetterDialog.on_typeCheckBox_toggled</h4>
93 <b>on_typeCheckBox_toggled</b>(<i>checked</i>)
94 <p>
95 Slot to react to changes of the type checkbox.
96 </p><dl>
97 <dt><i>checked</i></dt>
98 <dd>
99 state of the checkbox (boolean)
100 </dd>
101 </dl>
102 <div align="right"><a href="#top">Up</a></div>
103 <hr />
104 </body></html>

eric ide

mercurial