src/eric7/Debugger/Ui_VariablesFilterDialog.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/Debugger/VariablesFilterDialog.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_VariablesFilterDialog(object):
    def setupUi(self, VariablesFilterDialog):
        VariablesFilterDialog.setObjectName("VariablesFilterDialog")
        VariablesFilterDialog.resize(600, 500)
        VariablesFilterDialog.setSizeGripEnabled(True)
        self.gridLayout = QtWidgets.QGridLayout(VariablesFilterDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(parent=VariablesFilterDialog)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 2)
        self.localsLabel = QtWidgets.QLabel(parent=VariablesFilterDialog)
        self.localsLabel.setObjectName("localsLabel")
        self.gridLayout.addWidget(self.localsLabel, 1, 0, 1, 1)
        self.globalsLabel = QtWidgets.QLabel(parent=VariablesFilterDialog)
        self.globalsLabel.setObjectName("globalsLabel")
        self.gridLayout.addWidget(self.globalsLabel, 1, 1, 1, 1)
        self.localsList = QtWidgets.QListWidget(parent=VariablesFilterDialog)
        self.localsList.setAlternatingRowColors(True)
        self.localsList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.localsList.setObjectName("localsList")
        self.gridLayout.addWidget(self.localsList, 2, 0, 1, 1)
        self.globalsList = QtWidgets.QListWidget(parent=VariablesFilterDialog)
        self.globalsList.setAlternatingRowColors(True)
        self.globalsList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
        self.globalsList.setObjectName("globalsList")
        self.gridLayout.addWidget(self.globalsList, 2, 1, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=VariablesFilterDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Apply|QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok|QtWidgets.QDialogButtonBox.StandardButton.Reset)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 2)
        self.localsLabel.setBuddy(self.localsList)
        self.globalsLabel.setBuddy(self.globalsList)

        self.retranslateUi(VariablesFilterDialog)
        self.buttonBox.accepted.connect(VariablesFilterDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(VariablesFilterDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(VariablesFilterDialog)
        VariablesFilterDialog.setTabOrder(self.localsList, self.globalsList)

    def retranslateUi(self, VariablesFilterDialog):
        _translate = QtCore.QCoreApplication.translate
        VariablesFilterDialog.setWindowTitle(_translate("VariablesFilterDialog", "Variables Type Filter"))
        VariablesFilterDialog.setWhatsThis(_translate("VariablesFilterDialog", "<b>Filter Dialog</b>\n"
"<p> This dialog gives the user the possibility to select what kind of variables should <b>not</b> be shown during a debugging session.</p>"))
        self.label.setText(_translate("VariablesFilterDialog", "Select the variable types to be shown in the variables viewers:"))
        self.localsLabel.setText(_translate("VariablesFilterDialog", "&Locals Viewer"))
        self.globalsLabel.setText(_translate("VariablesFilterDialog", "&Globals Viewer"))
        self.localsList.setToolTip(_translate("VariablesFilterDialog", "Locals Filter List"))
        self.localsList.setWhatsThis(_translate("VariablesFilterDialog", "<b>Locals Filter List</b>\n"
"<p>Select the variable types you want to be shown in the local variables viewer.</p<"))
        self.localsList.setSortingEnabled(True)
        self.globalsList.setToolTip(_translate("VariablesFilterDialog", "Globals Filter List"))
        self.globalsList.setWhatsThis(_translate("VariablesFilterDialog", "<b>Globals Filter List</b>\n"
"<p>Select the variable types you want to be shown in the global variables viewer.</p<"))
        self.globalsList.setSortingEnabled(True)

eric ide

mercurial