218 size = self.cw.size() |
218 size = self.cw.size() |
219 self.__layout.addWidget(self.cw) |
219 self.__layout.addWidget(self.cw) |
220 self.resize(size) |
220 self.resize(size) |
221 self.setWindowTitle(self.cw.windowTitle()) |
221 self.setWindowTitle(self.cw.windowTitle()) |
222 |
222 |
223 self.cw.buttonBox.accepted[()].connect(self.accept) |
223 self.cw.buttonBox.accepted.connect(self.accept) |
224 self.cw.buttonBox.rejected[()].connect(self.reject) |
224 self.cw.buttonBox.rejected.connect(self.reject) |
225 |
225 |
226 |
226 |
227 class PluginUninstallWindow(E5MainWindow): |
227 class PluginUninstallWindow(E5MainWindow): |
228 """ |
228 """ |
229 Main window class for the standalone dialog. |
229 Main window class for the standalone dialog. |
242 self.setWindowTitle(self.cw.windowTitle()) |
242 self.setWindowTitle(self.cw.windowTitle()) |
243 |
243 |
244 self.setStyle(Preferences.getUI("Style"), |
244 self.setStyle(Preferences.getUI("Style"), |
245 Preferences.getUI("StyleSheet")) |
245 Preferences.getUI("StyleSheet")) |
246 |
246 |
247 self.cw.buttonBox.accepted[()].connect(self.close) |
247 self.cw.buttonBox.accepted.connect(self.close) |
248 self.cw.buttonBox.rejected[()].connect(self.close) |
248 self.cw.buttonBox.rejected.connect(self.close) |