11 |
11 |
12 import os |
12 import os |
13 import re |
13 import re |
14 |
14 |
15 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot |
15 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot |
16 from PyQt4.QtGui import QCursor, QDialog, QApplication, QMenu, QDialogButtonBox, \ |
16 from PyQt4.QtGui import QCursor, QDialog, QApplication, QMenu, \ |
17 QTreeWidgetItem |
17 QDialogButtonBox, QTreeWidgetItem |
18 |
18 |
19 from E5Gui.E5Application import e5App |
19 from E5Gui.E5Application import e5App |
20 from E5Gui import E5MessageBox, E5FileDialog |
20 from E5Gui import E5MessageBox, E5FileDialog |
21 |
21 |
22 from .Ui_FindFileDialog import Ui_FindFileDialog |
22 from .Ui_FindFileDialog import Ui_FindFileDialog |
49 def __init__(self, project, replaceMode=False, parent=None): |
49 def __init__(self, project, replaceMode=False, parent=None): |
50 """ |
50 """ |
51 Constructor |
51 Constructor |
52 |
52 |
53 @param project reference to the project object |
53 @param project reference to the project object |
|
54 @param replaceMode flag indicating the replace dialog mode (boolean) |
54 @param parent parent widget of this dialog (QWidget) |
55 @param parent parent widget of this dialog (QWidget) |
55 """ |
56 """ |
56 super(FindFileDialog, self).__init__(parent) |
57 super(FindFileDialog, self).__init__(parent) |
57 self.setupUi(self) |
58 self.setupUi(self) |
58 self.setWindowFlags(Qt.WindowFlags(Qt.Window)) |
59 self.setWindowFlags(Qt.WindowFlags(Qt.Window)) |