|
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.MatchesDialog</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.MatchesDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show matching references/definitions. |
|
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="#MatchesDialog">MatchesDialog</a></td> |
|
35 <td>Class implementing a dialog to show matching references/definitions.</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="MatchesDialog" ID="MatchesDialog"></a> |
|
44 <h2>MatchesDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show matching references/definitions. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_MatchesDialog |
|
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="#MatchesDialog.__init__">MatchesDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#MatchesDialog.__resizeColumns">__resizeColumns</a></td> |
|
61 <td>Private method to resize the list columns.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#MatchesDialog.__resort">__resort</a></td> |
|
64 <td>Private method to resort the tree.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#MatchesDialog.addEntry">addEntry</a></td> |
|
67 <td>Public slot to add an entry to the list.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#MatchesDialog.on_matchesList_itemActivated">on_matchesList_itemActivated</a></td> |
|
70 <td>Private slot to handle the itemActivated signal of the list.</td> |
|
71 </tr> |
|
72 </table> |
|
73 <a NAME="MatchesDialog.__init__" ID="MatchesDialog.__init__"></a> |
|
74 <h4>MatchesDialog (Constructor)</h4> |
|
75 <b>MatchesDialog</b>(<i>ui, showConfidence, parent = None, name = None</i>) |
|
76 <p> |
|
77 Constructor |
|
78 </p><dl> |
|
79 <dt><i>ui</i></dt> |
|
80 <dd> |
|
81 reference to the UI object |
|
82 </dd><dt><i>showConfidence</i></dt> |
|
83 <dd> |
|
84 flag indicating the display of the |
|
85 confidence column (boolean) |
|
86 </dd><dt><i>parent</i></dt> |
|
87 <dd> |
|
88 parent of this dialog (QWidget) |
|
89 </dd><dt><i>name</i></dt> |
|
90 <dd> |
|
91 name of this dialog (string) |
|
92 </dd> |
|
93 </dl><a NAME="MatchesDialog.__resizeColumns" ID="MatchesDialog.__resizeColumns"></a> |
|
94 <h4>MatchesDialog.__resizeColumns</h4> |
|
95 <b>__resizeColumns</b>(<i></i>) |
|
96 <p> |
|
97 Private method to resize the list columns. |
|
98 </p><a NAME="MatchesDialog.__resort" ID="MatchesDialog.__resort"></a> |
|
99 <h4>MatchesDialog.__resort</h4> |
|
100 <b>__resort</b>(<i></i>) |
|
101 <p> |
|
102 Private method to resort the tree. |
|
103 </p><a NAME="MatchesDialog.addEntry" ID="MatchesDialog.addEntry"></a> |
|
104 <h4>MatchesDialog.addEntry</h4> |
|
105 <b>addEntry</b>(<i>resource, lineno, unsure=False</i>) |
|
106 <p> |
|
107 Public slot to add an entry to the list. |
|
108 </p><dl> |
|
109 <dt><i>resource</i></dt> |
|
110 <dd> |
|
111 reference to the resource object |
|
112 (rope.base.resources.Resource) |
|
113 </dd><dt><i>lineno</i></dt> |
|
114 <dd> |
|
115 linenumber of the match (integer) |
|
116 </dd><dt><i>unsure</i></dt> |
|
117 <dd> |
|
118 flag indicating an unsure match (boolean) |
|
119 </dd> |
|
120 </dl><a NAME="MatchesDialog.on_matchesList_itemActivated" ID="MatchesDialog.on_matchesList_itemActivated"></a> |
|
121 <h4>MatchesDialog.on_matchesList_itemActivated</h4> |
|
122 <b>on_matchesList_itemActivated</b>(<i>item, column</i>) |
|
123 <p> |
|
124 Private slot to handle the itemActivated signal of the list. |
|
125 </p> |
|
126 <div align="right"><a href="#top">Up</a></div> |
|
127 <hr /> |
|
128 </body></html> |