|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/Tools/PrintToPdfDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_PrintToPdfDialog(object): |
|
13 def setupUi(self, PrintToPdfDialog): |
|
14 PrintToPdfDialog.setObjectName("PrintToPdfDialog") |
|
15 PrintToPdfDialog.resize(600, 105) |
|
16 PrintToPdfDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(PrintToPdfDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.gridLayout = QtWidgets.QGridLayout() |
|
20 self.gridLayout.setObjectName("gridLayout") |
|
21 self.label = QtWidgets.QLabel(parent=PrintToPdfDialog) |
|
22 self.label.setObjectName("label") |
|
23 self.gridLayout.addWidget(self.label, 0, 0, 1, 1) |
|
24 self.pdfFilePicker = EricPathPicker(parent=PrintToPdfDialog) |
|
25 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
26 sizePolicy.setHorizontalStretch(0) |
|
27 sizePolicy.setVerticalStretch(0) |
|
28 sizePolicy.setHeightForWidth(self.pdfFilePicker.sizePolicy().hasHeightForWidth()) |
|
29 self.pdfFilePicker.setSizePolicy(sizePolicy) |
|
30 self.pdfFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
31 self.pdfFilePicker.setObjectName("pdfFilePicker") |
|
32 self.gridLayout.addWidget(self.pdfFilePicker, 0, 1, 1, 1) |
|
33 self.label_2 = QtWidgets.QLabel(parent=PrintToPdfDialog) |
|
34 self.label_2.setObjectName("label_2") |
|
35 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) |
|
36 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
37 self.horizontalLayout.setObjectName("horizontalLayout") |
|
38 self.pageLayoutLabel = QtWidgets.QLabel(parent=PrintToPdfDialog) |
|
39 self.pageLayoutLabel.setText("") |
|
40 self.pageLayoutLabel.setObjectName("pageLayoutLabel") |
|
41 self.horizontalLayout.addWidget(self.pageLayoutLabel) |
|
42 self.pageLayoutButton = QtWidgets.QToolButton(parent=PrintToPdfDialog) |
|
43 self.pageLayoutButton.setObjectName("pageLayoutButton") |
|
44 self.horizontalLayout.addWidget(self.pageLayoutButton) |
|
45 self.gridLayout.addLayout(self.horizontalLayout, 1, 1, 1, 1) |
|
46 self.verticalLayout.addLayout(self.gridLayout) |
|
47 self.buttonBox = QtWidgets.QDialogButtonBox(parent=PrintToPdfDialog) |
|
48 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
49 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
50 self.buttonBox.setObjectName("buttonBox") |
|
51 self.verticalLayout.addWidget(self.buttonBox) |
|
52 |
|
53 self.retranslateUi(PrintToPdfDialog) |
|
54 self.buttonBox.accepted.connect(PrintToPdfDialog.accept) # type: ignore |
|
55 self.buttonBox.rejected.connect(PrintToPdfDialog.reject) # type: ignore |
|
56 QtCore.QMetaObject.connectSlotsByName(PrintToPdfDialog) |
|
57 |
|
58 def retranslateUi(self, PrintToPdfDialog): |
|
59 _translate = QtCore.QCoreApplication.translate |
|
60 PrintToPdfDialog.setWindowTitle(_translate("PrintToPdfDialog", "Print to PDF")) |
|
61 self.label.setText(_translate("PrintToPdfDialog", "Save as:")) |
|
62 self.pdfFilePicker.setToolTip(_translate("PrintToPdfDialog", "Enter the file name of the PDF document")) |
|
63 self.label_2.setText(_translate("PrintToPdfDialog", "Page Layout:")) |
|
64 self.pageLayoutButton.setToolTip(_translate("PrintToPdfDialog", "Select the page layout via a dialog")) |
|
65 self.pageLayoutButton.setText(_translate("PrintToPdfDialog", "...")) |
|
66 from eric7.EricWidgets.EricPathPicker import EricPathPicker |