Show More
@@ -233,19 +233,22 b' class ConsoleWidget(Configurable, QtGui.QWidget):' | |||
|
233 | 233 | # Qt ctrl = cmd on OSX, so the match gets a false positive on OSX. |
|
234 | 234 | printkey = "Ctrl+Shift+P" |
|
235 | 235 | action.setShortcut(printkey) |
|
236 | action.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut) | |
|
236 | 237 | action.triggered.connect(self.print_) |
|
237 | 238 | self.addAction(action) |
|
238 | 239 | self._print_action = action |
|
239 | 240 | |
|
240 | 241 | action = QtGui.QAction('Save as HTML/XML', None) |
|
241 | 242 | action.setShortcut(QtGui.QKeySequence.Save) |
|
243 | action.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut) | |
|
242 | 244 | action.triggered.connect(self.export_html) |
|
243 | 245 | self.addAction(action) |
|
244 | 246 | self._export_action = action |
|
245 | ||
|
247 | ||
|
246 | 248 | action = QtGui.QAction('Select All', None) |
|
247 | 249 | action.setEnabled(True) |
|
248 | 250 | action.setShortcut(QtGui.QKeySequence.SelectAll) |
|
251 | action.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut) | |
|
249 | 252 | action.triggered.connect(self.select_all) |
|
250 | 253 | self.addAction(action) |
|
251 | 254 | self._select_all_action = action |
General Comments 0
You need to be logged in to leave comments.
Login now