eric6/Documentation/Source/eric6.Project.LexerAssociationDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 8152
0c740fcffd34
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Project.LexerAssociationDialog</h1> 23 <h1>eric6.Project.LexerAssociationDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to enter lexer associations for the project. 26 Module implementing a dialog to enter lexer associations for the project.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td> 38 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td>
34 <td>Class implementing a dialog to enter lexer associations for the project.</td> 39 <td>Class implementing a dialog to enter lexer associations for the project.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a> 49 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a>
43 <h2>LexerAssociationDialog</h2> 50 <h2>LexerAssociationDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to enter lexer associations for the project. 53 Class implementing a dialog to enter lexer associations for the project.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_LexerAssociationDialog 56 QDialog, Ui_LexerAssociationDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td> 72 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#LexerAssociationDialog.on_addLexerButton_clicked">on_addLexerButton_clicked</a></td> 76 <td><a href="#LexerAssociationDialog.on_addLexerButton_clicked">on_addLexerButton_clicked</a></td>
64 <td>Private slot to add the lexer association displayed to the list.</td> 77 <td>Private slot to add the lexer association displayed to the list.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#LexerAssociationDialog.on_deleteLexerButton_clicked">on_deleteLexerButton_clicked</a></td> 80 <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> 81 <td>Private slot to delete the currently selected lexer association of the list.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged">on_editorLexerCombo_currentIndexChanged</a></td> 84 <td><a href="#LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged">on_editorLexerCombo_currentIndexChanged</a></td>
70 <td>Private slot to handle the selection of a lexer.</td> 85 <td>Private slot to handle the selection of a lexer.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemActivated">on_editorLexerList_itemActivated</a></td> 88 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemActivated">on_editorLexerList_itemActivated</a></td>
73 <td>Private slot to handle the activated signal of the lexer association list.</td> 89 <td>Private slot to handle the activated signal of the lexer association list.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemClicked">on_editorLexerList_itemClicked</a></td> 92 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemClicked">on_editorLexerList_itemClicked</a></td>
76 <td>Private slot to handle the clicked signal of the lexer association list.</td> 93 <td>Private slot to handle the clicked signal of the lexer association list.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#LexerAssociationDialog.transferData">transferData</a></td> 96 <td><a href="#LexerAssociationDialog.transferData">transferData</a></td>
79 <td>Public slot to transfer the associations into the projects data structure.</td> 97 <td>Public slot to transfer the associations into the projects data structure.</td>
80 </tr> 98 </tr>
81 </table> 99 </table>
82 <h3>Static Methods</h3> 100 <h3>Static Methods</h3>
83 <table> 101
84 <tr><td>None</td></tr> 102 <table>
85 </table> 103 <tr><td>None</td></tr>
104 </table>
105
86 <a NAME="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a> 106 <a NAME="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a>
87 <h4>LexerAssociationDialog (Constructor)</h4> 107 <h4>LexerAssociationDialog (Constructor)</h4>
88 <b>LexerAssociationDialog</b>(<i>project, parent=None</i>) 108 <b>LexerAssociationDialog</b>(<i>project, parent=None</i>)
109
89 <p> 110 <p>
90 Constructor 111 Constructor
91 </p><dl> 112 </p>
113 <dl>
114
92 <dt><i>project</i></dt> 115 <dt><i>project</i></dt>
93 <dd> 116 <dd>
94 reference to the project object 117 reference to the project object
95 </dd><dt><i>parent</i></dt> 118 </dd>
119 <dt><i>parent</i></dt>
96 <dd> 120 <dd>
97 reference to the parent widget (QWidget) 121 reference to the parent widget (QWidget)
98 </dd> 122 </dd>
99 </dl><a NAME="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a> 123 </dl>
124 <a NAME="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a>
100 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4> 125 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4>
101 <b>on_addLexerButton_clicked</b>(<i></i>) 126 <b>on_addLexerButton_clicked</b>(<i></i>)
127
102 <p> 128 <p>
103 Private slot to add the lexer association displayed to the list. 129 Private slot to add the lexer association displayed to the list.
104 </p><a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a> 130 </p>
131 <a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a>
105 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4> 132 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4>
106 <b>on_deleteLexerButton_clicked</b>(<i></i>) 133 <b>on_deleteLexerButton_clicked</b>(<i></i>)
134
107 <p> 135 <p>
108 Private slot to delete the currently selected lexer association of the 136 Private slot to delete the currently selected lexer association of the
109 list. 137 list.
110 </p><a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a> 138 </p>
139 <a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a>
111 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4> 140 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4>
112 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>) 141 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>)
142
113 <p> 143 <p>
114 Private slot to handle the selection of a lexer. 144 Private slot to handle the selection of a lexer.
115 </p><dl> 145 </p>
146 <dl>
147
116 <dt><i>text</i></dt> 148 <dt><i>text</i></dt>
117 <dd> 149 <dd>
118 text of the line edit (string) 150 text of the line edit (string)
119 </dd> 151 </dd>
120 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a> 152 </dl>
153 <a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a>
121 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4> 154 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4>
122 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>) 155 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>)
156
123 <p> 157 <p>
124 Private slot to handle the activated signal of the lexer association 158 Private slot to handle the activated signal of the lexer association
125 list. 159 list.
126 </p><dl> 160 </p>
161 <dl>
162
127 <dt><i>itm</i></dt> 163 <dt><i>itm</i></dt>
128 <dd> 164 <dd>
129 reference to the selecte item (QTreeWidgetItem) 165 reference to the selecte item (QTreeWidgetItem)
130 </dd><dt><i>column</i></dt> 166 </dd>
167 <dt><i>column</i></dt>
131 <dd> 168 <dd>
132 column the item was clicked or activated (integer) 169 column the item was clicked or activated (integer)
133 (ignored) 170 (ignored)
134 </dd> 171 </dd>
135 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a> 172 </dl>
173 <a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a>
136 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4> 174 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4>
137 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>) 175 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>)
176
138 <p> 177 <p>
139 Private slot to handle the clicked signal of the lexer association 178 Private slot to handle the clicked signal of the lexer association
140 list. 179 list.
141 </p><dl> 180 </p>
181 <dl>
182
142 <dt><i>itm</i></dt> 183 <dt><i>itm</i></dt>
143 <dd> 184 <dd>
144 reference to the selecte item (QTreeWidgetItem) 185 reference to the selecte item (QTreeWidgetItem)
145 </dd><dt><i>column</i></dt> 186 </dd>
187 <dt><i>column</i></dt>
146 <dd> 188 <dd>
147 column the item was clicked or activated (integer) 189 column the item was clicked or activated (integer)
148 (ignored) 190 (ignored)
149 </dd> 191 </dd>
150 </dl><a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a> 192 </dl>
193 <a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a>
151 <h4>LexerAssociationDialog.transferData</h4> 194 <h4>LexerAssociationDialog.transferData</h4>
152 <b>transferData</b>(<i></i>) 195 <b>transferData</b>(<i></i>)
196
153 <p> 197 <p>
154 Public slot to transfer the associations into the projects data 198 Public slot to transfer the associations into the projects data
155 structure. 199 structure.
156 </p> 200 </p>
157 <div align="right"><a href="#top">Up</a></div> 201 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial