33 @signal designerFile(str) emitted to open a Qt-Designer file |
33 @signal designerFile(str) emitted to open a Qt-Designer file |
34 """ |
34 """ |
35 sourceFile = pyqtSignal(str) |
35 sourceFile = pyqtSignal(str) |
36 designerFile = pyqtSignal(str) |
36 designerFile = pyqtSignal(str) |
37 |
37 |
38 def __init__(self, project, parent = None): |
38 def __init__(self, project, parent=None): |
39 """ |
39 """ |
40 Constructor |
40 Constructor |
41 |
41 |
42 @param project reference to the project object |
42 @param project reference to the project object |
43 @param parent parent widget of this dialog (QWidget) |
43 @param parent parent widget of this dialog (QWidget) |
215 """ |
215 """ |
216 self.__searchFile() |
216 self.__searchFile() |
217 |
217 |
218 def on_fileList_itemActivated(self, itm, column): |
218 def on_fileList_itemActivated(self, itm, column): |
219 """ |
219 """ |
220 Private slot to handle the double click on a file item. |
220 Private slot to handle the double click on a file item. |
221 |
221 |
222 It emits the signal |
222 It emits the signal |
223 sourceFile or designerFile depending on the file extension. |
223 sourceFile or designerFile depending on the file extension. |
224 |
224 |
225 @param itm the double clicked listview item (QTreeWidgetItem) |
225 @param itm the double clicked listview item (QTreeWidgetItem) |