Sat, 27 Jun 2015 11:15:48 +0200
Added capability to go to the definition of a class or function by clicking on it (while holding the Ctrl key or another configurable modifier sequence) (needs eric 6.1.0).
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
1 | <!DOCTYPE html> |
17 | 2 | <html><head> |
3 | <title>Plugin_Refactoring_Rope.RefactoringRope.MatchesDialog</title> | |
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
4 | <meta charset="UTF-8"> |
17 | 5 | <style> |
6 | body { | |
7 | background: #EDECE6; | |
8 | margin: 0em 1em 10em 1em; | |
9 | color: black; | |
10 | } | |
11 | ||
12 | h1 { color: white; background: #85774A; } | |
13 | h2 { color: white; background: #85774A; } | |
14 | h3 { color: white; background: #9D936E; } | |
15 | h4 { color: white; background: #9D936E; } | |
16 | ||
17 | a { color: #BA6D36; } | |
18 | ||
19 | </style> | |
20 | </head> | |
21 | <body><a NAME="top" ID="top"></a> | |
22 | <h1>Plugin_Refactoring_Rope.RefactoringRope.MatchesDialog</h1> | |
23 | <p> | |
24 | Module implementing a dialog to show matching references/definitions. | |
25 | </p> | |
26 | <h3>Global Attributes</h3> | |
27 | <table> | |
28 | <tr><td>None</td></tr> | |
29 | </table> | |
30 | <h3>Classes</h3> | |
31 | <table> | |
32 | <tr> | |
33 | <td><a href="#MatchesDialog">MatchesDialog</a></td> | |
34 | <td>Class implementing a dialog to show matching references/definitions.</td> | |
35 | </tr> | |
36 | </table> | |
37 | <h3>Functions</h3> | |
38 | <table> | |
39 | <tr><td>None</td></tr> | |
40 | </table> | |
41 | <hr /><hr /> | |
42 | <a NAME="MatchesDialog" ID="MatchesDialog"></a> | |
43 | <h2>MatchesDialog</h2> | |
44 | <p> | |
45 | Class implementing a dialog to show matching references/definitions. | |
46 | </p> | |
47 | <h3>Derived from</h3> | |
48 | QDialog, Ui_MatchesDialog | |
49 | <h3>Class Attributes</h3> | |
50 | <table> | |
24
e18b36080a37
Updated source docu after making the code PEP-8 compliant.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
17
diff
changeset
|
51 | <tr><td>FilePathRole</td></tr> |
17 | 52 | </table> |
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
53 | <h3>Class Methods</h3> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
54 | <table> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
55 | <tr><td>None</td></tr> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
56 | </table> |
17 | 57 | <h3>Methods</h3> |
58 | <table> | |
59 | <tr> | |
60 | <td><a href="#MatchesDialog.__init__">MatchesDialog</a></td> | |
61 | <td>Constructor</td> | |
62 | </tr><tr> | |
63 | <td><a href="#MatchesDialog.__resizeColumns">__resizeColumns</a></td> | |
64 | <td>Private method to resize the list columns.</td> | |
65 | </tr><tr> | |
66 | <td><a href="#MatchesDialog.__resort">__resort</a></td> | |
67 | <td>Private method to resort the tree.</td> | |
68 | </tr><tr> | |
69 | <td><a href="#MatchesDialog.addEntry">addEntry</a></td> | |
70 | <td>Public slot to add an entry to the list.</td> | |
71 | </tr><tr> | |
72 | <td><a href="#MatchesDialog.on_matchesList_itemActivated">on_matchesList_itemActivated</a></td> | |
73 | <td>Private slot to handle the itemActivated signal of the list.</td> | |
74 | </tr> | |
75 | </table> | |
44
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
76 | <h3>Static Methods</h3> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
77 | <table> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
78 | <tr><td>None</td></tr> |
8aa985c8dee5
Fixed an issue causing failures for files with Windows end-of-line indicators.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
24
diff
changeset
|
79 | </table> |
17 | 80 | <a NAME="MatchesDialog.__init__" ID="MatchesDialog.__init__"></a> |
81 | <h4>MatchesDialog (Constructor)</h4> | |
24
e18b36080a37
Updated source docu after making the code PEP-8 compliant.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
17
diff
changeset
|
82 | <b>MatchesDialog</b>(<i>ui, showConfidence, parent=None, name=None</i>) |
17 | 83 | <p> |
84 | Constructor | |
85 | </p><dl> | |
86 | <dt><i>ui</i></dt> | |
87 | <dd> | |
88 | reference to the UI object | |
89 | </dd><dt><i>showConfidence</i></dt> | |
90 | <dd> | |
91 | flag indicating the display of the | |
92 | confidence column (boolean) | |
93 | </dd><dt><i>parent</i></dt> | |
94 | <dd> | |
95 | parent of this dialog (QWidget) | |
96 | </dd><dt><i>name</i></dt> | |
97 | <dd> | |
98 | name of this dialog (string) | |
99 | </dd> | |
100 | </dl><a NAME="MatchesDialog.__resizeColumns" ID="MatchesDialog.__resizeColumns"></a> | |
101 | <h4>MatchesDialog.__resizeColumns</h4> | |
102 | <b>__resizeColumns</b>(<i></i>) | |
103 | <p> | |
104 | Private method to resize the list columns. | |
105 | </p><a NAME="MatchesDialog.__resort" ID="MatchesDialog.__resort"></a> | |
106 | <h4>MatchesDialog.__resort</h4> | |
107 | <b>__resort</b>(<i></i>) | |
108 | <p> | |
109 | Private method to resort the tree. | |
110 | </p><a NAME="MatchesDialog.addEntry" ID="MatchesDialog.addEntry"></a> | |
111 | <h4>MatchesDialog.addEntry</h4> | |
112 | <b>addEntry</b>(<i>resource, lineno, unsure=False</i>) | |
113 | <p> | |
114 | Public slot to add an entry to the list. | |
115 | </p><dl> | |
116 | <dt><i>resource</i></dt> | |
117 | <dd> | |
118 | reference to the resource object | |
119 | (rope.base.resources.Resource) | |
120 | </dd><dt><i>lineno</i></dt> | |
121 | <dd> | |
122 | linenumber of the match (integer) | |
123 | </dd><dt><i>unsure</i></dt> | |
124 | <dd> | |
125 | flag indicating an unsure match (boolean) | |
126 | </dd> | |
127 | </dl><a NAME="MatchesDialog.on_matchesList_itemActivated" ID="MatchesDialog.on_matchesList_itemActivated"></a> | |
128 | <h4>MatchesDialog.on_matchesList_itemActivated</h4> | |
129 | <b>on_matchesList_itemActivated</b>(<i>item, column</i>) | |
130 | <p> | |
131 | Private slot to handle the itemActivated signal of the list. | |
55
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
132 | </p><dl> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
133 | <dt><i>item</i></dt> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
134 | <dd> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
135 | reference to the activated item (QTreeWidgetItem) |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
136 | </dd><dt><i>column</i></dt> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
137 | <dd> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
138 | column the item was activated in (integer) |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
139 | </dd> |
d501156be247
Fixed code style issues.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
44
diff
changeset
|
140 | </dl> |
17 | 141 | <div align="right"><a href="#top">Up</a></div> |
142 | <hr /> | |
143 | </body></html> |