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

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

eric ide

mercurial