diff --git a/cups-pdf-postprocess.py b/cups-pdf-postprocess.py index 130bba5b96339f957ccb84dbaa48e5fd1724547a..c13e02d3d2f81f6c81889eb752b5169b447b57be 100755 --- a/cups-pdf-postprocess.py +++ b/cups-pdf-postprocess.py @@ -94,7 +94,7 @@ class CPP(QWidget): return s hbox = QHBoxLayout() - self._crop = QCheckBox('Crop', self) + self._crop = QCheckBox('C&rop', self) hbox.addWidget(self._crop) _vbox = QVBoxLayout() _vbox.addWidget(QLabel("Margins [mm]")) @@ -113,7 +113,7 @@ class CPP(QWidget): self._crop.clicked[bool].connect(_crop_changed) hbox = QHBoxLayout() - self._compact = QCheckBox('Compact', self) + self._compact = QCheckBox('Co&mpact', self) self._compact_copies = QSpinBox(self) self._compact_copies.setMinimum(1) self._compact_copies.setMaximum(1000) @@ -145,8 +145,8 @@ class CPP(QWidget): self._duplex.addItem("Long Edge", "duplex=two-sided-long-edge") self._duplex.addItem("Short Side", "duplex=two-sided-long-edge") self._duplex.setCurrentIndex(1) - self._pdfbook = QCheckBox('Use pdfbook', self) - self._staple = QCheckBox('Staple', self) + self._pdfbook = QCheckBox('Use pdf&book', self) + self._staple = QCheckBox('&Staple', self) self._staple.setEnabled(False) def _pdfbook_changed(enabled): @@ -170,11 +170,11 @@ class CPP(QWidget): self._printer = o hbox = QHBoxLayout() - b_p = QPushButton("Print", self) + b_p = QPushButton("&Print", self) b_p.clicked.connect(self.print) hbox.addWidget(b_p) self._button_print = b_p - b_c = QPushButton("Cancel", self) + b_c = QPushButton("&Cancel", self) b_c.clicked.connect(self.close) hbox.addWidget(b_c) self._button_cancel = b_c @@ -227,7 +227,7 @@ class CPP(QWidget): pipeline.append(cmd) exec_pipeline(pipeline, self._pdf, err_callback=logMsg) - self._button_cancel.setText("Close") + self._button_cancel.setText("&Close") DIR = os.path.dirname(os.path.realpath(sys.argv[0]))