src/eric7/Documentation/Source/eric7.Project.LexerAssociationDialog.html

branch
eric7
changeset 10479
856476537696
parent 10430
e440aaf179ce
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Project.LexerAssociationDialog</h1> 9 <h1>eric7.Project.LexerAssociationDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to enter lexer associations for the project. 11 Module implementing a dialog to enter lexer associations for the project.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td> 22 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td>
25 <td>Class implementing a dialog to enter lexer associations for the project.</td> 23 <td>Class implementing a dialog to enter lexer associations for the project.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a> 34 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a>
36 <h2>LexerAssociationDialog</h2> 35 <h2>LexerAssociationDialog</h2>
37
38 <p> 36 <p>
39 Class implementing a dialog to enter lexer associations for the project. 37 Class implementing a dialog to enter lexer associations for the project.
40 </p> 38 </p>
39
41 <h3>Derived from</h3> 40 <h3>Derived from</h3>
42 QDialog, Ui_LexerAssociationDialog 41 QDialog, Ui_LexerAssociationDialog
43 <h3>Class Attributes</h3> 42 <h3>Class Attributes</h3>
44
45 <table> 43 <table>
46 <tr><td>None</td></tr> 44 <tr><td>None</td></tr>
47 </table> 45 </table>
46
48 <h3>Class Methods</h3> 47 <h3>Class Methods</h3>
49
50 <table> 48 <table>
51 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
52 </table> 50 </table>
51
53 <h3>Methods</h3> 52 <h3>Methods</h3>
54
55 <table> 53 <table>
56
57 <tr> 54 <tr>
58 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td> 55 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td>
59 <td>Constructor</td> 56 <td>Constructor</td>
60 </tr> 57 </tr>
61 <tr> 58 <tr>
81 <tr> 78 <tr>
82 <td><a href="#LexerAssociationDialog.transferData">transferData</a></td> 79 <td><a href="#LexerAssociationDialog.transferData">transferData</a></td>
83 <td>Public slot to transfer the associations into the projects data structure.</td> 80 <td>Public slot to transfer the associations into the projects data structure.</td>
84 </tr> 81 </tr>
85 </table> 82 </table>
83
86 <h3>Static Methods</h3> 84 <h3>Static Methods</h3>
87
88 <table> 85 <table>
89 <tr><td>None</td></tr> 86 <tr><td>None</td></tr>
90 </table> 87 </table>
91 88
89
92 <a NAME="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a> 90 <a NAME="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a>
93 <h4>LexerAssociationDialog (Constructor)</h4> 91 <h4>LexerAssociationDialog (Constructor)</h4>
94 <b>LexerAssociationDialog</b>(<i>project, parent=None</i>) 92 <b>LexerAssociationDialog</b>(<i>project, parent=None</i>)
95
96 <p> 93 <p>
97 Constructor 94 Constructor
98 </p> 95 </p>
96
99 <dl> 97 <dl>
100 98
101 <dt><i>project</i> (Project)</dt> 99 <dt><i>project</i> (Project)</dt>
102 <dd> 100 <dd>
103 reference to the project object 101 reference to the project object
108 </dd> 106 </dd>
109 </dl> 107 </dl>
110 <a NAME="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a> 108 <a NAME="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a>
111 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4> 109 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4>
112 <b>on_addLexerButton_clicked</b>(<i></i>) 110 <b>on_addLexerButton_clicked</b>(<i></i>)
113
114 <p> 111 <p>
115 Private slot to add the lexer association displayed to the list. 112 Private slot to add the lexer association displayed to the list.
116 </p> 113 </p>
114
117 <a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a> 115 <a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a>
118 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4> 116 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4>
119 <b>on_deleteLexerButton_clicked</b>(<i></i>) 117 <b>on_deleteLexerButton_clicked</b>(<i></i>)
120
121 <p> 118 <p>
122 Private slot to delete the currently selected lexer association of the 119 Private slot to delete the currently selected lexer association of the
123 list. 120 list.
124 </p> 121 </p>
122
125 <a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a> 123 <a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a>
126 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4> 124 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4>
127 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>index</i>) 125 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>index</i>)
128
129 <p> 126 <p>
130 Private slot to handle the selection of a lexer. 127 Private slot to handle the selection of a lexer.
131 </p> 128 </p>
129
132 <dl> 130 <dl>
133 131
134 <dt><i>index</i> (int)</dt> 132 <dt><i>index</i> (int)</dt>
135 <dd> 133 <dd>
136 index of the current item 134 index of the current item
137 </dd> 135 </dd>
138 </dl> 136 </dl>
139 <a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a> 137 <a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a>
140 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4> 138 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4>
141 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>) 139 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>)
142
143 <p> 140 <p>
144 Private slot to handle the activated signal of the lexer association 141 Private slot to handle the activated signal of the lexer association
145 list. 142 list.
146 </p> 143 </p>
144
147 <dl> 145 <dl>
148 146
149 <dt><i>itm</i> (QTreeWidgetItem)</dt> 147 <dt><i>itm</i> (QTreeWidgetItem)</dt>
150 <dd> 148 <dd>
151 reference to the selecte item 149 reference to the selecte item
156 </dd> 154 </dd>
157 </dl> 155 </dl>
158 <a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a> 156 <a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a>
159 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4> 157 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4>
160 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>) 158 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>)
161
162 <p> 159 <p>
163 Private slot to handle the clicked signal of the lexer association 160 Private slot to handle the clicked signal of the lexer association
164 list. 161 list.
165 </p> 162 </p>
163
166 <dl> 164 <dl>
167 165
168 <dt><i>itm</i> (QTreeWidgetItem)</dt> 166 <dt><i>itm</i> (QTreeWidgetItem)</dt>
169 <dd> 167 <dd>
170 reference to the selecte item 168 reference to the selecte item
175 </dd> 173 </dd>
176 </dl> 174 </dl>
177 <a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a> 175 <a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a>
178 <h4>LexerAssociationDialog.transferData</h4> 176 <h4>LexerAssociationDialog.transferData</h4>
179 <b>transferData</b>(<i></i>) 177 <b>transferData</b>(<i></i>)
180
181 <p> 178 <p>
182 Public slot to transfer the associations into the projects data 179 Public slot to transfer the associations into the projects data
183 structure. 180 structure.
184 </p> 181 </p>
182
185 <div align="right"><a href="#top">Up</a></div> 183 <div align="right"><a href="#top">Up</a></div>
186 <hr /> 184 <hr />
187 </body></html> 185 </body></html>

eric ide

mercurial