20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.Project.LexerAssociationDialog</h1> |
23 <h1>eric5.Project.LexerAssociationDialog</h1> |
24 <p> |
24 <p> |
25 Module implementing a dialog to enter lexer associations for the project. |
25 Module implementing a dialog to enter lexer associations for the project. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
31 <h3>Classes</h3> |
31 <h3>Classes</h3> |
32 <table> |
32 <table> |
33 <tr> |
33 <tr> |
34 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td> |
34 <td><a href="#LexerAssociationDialog">LexerAssociationDialog</a></td> |
35 <td>Class implementing a dialog to enter lexer associations for the project.</td> |
35 <td>Class implementing a dialog to enter lexer associations for the project.</td> |
36 </tr> |
36 </tr> |
37 </table> |
37 </table> |
38 <h3>Functions</h3> |
38 <h3>Functions</h3> |
39 <table> |
39 <table> |
40 <tr><td>None</td></tr> |
40 <tr><td>None</td></tr> |
41 </table> |
41 </table> |
42 <hr /><hr /> |
42 <hr /><hr /> |
43 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a> |
43 <a NAME="LexerAssociationDialog" ID="LexerAssociationDialog"></a> |
44 <h2>LexerAssociationDialog</h2> |
44 <h2>LexerAssociationDialog</h2> |
45 <p> |
45 <p> |
46 Class implementing a dialog to enter lexer associations for the project. |
46 Class implementing a dialog to enter lexer associations for the project. |
47 </p> |
47 </p> |
48 <h3>Derived from</h3> |
48 <h3>Derived from</h3> |
49 QDialog, Ui_LexerAssociationDialog |
49 QDialog, Ui_LexerAssociationDialog |
50 <h3>Class Attributes</h3> |
50 <h3>Class Attributes</h3> |
51 <table> |
51 <table> |
53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td> |
57 <td><a href="#LexerAssociationDialog.__init__">LexerAssociationDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#LexerAssociationDialog.on_addLexerButton_clicked">on_addLexerButton_clicked</a></td> |
60 <td><a href="#LexerAssociationDialog.on_addLexerButton_clicked">on_addLexerButton_clicked</a></td> |
61 <td>Private slot to add the lexer association displayed to the list.</td> |
61 <td>Private slot to add the lexer association displayed to the list.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#LexerAssociationDialog.on_deleteLexerButton_clicked">on_deleteLexerButton_clicked</a></td> |
63 <td><a href="#LexerAssociationDialog.on_deleteLexerButton_clicked">on_deleteLexerButton_clicked</a></td> |
64 <td>Private slot to delete the currently selected lexer association of the list.</td> |
64 <td>Private slot to delete the currently selected lexer association of the list.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged">on_editorLexerCombo_currentIndexChanged</a></td> |
66 <td><a href="#LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged">on_editorLexerCombo_currentIndexChanged</a></td> |
67 <td>Private slot to handle the selection of a lexer.</td> |
67 <td>Private slot to handle the selection of a lexer.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemActivated">on_editorLexerList_itemActivated</a></td> |
69 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemActivated">on_editorLexerList_itemActivated</a></td> |
70 <td>Private slot to handle the activated signal of the lexer association list.</td> |
70 <td>Private slot to handle the activated signal of the lexer association list.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemClicked">on_editorLexerList_itemClicked</a></td> |
72 <td><a href="#LexerAssociationDialog.on_editorLexerList_itemClicked">on_editorLexerList_itemClicked</a></td> |
73 <td>Private slot to handle the clicked signal of the lexer association list.</td> |
73 <td>Private slot to handle the clicked signal of the lexer association list.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#LexerAssociationDialog.transferData">transferData</a></td> |
75 <td><a href="#LexerAssociationDialog.transferData">transferData</a></td> |
76 <td>Public slot to transfer the associations into the projects data structure.</td> |
76 <td>Public slot to transfer the associations into the projects data structure.</td> |
77 </tr> |
77 </tr> |
78 </table> |
78 </table> |
79 <a NAME="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a> |
79 <a NAME="LexerAssociationDialog.__init__" ID="LexerAssociationDialog.__init__"></a> |
80 <h4>LexerAssociationDialog (Constructor)</h4> |
80 <h4>LexerAssociationDialog (Constructor)</h4> |
81 <b>LexerAssociationDialog</b>(<i>project, parent = None</i>) |
81 <b>LexerAssociationDialog</b>(<i>project, parent = None</i>) |
82 <p> |
82 <p> |
83 Constructor |
83 Constructor |
84 </p><dl> |
84 </p><dl> |
85 <dt><i>project</i></dt> |
85 <dt><i>project</i></dt> |
86 <dd> |
86 <dd> |
87 reference to the project object |
87 reference to the project object |
88 </dd><dt><i>parent</i></dt> |
88 </dd><dt><i>parent</i></dt> |
89 <dd> |
89 <dd> |
90 reference to the parent widget (QWidget) |
90 reference to the parent widget (QWidget) |
91 </dd> |
91 </dd> |
92 </dl><a NAME="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a> |
92 </dl><a NAME="LexerAssociationDialog.on_addLexerButton_clicked" ID="LexerAssociationDialog.on_addLexerButton_clicked"></a> |
93 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4> |
93 <h4>LexerAssociationDialog.on_addLexerButton_clicked</h4> |
94 <b>on_addLexerButton_clicked</b>(<i></i>) |
94 <b>on_addLexerButton_clicked</b>(<i></i>) |
95 <p> |
95 <p> |
96 Private slot to add the lexer association displayed to the list. |
96 Private slot to add the lexer association displayed to the list. |
97 </p><a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a> |
97 </p><a NAME="LexerAssociationDialog.on_deleteLexerButton_clicked" ID="LexerAssociationDialog.on_deleteLexerButton_clicked"></a> |
98 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4> |
98 <h4>LexerAssociationDialog.on_deleteLexerButton_clicked</h4> |
99 <b>on_deleteLexerButton_clicked</b>(<i></i>) |
99 <b>on_deleteLexerButton_clicked</b>(<i></i>) |
100 <p> |
100 <p> |
101 Private slot to delete the currently selected lexer association of the list. |
101 Private slot to delete the currently selected lexer association of the list. |
102 </p><a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a> |
102 </p><a NAME="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged" ID="LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged"></a> |
103 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4> |
103 <h4>LexerAssociationDialog.on_editorLexerCombo_currentIndexChanged</h4> |
104 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>) |
104 <b>on_editorLexerCombo_currentIndexChanged</b>(<i>text</i>) |
105 <p> |
105 <p> |
106 Private slot to handle the selection of a lexer. |
106 Private slot to handle the selection of a lexer. |
107 </p><dl> |
107 </p><dl> |
108 <dt><i>text</i></dt> |
108 <dt><i>text</i></dt> |
109 <dd> |
109 <dd> |
110 text of the line edit (string) |
110 text of the line edit (string) |
111 </dd> |
111 </dd> |
112 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a> |
112 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemActivated" ID="LexerAssociationDialog.on_editorLexerList_itemActivated"></a> |
113 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4> |
113 <h4>LexerAssociationDialog.on_editorLexerList_itemActivated</h4> |
114 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>) |
114 <b>on_editorLexerList_itemActivated</b>(<i>itm, column</i>) |
115 <p> |
115 <p> |
116 Private slot to handle the activated signal of the lexer association list. |
116 Private slot to handle the activated signal of the lexer association list. |
117 </p><dl> |
117 </p><dl> |
118 <dt><i>itm</i></dt> |
118 <dt><i>itm</i></dt> |
119 <dd> |
119 <dd> |
120 reference to the selecte item (QTreeWidgetItem) |
120 reference to the selecte item (QTreeWidgetItem) |
121 </dd><dt><i>column</i></dt> |
121 </dd><dt><i>column</i></dt> |
122 <dd> |
122 <dd> |
123 column the item was clicked or activated (integer) (ignored) |
123 column the item was clicked or activated (integer) (ignored) |
124 </dd> |
124 </dd> |
125 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a> |
125 </dl><a NAME="LexerAssociationDialog.on_editorLexerList_itemClicked" ID="LexerAssociationDialog.on_editorLexerList_itemClicked"></a> |
126 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4> |
126 <h4>LexerAssociationDialog.on_editorLexerList_itemClicked</h4> |
127 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>) |
127 <b>on_editorLexerList_itemClicked</b>(<i>itm, column</i>) |
128 <p> |
128 <p> |
129 Private slot to handle the clicked signal of the lexer association list. |
129 Private slot to handle the clicked signal of the lexer association list. |
130 </p><dl> |
130 </p><dl> |
131 <dt><i>itm</i></dt> |
131 <dt><i>itm</i></dt> |
132 <dd> |
132 <dd> |
133 reference to the selecte item (QTreeWidgetItem) |
133 reference to the selecte item (QTreeWidgetItem) |
134 </dd><dt><i>column</i></dt> |
134 </dd><dt><i>column</i></dt> |
135 <dd> |
135 <dd> |
136 column the item was clicked or activated (integer) (ignored) |
136 column the item was clicked or activated (integer) (ignored) |
137 </dd> |
137 </dd> |
138 </dl><a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a> |
138 </dl><a NAME="LexerAssociationDialog.transferData" ID="LexerAssociationDialog.transferData"></a> |
139 <h4>LexerAssociationDialog.transferData</h4> |
139 <h4>LexerAssociationDialog.transferData</h4> |
140 <b>transferData</b>(<i></i>) |
140 <b>transferData</b>(<i></i>) |
141 <p> |
141 <p> |
142 Public slot to transfer the associations into the projects data structure. |
142 Public slot to transfer the associations into the projects data structure. |
143 </p> |
143 </p> |
144 <div align="right"><a href="#top">Up</a></div> |
144 <div align="right"><a href="#top">Up</a></div> |
145 <hr /> |
145 <hr /> |
146 </body></html> |
146 </body></html> |