UI/FindFileDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3012
d177226027e2
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
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))

eric ide

mercurial