UI/UserInterface.py

changeset 1131
7781e396c903
parent 1127
b1802ebe0066
child 1142
01ae8e2946d3
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
126 """ 126 """
127 Constructor 127 Constructor
128 128
129 @param stderr flag indicating stderr is being redirected 129 @param stderr flag indicating stderr is being redirected
130 """ 130 """
131 QObject.__init__(self) 131 super().__init__()
132 self.stderr = stderr 132 self.stderr = stderr
133 self.buffer = '' 133 self.buffer = ''
134 134
135 def __nWrite(self, n): 135 def __nWrite(self, n):
136 """ 136 """
205 @param noOpenAtStartup flag indicating that the open at startup option 205 @param noOpenAtStartup flag indicating that the open at startup option
206 should not be executed (boolean) 206 should not be executed (boolean)
207 @param restartArguments list of command line parameters to be used for a 207 @param restartArguments list of command line parameters to be used for a
208 restart (list of strings) 208 restart (list of strings)
209 """ 209 """
210 QMainWindow.__init__(self) 210 super().__init__()
211 self.setAttribute(Qt.WA_DeleteOnClose) 211 self.setAttribute(Qt.WA_DeleteOnClose)
212 212
213 self.__restartArgs = restartArguments[:] 213 self.__restartArgs = restartArguments[:]
214 214
215 self.defaultStyleName = QApplication.style().objectName() 215 self.defaultStyleName = QApplication.style().objectName()

eric ide

mercurial