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

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

src/p/y/pyqt5-HEAD/examples/itemviews/stardelegate.py   pyqt5(Download)
 
    tableWidget = QTableWidget(4, 4)
    tableWidget.setItemDelegate(StarDelegate())
    tableWidget.setEditTriggers(
            QAbstractItemView.DoubleClicked | QAbstractItemView.SelectedClicked)

src/p/y/pyqt5-HEAD/examples/widgets/icons/icons.py   pyqt5(Download)
        self.imagesTable = QTableWidget()
        self.imagesTable.setSelectionMode(QAbstractItemView.NoSelection)
        self.imagesTable.setItemDelegate(ImageDelegate(self))
 
        self.imagesTable.horizontalHeader().setDefaultSectionSize(90)

src/p/y/pyqt5-HEAD/examples/itemviews/spreadsheet/spreadsheet.py   pyqt5(Download)
 
        self.table.setItemPrototype(self.table.item(rows - 1, cols - 1))
        self.table.setItemDelegate(SpreadSheetDelegate(self))
        self.createActions()
        self.updateColor(0)