|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.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_ManageDictionariesDialog(object): |
|
13 def setupUi(self, ManageDictionariesDialog): |
|
14 ManageDictionariesDialog.setObjectName("ManageDictionariesDialog") |
|
15 ManageDictionariesDialog.resize(676, 653) |
|
16 ManageDictionariesDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(ManageDictionariesDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
21 self.label = QtWidgets.QLabel(parent=ManageDictionariesDialog) |
|
22 self.label.setObjectName("label") |
|
23 self.horizontalLayout_2.addWidget(self.label) |
|
24 self.locationComboBox = QtWidgets.QComboBox(parent=ManageDictionariesDialog) |
|
25 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
26 sizePolicy.setHorizontalStretch(0) |
|
27 sizePolicy.setVerticalStretch(0) |
|
28 sizePolicy.setHeightForWidth(self.locationComboBox.sizePolicy().hasHeightForWidth()) |
|
29 self.locationComboBox.setSizePolicy(sizePolicy) |
|
30 self.locationComboBox.setObjectName("locationComboBox") |
|
31 self.horizontalLayout_2.addWidget(self.locationComboBox) |
|
32 self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
33 self.dictionariesList = QtWidgets.QListWidget(parent=ManageDictionariesDialog) |
|
34 self.dictionariesList.setAlternatingRowColors(True) |
|
35 self.dictionariesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection) |
|
36 self.dictionariesList.setObjectName("dictionariesList") |
|
37 self.verticalLayout.addWidget(self.dictionariesList) |
|
38 self.line = QtWidgets.QFrame(parent=ManageDictionariesDialog) |
|
39 self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
40 self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
41 self.line.setObjectName("line") |
|
42 self.verticalLayout.addWidget(self.line) |
|
43 self.downloadProgress = QtWidgets.QProgressBar(parent=ManageDictionariesDialog) |
|
44 self.downloadProgress.setProperty("value", 0) |
|
45 self.downloadProgress.setObjectName("downloadProgress") |
|
46 self.verticalLayout.addWidget(self.downloadProgress) |
|
47 self.statusLabel = QtWidgets.QLabel(parent=ManageDictionariesDialog) |
|
48 self.statusLabel.setText("") |
|
49 self.statusLabel.setObjectName("statusLabel") |
|
50 self.verticalLayout.addWidget(self.statusLabel) |
|
51 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
52 self.horizontalLayout.setObjectName("horizontalLayout") |
|
53 self.label_4 = QtWidgets.QLabel(parent=ManageDictionariesDialog) |
|
54 self.label_4.setObjectName("label_4") |
|
55 self.horizontalLayout.addWidget(self.label_4) |
|
56 self.dictionariesUrlEdit = QtWidgets.QLineEdit(parent=ManageDictionariesDialog) |
|
57 self.dictionariesUrlEdit.setReadOnly(True) |
|
58 self.dictionariesUrlEdit.setObjectName("dictionariesUrlEdit") |
|
59 self.horizontalLayout.addWidget(self.dictionariesUrlEdit) |
|
60 self.dictionariesUrlEditButton = QtWidgets.QPushButton(parent=ManageDictionariesDialog) |
|
61 self.dictionariesUrlEditButton.setCheckable(True) |
|
62 self.dictionariesUrlEditButton.setObjectName("dictionariesUrlEditButton") |
|
63 self.horizontalLayout.addWidget(self.dictionariesUrlEditButton) |
|
64 self.verticalLayout.addLayout(self.horizontalLayout) |
|
65 self.buttonBox = QtWidgets.QDialogButtonBox(parent=ManageDictionariesDialog) |
|
66 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
67 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
68 self.buttonBox.setObjectName("buttonBox") |
|
69 self.verticalLayout.addWidget(self.buttonBox) |
|
70 |
|
71 self.retranslateUi(ManageDictionariesDialog) |
|
72 self.buttonBox.accepted.connect(ManageDictionariesDialog.accept) # type: ignore |
|
73 self.buttonBox.rejected.connect(ManageDictionariesDialog.reject) # type: ignore |
|
74 QtCore.QMetaObject.connectSlotsByName(ManageDictionariesDialog) |
|
75 ManageDictionariesDialog.setTabOrder(self.locationComboBox, self.dictionariesList) |
|
76 ManageDictionariesDialog.setTabOrder(self.dictionariesList, self.dictionariesUrlEdit) |
|
77 ManageDictionariesDialog.setTabOrder(self.dictionariesUrlEdit, self.dictionariesUrlEditButton) |
|
78 |
|
79 def retranslateUi(self, ManageDictionariesDialog): |
|
80 _translate = QtCore.QCoreApplication.translate |
|
81 ManageDictionariesDialog.setWindowTitle(_translate("ManageDictionariesDialog", "Spell Check Dictionaries")) |
|
82 self.label.setText(_translate("ManageDictionariesDialog", "Installation Location:")) |
|
83 self.locationComboBox.setToolTip(_translate("ManageDictionariesDialog", "Select the location for the dictionaries installation")) |
|
84 self.dictionariesList.setToolTip(_translate("ManageDictionariesDialog", "Shows the list of available dictionaries")) |
|
85 self.dictionariesList.setSortingEnabled(True) |
|
86 self.downloadProgress.setToolTip(_translate("ManageDictionariesDialog", "Shows the progress of the current download")) |
|
87 self.label_4.setText(_translate("ManageDictionariesDialog", "Dictionaries URL:")) |
|
88 self.dictionariesUrlEdit.setToolTip(_translate("ManageDictionariesDialog", "Shows the dictionaries URL")) |
|
89 self.dictionariesUrlEditButton.setToolTip(_translate("ManageDictionariesDialog", "Press to edit the dictionaries URL")) |
|
90 self.dictionariesUrlEditButton.setText(_translate("ManageDictionariesDialog", "Edit URL")) |