RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.IntroduceFactoryDialog.html

changeset 17
a0fac63ef73f
child 24
e18b36080a37
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.IntroduceFactoryDialog</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.IntroduceFactoryDialog</h1>
24 <p>
25 Module implementing the Introduce Factory dialog.
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="#IntroduceFactoryDialog">IntroduceFactoryDialog</a></td>
35 <td>Class implementing the Introduce Factory dialog.</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="IntroduceFactoryDialog" ID="IntroduceFactoryDialog"></a>
44 <h2>IntroduceFactoryDialog</h2>
45 <p>
46 Class implementing the Introduce Factory dialog.
47 </p>
48 <h3>Derived from</h3>
49 RefactoringDialogBase, Ui_IntroduceFactoryDialog
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="#IntroduceFactoryDialog.__init__">IntroduceFactoryDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#IntroduceFactoryDialog._calculateChanges">_calculateChanges</a></td>
61 <td>Protected method to calculate the changes.</td>
62 </tr><tr>
63 <td><a href="#IntroduceFactoryDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
64 <td>Private slot to act on the button pressed.</td>
65 </tr><tr>
66 <td><a href="#IntroduceFactoryDialog.on_nameEdit_textChanged">on_nameEdit_textChanged</a></td>
67 <td>Private slot to react to changes of the name.</td>
68 </tr>
69 </table>
70 <a NAME="IntroduceFactoryDialog.__init__" ID="IntroduceFactoryDialog.__init__"></a>
71 <h4>IntroduceFactoryDialog (Constructor)</h4>
72 <b>IntroduceFactoryDialog</b>(<i>refactoring, title, introducer, parent = None</i>)
73 <p>
74 Constructor
75 </p><dl>
76 <dt><i>refactoring</i></dt>
77 <dd>
78 reference to the main refactoring object
79 (Refactoring)
80 </dd><dt><i>title</i></dt>
81 <dd>
82 title of the dialog (string)
83 </dd><dt><i>introducer</i></dt>
84 <dd>
85 reference to the factory introducer object
86 (rope.refactor.introduce_factory.IntroduceFactoryRefactoring)
87 </dd><dt><i>parent</i></dt>
88 <dd>
89 reference to the parent widget (QWidget)
90 </dd>
91 </dl><a NAME="IntroduceFactoryDialog._calculateChanges" ID="IntroduceFactoryDialog._calculateChanges"></a>
92 <h4>IntroduceFactoryDialog._calculateChanges</h4>
93 <b>_calculateChanges</b>(<i>handle</i>)
94 <p>
95 Protected method to calculate the changes.
96 </p><dl>
97 <dt><i>handle</i></dt>
98 <dd>
99 reference to the task handle
100 (rope.base.taskhandle.TaskHandle)
101 </dd>
102 </dl><dl>
103 <dt>Returns:</dt>
104 <dd>
105 reference to the Changes object (rope.base.change.ChangeSet)
106 </dd>
107 </dl><a NAME="IntroduceFactoryDialog.on_buttonBox_clicked" ID="IntroduceFactoryDialog.on_buttonBox_clicked"></a>
108 <h4>IntroduceFactoryDialog.on_buttonBox_clicked</h4>
109 <b>on_buttonBox_clicked</b>(<i>button</i>)
110 <p>
111 Private slot to act on the button pressed.
112 </p><dl>
113 <dt><i>button</i></dt>
114 <dd>
115 reference to the button pressed (QAbstractButton)
116 </dd>
117 </dl><a NAME="IntroduceFactoryDialog.on_nameEdit_textChanged" ID="IntroduceFactoryDialog.on_nameEdit_textChanged"></a>
118 <h4>IntroduceFactoryDialog.on_nameEdit_textChanged</h4>
119 <b>on_nameEdit_textChanged</b>(<i>text</i>)
120 <p>
121 Private slot to react to changes of the name.
122 </p><dl>
123 <dt><i>text</i></dt>
124 <dd>
125 text entered into the edit (string)
126 </dd>
127 </dl>
128 <div align="right"><a href="#top">Up</a></div>
129 <hr />
130 </body></html>

eric ide

mercurial