53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#FiletypeAssociationDialog.__init__">FiletypeAssociationDialog</a></td> |
57 <td><a href="#FiletypeAssociationDialog.__init__">FiletypeAssociationDialog</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#FiletypeAssociationDialog.__createItem">__createItem</a></td> |
60 <td><a href="#FiletypeAssociationDialog.__createItem">__createItem</a></td> |
61 <td>Private slot to create a new entry in the association list.</td> |
61 <td>Private slot to create a new entry in the association list.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#FiletypeAssociationDialog.__reformat">__reformat</a></td> |
63 <td><a href="#FiletypeAssociationDialog.__reformat">__reformat</a></td> |
64 <td>Private method to reformat the tree.</td> |
64 <td>Private method to reformat the tree.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#FiletypeAssociationDialog.__resort">__resort</a></td> |
66 <td><a href="#FiletypeAssociationDialog.__resort">__resort</a></td> |
67 <td>Private method to resort the tree.</td> |
67 <td>Private method to resort the tree.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#FiletypeAssociationDialog.on_addAssociationButton_clicked">on_addAssociationButton_clicked</a></td> |
69 <td><a href="#FiletypeAssociationDialog.on_addAssociationButton_clicked">on_addAssociationButton_clicked</a></td> |
70 <td>Private slot to add the association displayed to the list.</td> |
70 <td>Private slot to add the association displayed to the list.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#FiletypeAssociationDialog.on_deleteAssociationButton_clicked">on_deleteAssociationButton_clicked</a></td> |
72 <td><a href="#FiletypeAssociationDialog.on_deleteAssociationButton_clicked">on_deleteAssociationButton_clicked</a></td> |
73 <td>Private slot to delete the currently selected association of the listbox.</td> |
73 <td>Private slot to delete the currently selected association of the listbox.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#FiletypeAssociationDialog.on_filePatternEdit_textChanged">on_filePatternEdit_textChanged</a></td> |
75 <td><a href="#FiletypeAssociationDialog.on_filePatternEdit_textChanged">on_filePatternEdit_textChanged</a></td> |
76 <td>Private slot to handle the textChanged signal of the pattern lineedit.</td> |
76 <td>Private slot to handle the textChanged signal of the pattern lineedit.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged">on_filetypeAssociationList_currentItemChanged</a></td> |
78 <td><a href="#FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged">on_filetypeAssociationList_currentItemChanged</a></td> |
79 <td>Private slot to handle the currentItemChanged signal of the association list.</td> |
79 <td>Private slot to handle the currentItemChanged signal of the association list.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#FiletypeAssociationDialog.transferData">transferData</a></td> |
81 <td><a href="#FiletypeAssociationDialog.transferData">transferData</a></td> |
82 <td>Public slot to transfer the associations into the projects data structure.</td> |
82 <td>Public slot to transfer the associations into the projects data structure.</td> |
83 </tr> |
83 </tr> |
84 </table> |
84 </table> |
85 <a NAME="FiletypeAssociationDialog.__init__" ID="FiletypeAssociationDialog.__init__"></a> |
85 <a NAME="FiletypeAssociationDialog.__init__" ID="FiletypeAssociationDialog.__init__"></a> |
86 <h4>FiletypeAssociationDialog (Constructor)</h4> |
86 <h4>FiletypeAssociationDialog (Constructor)</h4> |
87 <b>FiletypeAssociationDialog</b>(<i>project, parent = None</i>) |
87 <b>FiletypeAssociationDialog</b>(<i>project, parent = None</i>) |
88 <p> |
88 <p> |
89 Constructor |
89 Constructor |
90 </p><dl> |
90 </p><dl> |
91 <dt><i>project</i></dt> |
91 <dt><i>project</i></dt> |
92 <dd> |
92 <dd> |
93 reference to the project object |
93 reference to the project object |
94 </dd><dt><i>parent</i></dt> |
94 </dd><dt><i>parent</i></dt> |
95 <dd> |
95 <dd> |
96 reference to the parent widget (QWidget) |
96 reference to the parent widget (QWidget) |
97 </dd> |
97 </dd> |
98 </dl><a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a> |
98 </dl><a NAME="FiletypeAssociationDialog.__createItem" ID="FiletypeAssociationDialog.__createItem"></a> |
99 <h4>FiletypeAssociationDialog.__createItem</h4> |
99 <h4>FiletypeAssociationDialog.__createItem</h4> |
100 <b>__createItem</b>(<i>pattern, filetype</i>) |
100 <b>__createItem</b>(<i>pattern, filetype</i>) |
101 <p> |
101 <p> |
102 Private slot to create a new entry in the association list. |
102 Private slot to create a new entry in the association list. |
103 </p><dl> |
103 </p><dl> |
104 <dt><i>pattern</i></dt> |
104 <dt><i>pattern</i></dt> |
105 <dd> |
105 <dd> |
106 pattern of the entry (string) |
106 pattern of the entry (string) |
107 </dd><dt><i>filetype</i></dt> |
107 </dd><dt><i>filetype</i></dt> |
108 <dd> |
108 <dd> |
109 file type of the entry (string) |
109 file type of the entry (string) |
110 </dd> |
110 </dd> |
111 </dl><dl> |
111 </dl><dl> |
112 <dt>Returns:</dt> |
112 <dt>Returns:</dt> |
113 <dd> |
113 <dd> |
114 reference to the newly generated entry (QTreeWidgetItem) |
114 reference to the newly generated entry (QTreeWidgetItem) |
115 </dd> |
115 </dd> |
116 </dl><a NAME="FiletypeAssociationDialog.__reformat" ID="FiletypeAssociationDialog.__reformat"></a> |
116 </dl><a NAME="FiletypeAssociationDialog.__reformat" ID="FiletypeAssociationDialog.__reformat"></a> |
117 <h4>FiletypeAssociationDialog.__reformat</h4> |
117 <h4>FiletypeAssociationDialog.__reformat</h4> |
118 <b>__reformat</b>(<i></i>) |
118 <b>__reformat</b>(<i></i>) |
119 <p> |
119 <p> |
120 Private method to reformat the tree. |
120 Private method to reformat the tree. |
121 </p><a NAME="FiletypeAssociationDialog.__resort" ID="FiletypeAssociationDialog.__resort"></a> |
121 </p><a NAME="FiletypeAssociationDialog.__resort" ID="FiletypeAssociationDialog.__resort"></a> |
122 <h4>FiletypeAssociationDialog.__resort</h4> |
122 <h4>FiletypeAssociationDialog.__resort</h4> |
123 <b>__resort</b>(<i></i>) |
123 <b>__resort</b>(<i></i>) |
124 <p> |
124 <p> |
125 Private method to resort the tree. |
125 Private method to resort the tree. |
126 </p><a NAME="FiletypeAssociationDialog.on_addAssociationButton_clicked" ID="FiletypeAssociationDialog.on_addAssociationButton_clicked"></a> |
126 </p><a NAME="FiletypeAssociationDialog.on_addAssociationButton_clicked" ID="FiletypeAssociationDialog.on_addAssociationButton_clicked"></a> |
127 <h4>FiletypeAssociationDialog.on_addAssociationButton_clicked</h4> |
127 <h4>FiletypeAssociationDialog.on_addAssociationButton_clicked</h4> |
128 <b>on_addAssociationButton_clicked</b>(<i></i>) |
128 <b>on_addAssociationButton_clicked</b>(<i></i>) |
129 <p> |
129 <p> |
130 Private slot to add the association displayed to the list. |
130 Private slot to add the association displayed to the list. |
131 </p><a NAME="FiletypeAssociationDialog.on_deleteAssociationButton_clicked" ID="FiletypeAssociationDialog.on_deleteAssociationButton_clicked"></a> |
131 </p><a NAME="FiletypeAssociationDialog.on_deleteAssociationButton_clicked" ID="FiletypeAssociationDialog.on_deleteAssociationButton_clicked"></a> |
132 <h4>FiletypeAssociationDialog.on_deleteAssociationButton_clicked</h4> |
132 <h4>FiletypeAssociationDialog.on_deleteAssociationButton_clicked</h4> |
133 <b>on_deleteAssociationButton_clicked</b>(<i></i>) |
133 <b>on_deleteAssociationButton_clicked</b>(<i></i>) |
134 <p> |
134 <p> |
135 Private slot to delete the currently selected association of the listbox. |
135 Private slot to delete the currently selected association of the listbox. |
136 </p><a NAME="FiletypeAssociationDialog.on_filePatternEdit_textChanged" ID="FiletypeAssociationDialog.on_filePatternEdit_textChanged"></a> |
136 </p><a NAME="FiletypeAssociationDialog.on_filePatternEdit_textChanged" ID="FiletypeAssociationDialog.on_filePatternEdit_textChanged"></a> |
137 <h4>FiletypeAssociationDialog.on_filePatternEdit_textChanged</h4> |
137 <h4>FiletypeAssociationDialog.on_filePatternEdit_textChanged</h4> |
138 <b>on_filePatternEdit_textChanged</b>(<i>txt</i>) |
138 <b>on_filePatternEdit_textChanged</b>(<i>txt</i>) |
139 <p> |
139 <p> |
140 Private slot to handle the textChanged signal of the pattern lineedit. |
140 Private slot to handle the textChanged signal of the pattern lineedit. |
141 </p><dl> |
141 </p><dl> |
142 <dt><i>txt</i></dt> |
142 <dt><i>txt</i></dt> |
143 <dd> |
143 <dd> |
144 text of the lineedit (string) |
144 text of the lineedit (string) |
145 </dd> |
145 </dd> |
146 </dl><a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged"></a> |
146 </dl><a NAME="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged" ID="FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged"></a> |
147 <h4>FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged</h4> |
147 <h4>FiletypeAssociationDialog.on_filetypeAssociationList_currentItemChanged</h4> |
148 <b>on_filetypeAssociationList_currentItemChanged</b>(<i>itm, prevItm</i>) |
148 <b>on_filetypeAssociationList_currentItemChanged</b>(<i>itm, prevItm</i>) |
149 <p> |
149 <p> |
150 Private slot to handle the currentItemChanged signal of the association list. |
150 Private slot to handle the currentItemChanged signal of the association list. |
151 </p><dl> |
151 </p><dl> |
152 <dt><i>itm</i></dt> |
152 <dt><i>itm</i></dt> |
153 <dd> |
153 <dd> |
154 reference to the new current item (QTreeWidgetItem) |
154 reference to the new current item (QTreeWidgetItem) |
155 </dd><dt><i>prevItm</i></dt> |
155 </dd><dt><i>prevItm</i></dt> |
156 <dd> |
156 <dd> |
157 reference to the previous current item (QTreeWidgetItem) |
157 reference to the previous current item (QTreeWidgetItem) |
158 </dd> |
158 </dd> |
159 </dl><a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a> |
159 </dl><a NAME="FiletypeAssociationDialog.transferData" ID="FiletypeAssociationDialog.transferData"></a> |
160 <h4>FiletypeAssociationDialog.transferData</h4> |
160 <h4>FiletypeAssociationDialog.transferData</h4> |
161 <b>transferData</b>(<i></i>) |
161 <b>transferData</b>(<i></i>) |
162 <p> |
162 <p> |
163 Public slot to transfer the associations into the projects data structure. |
163 Public slot to transfer the associations into the projects data structure. |
164 </p> |
164 </p> |
165 <div align="right"><a href="#top">Up</a></div> |
165 <div align="right"><a href="#top">Up</a></div> |
166 <hr /> |
166 <hr /> |
167 </body></html> |
167 </body></html> |