|
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.HistoryDialog</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.HistoryDialog</h1> |
|
24 <p> |
|
25 Module implementing the History 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="#HistoryDialog">HistoryDialog</a></td> |
|
35 <td>Class implementing the History 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="HistoryDialog" ID="HistoryDialog"></a> |
|
44 <h2>HistoryDialog</h2> |
|
45 <p> |
|
46 Class implementing the History dialog. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 PreviewDialogBase |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>ChangeIDRole</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#HistoryDialog.__init__">HistoryDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#HistoryDialog.accept">accept</a></td> |
|
61 <td>Public slot to undo the selected set of changes.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HistoryDialog.on_changesList_currentItemChanged">on_changesList_currentItemChanged</a></td> |
|
64 <td>Private slot called when a change is selected.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <a NAME="HistoryDialog.__init__" ID="HistoryDialog.__init__"></a> |
|
68 <h4>HistoryDialog (Constructor)</h4> |
|
69 <b>HistoryDialog</b>(<i>refactoring, changes, isUndo, parent = None</i>) |
|
70 <p> |
|
71 Constructor |
|
72 </p><dl> |
|
73 <dt><i>refactoring</i></dt> |
|
74 <dd> |
|
75 reference to the main refactoring object |
|
76 (Refactoring) |
|
77 </dd><dt><i>changes</i></dt> |
|
78 <dd> |
|
79 list of ChangeSet objects |
|
80 (list of rope.base.change.ChangeSet) |
|
81 </dd><dt><i>isUndo</i></dt> |
|
82 <dd> |
|
83 flag indicating an undo history dialog (boolean) |
|
84 </dd><dt><i>parent</i></dt> |
|
85 <dd> |
|
86 reference to the parent widget (QWidget) |
|
87 </dd> |
|
88 </dl><a NAME="HistoryDialog.accept" ID="HistoryDialog.accept"></a> |
|
89 <h4>HistoryDialog.accept</h4> |
|
90 <b>accept</b>(<i></i>) |
|
91 <p> |
|
92 Public slot to undo the selected set of changes. |
|
93 </p><a NAME="HistoryDialog.on_changesList_currentItemChanged" ID="HistoryDialog.on_changesList_currentItemChanged"></a> |
|
94 <h4>HistoryDialog.on_changesList_currentItemChanged</h4> |
|
95 <b>on_changesList_currentItemChanged</b>(<i>current, previous</i>) |
|
96 <p> |
|
97 Private slot called when a change is selected. |
|
98 </p><dl> |
|
99 <dt><i>current</i></dt> |
|
100 <dd> |
|
101 reference to the new current item (QListWidgetItem) |
|
102 </dd><dt><i>previous</i></dt> |
|
103 <dd> |
|
104 reference to the old current item (QListWidgetItem) |
|
105 </dd> |
|
106 </dl> |
|
107 <div align="right"><a href="#top">Up</a></div> |
|
108 <hr /> |
|
109 </body></html> |