|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/Passwords/PasswordsDialog.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_PasswordsDialog(object): |
|
13 def setupUi(self, PasswordsDialog): |
|
14 PasswordsDialog.setObjectName("PasswordsDialog") |
|
15 PasswordsDialog.resize(500, 350) |
|
16 PasswordsDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(PasswordsDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
21 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
22 self.horizontalLayout_2.addItem(spacerItem) |
|
23 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
24 self.horizontalLayout.setSpacing(0) |
|
25 self.horizontalLayout.setObjectName("horizontalLayout") |
|
26 self.searchEdit = QtWidgets.QLineEdit(parent=PasswordsDialog) |
|
27 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
28 sizePolicy.setHorizontalStretch(0) |
|
29 sizePolicy.setVerticalStretch(0) |
|
30 sizePolicy.setHeightForWidth(self.searchEdit.sizePolicy().hasHeightForWidth()) |
|
31 self.searchEdit.setSizePolicy(sizePolicy) |
|
32 self.searchEdit.setMinimumSize(QtCore.QSize(300, 0)) |
|
33 self.searchEdit.setClearButtonEnabled(True) |
|
34 self.searchEdit.setObjectName("searchEdit") |
|
35 self.horizontalLayout.addWidget(self.searchEdit) |
|
36 self.horizontalLayout_2.addLayout(self.horizontalLayout) |
|
37 self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
38 self.passwordsTable = EricTableView(parent=PasswordsDialog) |
|
39 self.passwordsTable.setAlternatingRowColors(True) |
|
40 self.passwordsTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows) |
|
41 self.passwordsTable.setTextElideMode(QtCore.Qt.TextElideMode.ElideMiddle) |
|
42 self.passwordsTable.setShowGrid(False) |
|
43 self.passwordsTable.setSortingEnabled(True) |
|
44 self.passwordsTable.setObjectName("passwordsTable") |
|
45 self.verticalLayout.addWidget(self.passwordsTable) |
|
46 self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
47 self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
48 self.removeButton = QtWidgets.QPushButton(parent=PasswordsDialog) |
|
49 self.removeButton.setAutoDefault(False) |
|
50 self.removeButton.setObjectName("removeButton") |
|
51 self.horizontalLayout_3.addWidget(self.removeButton) |
|
52 self.removeAllButton = QtWidgets.QPushButton(parent=PasswordsDialog) |
|
53 self.removeAllButton.setAutoDefault(False) |
|
54 self.removeAllButton.setObjectName("removeAllButton") |
|
55 self.horizontalLayout_3.addWidget(self.removeAllButton) |
|
56 spacerItem1 = QtWidgets.QSpacerItem(208, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
57 self.horizontalLayout_3.addItem(spacerItem1) |
|
58 self.passwordsButton = QtWidgets.QPushButton(parent=PasswordsDialog) |
|
59 self.passwordsButton.setText("") |
|
60 self.passwordsButton.setObjectName("passwordsButton") |
|
61 self.horizontalLayout_3.addWidget(self.passwordsButton) |
|
62 self.verticalLayout.addLayout(self.horizontalLayout_3) |
|
63 self.buttonBox = QtWidgets.QDialogButtonBox(parent=PasswordsDialog) |
|
64 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
65 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
66 self.buttonBox.setObjectName("buttonBox") |
|
67 self.verticalLayout.addWidget(self.buttonBox) |
|
68 |
|
69 self.retranslateUi(PasswordsDialog) |
|
70 self.buttonBox.accepted.connect(PasswordsDialog.accept) # type: ignore |
|
71 self.buttonBox.rejected.connect(PasswordsDialog.reject) # type: ignore |
|
72 QtCore.QMetaObject.connectSlotsByName(PasswordsDialog) |
|
73 PasswordsDialog.setTabOrder(self.searchEdit, self.passwordsTable) |
|
74 PasswordsDialog.setTabOrder(self.passwordsTable, self.removeButton) |
|
75 PasswordsDialog.setTabOrder(self.removeButton, self.removeAllButton) |
|
76 PasswordsDialog.setTabOrder(self.removeAllButton, self.passwordsButton) |
|
77 PasswordsDialog.setTabOrder(self.passwordsButton, self.buttonBox) |
|
78 |
|
79 def retranslateUi(self, PasswordsDialog): |
|
80 _translate = QtCore.QCoreApplication.translate |
|
81 PasswordsDialog.setWindowTitle(_translate("PasswordsDialog", "Saved Passwords")) |
|
82 self.searchEdit.setToolTip(_translate("PasswordsDialog", "Enter search term")) |
|
83 self.removeButton.setToolTip(_translate("PasswordsDialog", "Press to remove the selected entries")) |
|
84 self.removeButton.setText(_translate("PasswordsDialog", "&Remove")) |
|
85 self.removeAllButton.setToolTip(_translate("PasswordsDialog", "Press to remove all entries")) |
|
86 self.removeAllButton.setText(_translate("PasswordsDialog", "Remove &All")) |
|
87 self.passwordsButton.setToolTip(_translate("PasswordsDialog", "Press to toggle the display of passwords")) |
|
88 from eric7.EricWidgets.EricTableView import EricTableView |