src/eric7/Plugins/VcsPlugins/vcsSubversion/Ui_SvnPropSetDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsSubversion/SvnPropSetDialog.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_SvnPropSetDialog(object):
13 def setupUi(self, SvnPropSetDialog):
14 SvnPropSetDialog.setObjectName("SvnPropSetDialog")
15 SvnPropSetDialog.resize(494, 385)
16 SvnPropSetDialog.setSizeGripEnabled(True)
17 self.verticalLayout_2 = QtWidgets.QVBoxLayout(SvnPropSetDialog)
18 self.verticalLayout_2.setObjectName("verticalLayout_2")
19 self.hboxlayout = QtWidgets.QHBoxLayout()
20 self.hboxlayout.setObjectName("hboxlayout")
21 self.textLabel1 = QtWidgets.QLabel(parent=SvnPropSetDialog)
22 self.textLabel1.setObjectName("textLabel1")
23 self.hboxlayout.addWidget(self.textLabel1)
24 self.propNameEdit = QtWidgets.QLineEdit(parent=SvnPropSetDialog)
25 self.propNameEdit.setObjectName("propNameEdit")
26 self.hboxlayout.addWidget(self.propNameEdit)
27 self.verticalLayout_2.addLayout(self.hboxlayout)
28 self.groupBox = QtWidgets.QGroupBox(parent=SvnPropSetDialog)
29 self.groupBox.setObjectName("groupBox")
30 self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
31 self.verticalLayout.setObjectName("verticalLayout")
32 self.textRadioButton = QtWidgets.QRadioButton(parent=self.groupBox)
33 self.textRadioButton.setChecked(True)
34 self.textRadioButton.setObjectName("textRadioButton")
35 self.verticalLayout.addWidget(self.textRadioButton)
36 self.propTextEdit = QtWidgets.QTextEdit(parent=self.groupBox)
37 self.propTextEdit.setTabChangesFocus(True)
38 self.propTextEdit.setAcceptRichText(False)
39 self.propTextEdit.setObjectName("propTextEdit")
40 self.verticalLayout.addWidget(self.propTextEdit)
41 self.fileRadioButton = QtWidgets.QRadioButton(parent=self.groupBox)
42 self.fileRadioButton.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
43 self.fileRadioButton.setObjectName("fileRadioButton")
44 self.verticalLayout.addWidget(self.fileRadioButton)
45 self.propFilePicker = EricPathPicker(parent=self.groupBox)
46 self.propFilePicker.setEnabled(False)
47 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
48 sizePolicy.setHorizontalStretch(0)
49 sizePolicy.setVerticalStretch(0)
50 sizePolicy.setHeightForWidth(self.propFilePicker.sizePolicy().hasHeightForWidth())
51 self.propFilePicker.setSizePolicy(sizePolicy)
52 self.propFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
53 self.propFilePicker.setObjectName("propFilePicker")
54 self.verticalLayout.addWidget(self.propFilePicker)
55 self.verticalLayout_2.addWidget(self.groupBox)
56 self.buttonBox = QtWidgets.QDialogButtonBox(parent=SvnPropSetDialog)
57 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
58 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
59 self.buttonBox.setObjectName("buttonBox")
60 self.verticalLayout_2.addWidget(self.buttonBox)
61
62 self.retranslateUi(SvnPropSetDialog)
63 self.textRadioButton.toggled['bool'].connect(self.propTextEdit.setEnabled) # type: ignore
64 self.buttonBox.accepted.connect(SvnPropSetDialog.accept) # type: ignore
65 self.buttonBox.rejected.connect(SvnPropSetDialog.reject) # type: ignore
66 self.fileRadioButton.toggled['bool'].connect(self.propFilePicker.setEnabled) # type: ignore
67 QtCore.QMetaObject.connectSlotsByName(SvnPropSetDialog)
68 SvnPropSetDialog.setTabOrder(self.propNameEdit, self.textRadioButton)
69 SvnPropSetDialog.setTabOrder(self.textRadioButton, self.propTextEdit)
70 SvnPropSetDialog.setTabOrder(self.propTextEdit, self.propFilePicker)
71
72 def retranslateUi(self, SvnPropSetDialog):
73 _translate = QtCore.QCoreApplication.translate
74 SvnPropSetDialog.setWindowTitle(_translate("SvnPropSetDialog", "Set Subversion Property"))
75 self.textLabel1.setText(_translate("SvnPropSetDialog", "Property Name:"))
76 self.propNameEdit.setToolTip(_translate("SvnPropSetDialog", "Enter the name of the property to be set"))
77 self.groupBox.setTitle(_translate("SvnPropSetDialog", "Select property source"))
78 self.textRadioButton.setText(_translate("SvnPropSetDialog", "Text"))
79 self.propTextEdit.setToolTip(_translate("SvnPropSetDialog", "Enter text of the property"))
80 self.fileRadioButton.setText(_translate("SvnPropSetDialog", "File"))
81 self.propFilePicker.setToolTip(_translate("SvnPropSetDialog", "Enter the name of a file for the property"))
82 from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial