src/eric7/UI/Ui_CompareDialog.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/UI/CompareDialog.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_CompareDialog(object):
13 def setupUi(self, CompareDialog):
14 CompareDialog.setObjectName("CompareDialog")
15 CompareDialog.resize(950, 600)
16 self.verticalLayout = QtWidgets.QVBoxLayout(CompareDialog)
17 self.verticalLayout.setObjectName("verticalLayout")
18 self.filesGroup = QtWidgets.QGroupBox(parent=CompareDialog)
19 self.filesGroup.setFlat(True)
20 self.filesGroup.setObjectName("filesGroup")
21 self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.filesGroup)
22 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
23 self.textLabel1 = QtWidgets.QLabel(parent=self.filesGroup)
24 self.textLabel1.setObjectName("textLabel1")
25 self.horizontalLayout_2.addWidget(self.textLabel1)
26 self.file1Picker = EricPathPicker(parent=self.filesGroup)
27 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
28 sizePolicy.setHorizontalStretch(0)
29 sizePolicy.setVerticalStretch(0)
30 sizePolicy.setHeightForWidth(self.file1Picker.sizePolicy().hasHeightForWidth())
31 self.file1Picker.setSizePolicy(sizePolicy)
32 self.file1Picker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
33 self.file1Picker.setObjectName("file1Picker")
34 self.horizontalLayout_2.addWidget(self.file1Picker)
35 self.textLabel2 = QtWidgets.QLabel(parent=self.filesGroup)
36 self.textLabel2.setObjectName("textLabel2")
37 self.horizontalLayout_2.addWidget(self.textLabel2)
38 self.file2Picker = EricPathPicker(parent=self.filesGroup)
39 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
40 sizePolicy.setHorizontalStretch(0)
41 sizePolicy.setVerticalStretch(0)
42 sizePolicy.setHeightForWidth(self.file2Picker.sizePolicy().hasHeightForWidth())
43 self.file2Picker.setSizePolicy(sizePolicy)
44 self.file2Picker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
45 self.file2Picker.setObjectName("file2Picker")
46 self.horizontalLayout_2.addWidget(self.file2Picker)
47 self.verticalLayout.addWidget(self.filesGroup)
48 self.gridLayout = QtWidgets.QGridLayout()
49 self.gridLayout.setObjectName("gridLayout")
50 self.file1Label = QtWidgets.QLabel(parent=CompareDialog)
51 self.file1Label.setText("")
52 self.file1Label.setWordWrap(True)
53 self.file1Label.setObjectName("file1Label")
54 self.gridLayout.addWidget(self.file1Label, 0, 0, 1, 1)
55 self.file2Label = QtWidgets.QLabel(parent=CompareDialog)
56 self.file2Label.setText("")
57 self.file2Label.setWordWrap(True)
58 self.file2Label.setObjectName("file2Label")
59 self.gridLayout.addWidget(self.file2Label, 0, 2, 1, 1)
60 self.contents_1 = QtWidgets.QTextEdit(parent=CompareDialog)
61 self.contents_1.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
62 self.contents_1.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.NoWrap)
63 self.contents_1.setReadOnly(True)
64 self.contents_1.setTabStopDistance(8.0)
65 self.contents_1.setAcceptRichText(False)
66 self.contents_1.setObjectName("contents_1")
67 self.gridLayout.addWidget(self.contents_1, 1, 0, 1, 1)
68 self.vboxlayout = QtWidgets.QVBoxLayout()
69 self.vboxlayout.setSpacing(0)
70 self.vboxlayout.setObjectName("vboxlayout")
71 spacerItem = QtWidgets.QSpacerItem(20, 101, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
72 self.vboxlayout.addItem(spacerItem)
73 self.firstButton = QtWidgets.QToolButton(parent=CompareDialog)
74 self.firstButton.setEnabled(False)
75 self.firstButton.setObjectName("firstButton")
76 self.vboxlayout.addWidget(self.firstButton)
77 self.upButton = QtWidgets.QToolButton(parent=CompareDialog)
78 self.upButton.setEnabled(False)
79 self.upButton.setObjectName("upButton")
80 self.vboxlayout.addWidget(self.upButton)
81 self.downButton = QtWidgets.QToolButton(parent=CompareDialog)
82 self.downButton.setEnabled(False)
83 self.downButton.setObjectName("downButton")
84 self.vboxlayout.addWidget(self.downButton)
85 self.lastButton = QtWidgets.QToolButton(parent=CompareDialog)
86 self.lastButton.setEnabled(False)
87 self.lastButton.setObjectName("lastButton")
88 self.vboxlayout.addWidget(self.lastButton)
89 spacerItem1 = QtWidgets.QSpacerItem(20, 101, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
90 self.vboxlayout.addItem(spacerItem1)
91 self.gridLayout.addLayout(self.vboxlayout, 1, 1, 1, 1)
92 self.contents_2 = QtWidgets.QTextEdit(parent=CompareDialog)
93 self.contents_2.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
94 self.contents_2.setLineWrapMode(QtWidgets.QTextEdit.LineWrapMode.NoWrap)
95 self.contents_2.setReadOnly(True)
96 self.contents_2.setTabStopDistance(8.0)
97 self.contents_2.setAcceptRichText(False)
98 self.contents_2.setObjectName("contents_2")
99 self.gridLayout.addWidget(self.contents_2, 1, 2, 1, 1)
100 self.verticalLayout.addLayout(self.gridLayout)
101 self.synchronizeCheckBox = QtWidgets.QCheckBox(parent=CompareDialog)
102 self.synchronizeCheckBox.setChecked(True)
103 self.synchronizeCheckBox.setObjectName("synchronizeCheckBox")
104 self.verticalLayout.addWidget(self.synchronizeCheckBox)
105 self.horizontalLayout = QtWidgets.QHBoxLayout()
106 self.horizontalLayout.setObjectName("horizontalLayout")
107 self.totalLabel = QtWidgets.QLabel(parent=CompareDialog)
108 self.totalLabel.setFrameShape(QtWidgets.QFrame.Shape.Panel)
109 self.totalLabel.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
110 self.totalLabel.setObjectName("totalLabel")
111 self.horizontalLayout.addWidget(self.totalLabel)
112 self.changedLabel = QtWidgets.QLabel(parent=CompareDialog)
113 self.changedLabel.setFrameShape(QtWidgets.QFrame.Shape.Panel)
114 self.changedLabel.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
115 self.changedLabel.setObjectName("changedLabel")
116 self.horizontalLayout.addWidget(self.changedLabel)
117 self.addedLabel = QtWidgets.QLabel(parent=CompareDialog)
118 self.addedLabel.setFrameShape(QtWidgets.QFrame.Shape.Panel)
119 self.addedLabel.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
120 self.addedLabel.setObjectName("addedLabel")
121 self.horizontalLayout.addWidget(self.addedLabel)
122 self.deletedLabel = QtWidgets.QLabel(parent=CompareDialog)
123 self.deletedLabel.setFrameShape(QtWidgets.QFrame.Shape.Panel)
124 self.deletedLabel.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
125 self.deletedLabel.setObjectName("deletedLabel")
126 self.horizontalLayout.addWidget(self.deletedLabel)
127 self.buttonBox = QtWidgets.QDialogButtonBox(parent=CompareDialog)
128 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
129 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
130 self.buttonBox.setObjectName("buttonBox")
131 self.horizontalLayout.addWidget(self.buttonBox)
132 self.verticalLayout.addLayout(self.horizontalLayout)
133 self.textLabel1.setBuddy(self.file1Picker)
134 self.textLabel2.setBuddy(self.file2Picker)
135
136 self.retranslateUi(CompareDialog)
137 self.buttonBox.rejected.connect(CompareDialog.close) # type: ignore
138 QtCore.QMetaObject.connectSlotsByName(CompareDialog)
139 CompareDialog.setTabOrder(self.file1Picker, self.file2Picker)
140 CompareDialog.setTabOrder(self.file2Picker, self.firstButton)
141 CompareDialog.setTabOrder(self.firstButton, self.upButton)
142 CompareDialog.setTabOrder(self.upButton, self.downButton)
143 CompareDialog.setTabOrder(self.downButton, self.lastButton)
144 CompareDialog.setTabOrder(self.lastButton, self.synchronizeCheckBox)
145
146 def retranslateUi(self, CompareDialog):
147 _translate = QtCore.QCoreApplication.translate
148 CompareDialog.setWindowTitle(_translate("CompareDialog", "File Comparison"))
149 self.filesGroup.setTitle(_translate("CompareDialog", "Files to be compared:"))
150 self.textLabel1.setText(_translate("CompareDialog", "File &1:"))
151 self.file1Picker.setToolTip(_translate("CompareDialog", "Enter the name of the first file"))
152 self.textLabel2.setText(_translate("CompareDialog", "File &2:"))
153 self.file2Picker.setToolTip(_translate("CompareDialog", "Enter the name of the second file"))
154 self.firstButton.setToolTip(_translate("CompareDialog", "Press to move to the first difference"))
155 self.upButton.setToolTip(_translate("CompareDialog", "Press to move to the previous difference"))
156 self.downButton.setToolTip(_translate("CompareDialog", "Press to move to the next difference"))
157 self.lastButton.setToolTip(_translate("CompareDialog", "Press to move to the last difference"))
158 self.synchronizeCheckBox.setToolTip(_translate("CompareDialog", "Select, if the horizontal scrollbars should be synchronized"))
159 self.synchronizeCheckBox.setText(_translate("CompareDialog", "&Synchronize horizontal scrollbars"))
160 self.synchronizeCheckBox.setShortcut(_translate("CompareDialog", "Alt+S"))
161 from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial