Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/pyqt5-HEAD/examples/multimedia/audiodevices/ui_audiodevicesbase.py   pyqt5(Download)
        self.verticalLayout_2.addWidget(self.populateTableButton)
        self.allFormatsTable = QtWidgets.QTableWidget(self.tab)
        self.allFormatsTable.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.allFormatsTable.setDragDropOverwriteMode(False)
        self.allFormatsTable.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)

src/p/y/pyqt5-HEAD/examples/itemviews/stardelegate.py   pyqt5(Download)
    tableWidget.setItemDelegate(StarDelegate())
    tableWidget.setEditTriggers(
            QAbstractItemView.DoubleClicked | QAbstractItemView.SelectedClicked)
    tableWidget.setSelectionBehavior(QAbstractItemView.SelectRows)
 

src/p/y/pyqt5-HEAD/examples/tools/settingseditor/settingseditor.py   pyqt5(Download)
        self.locationsTable.setSelectionMode(QAbstractItemView.SingleSelection)
        self.locationsTable.setSelectionBehavior(QAbstractItemView.SelectRows)
        self.locationsTable.setEditTriggers(QAbstractItemView.NoEditTriggers)
        self.locationsTable.setColumnCount(2)
        self.locationsTable.setHorizontalHeaderLabels(("Location", "Access"))

src/p/y/pyqt5-HEAD/examples/draganddrop/dropsite.py   pyqt5(Download)
        self.formatsTable = QTableWidget()
        self.formatsTable.setColumnCount(2)
        self.formatsTable.setEditTriggers(QAbstractItemView.NoEditTriggers)
        self.formatsTable.setHorizontalHeaderLabels(["Format", "Content"])
        self.formatsTable.horizontalHeader().setStretchLastSection(True)