src/eric7/WebBrowser/Feeds/Ui_FeedsDialog.py

Fri, 07 Jun 2024 10:05:06 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 07 Jun 2024 10:05:06 +0200
branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
permissions
-rw-r--r--

Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/WebBrowser/Feeds/FeedsDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.0
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_FeedsDialog(object):
    def setupUi(self, FeedsDialog):
        FeedsDialog.setObjectName("FeedsDialog")
        FeedsDialog.resize(352, 94)
        FeedsDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(FeedsDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.iconLabel = QtWidgets.QLabel(parent=FeedsDialog)
        self.iconLabel.setText("")
        self.iconLabel.setObjectName("iconLabel")
        self.horizontalLayout.addWidget(self.iconLabel)
        self.label = QtWidgets.QLabel(parent=FeedsDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.feedsLayout = QtWidgets.QGridLayout()
        self.feedsLayout.setObjectName("feedsLayout")
        self.verticalLayout.addLayout(self.feedsLayout)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=FeedsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(FeedsDialog)
        self.buttonBox.accepted.connect(FeedsDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(FeedsDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(FeedsDialog)

    def retranslateUi(self, FeedsDialog):
        _translate = QtCore.QCoreApplication.translate
        FeedsDialog.setWindowTitle(_translate("FeedsDialog", "Add Feed"))
        self.label.setText(_translate("FeedsDialog", "Add Feeds from this site"))

eric ide

mercurial