RefactoringRope/Ui_MatchesDialog.py

Sat, 26 Oct 2024 15:50:43 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Oct 2024 15:50:43 +0200
branch
eric7
changeset 422
f98253eed7f0
child 423
9dfc89a5aadf
permissions
-rw-r--r--

- change to the new style header
- included the compiled form files

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_plugins/Plugin_Refactoring_Rope/RefactoringRope/MatchesDialog.ui'
#
# Created by: PyQt6 UI code generator 6.3.1
#
# 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_MatchesDialog(object):
    def setupUi(self, MatchesDialog):
        MatchesDialog.setObjectName("MatchesDialog")
        MatchesDialog.resize(649, 480)
        MatchesDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtWidgets.QVBoxLayout(MatchesDialog)
        self.vboxlayout.setProperty("margin", 6)
        self.vboxlayout.setContentsMargins(6, 6, 6, 6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")
        self.matchesList = QtWidgets.QTreeWidget(MatchesDialog)
        self.matchesList.setAlternatingRowColors(True)
        self.matchesList.setRootIsDecorated(False)
        self.matchesList.setItemsExpandable(False)
        self.matchesList.setObjectName("matchesList")
        self.vboxlayout.addWidget(self.matchesList)
        self.buttonBox = QtWidgets.QDialogButtonBox(MatchesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

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

    def retranslateUi(self, MatchesDialog):
        _translate = QtCore.QCoreApplication.translate
        MatchesDialog.setWindowTitle(_translate("MatchesDialog", "Refactoring Matches"))
        self.matchesList.setSortingEnabled(True)
        self.matchesList.headerItem().setText(0, _translate("MatchesDialog", "Filename"))
        self.matchesList.headerItem().setText(1, _translate("MatchesDialog", "Line"))
        self.matchesList.headerItem().setText(2, _translate("MatchesDialog", "Confidence"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    MatchesDialog = QtWidgets.QDialog()
    ui = Ui_MatchesDialog()
    ui.setupUi(MatchesDialog)
    MatchesDialog.show()
    sys.exit(app.exec())

eric ide

mercurial