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

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

src/p/y/pyqt5-HEAD/examples/sql/querymodel.py   pyqt5(Download)
    view = QTableView()
    views.append(view)
    view.setModel(model)
    view.setWindowTitle(title)
    view.move(100 + offset, 100 + offset)

src/p/y/pyqt5-HEAD/examples/itemviews/spinboxdelegate.py   pyqt5(Download)
    model = QStandardItemModel(4, 2)
    tableView = QTableView()
    tableView.setModel(model)
 
    delegate = SpinBoxDelegate()

src/p/y/pyqt5-HEAD/examples/itemviews/pixelator/pixelator.py   pyqt5(Download)
        self.view.horizontalHeader().setMinimumSectionSize(1)
        self.view.verticalHeader().setMinimumSectionSize(1)
        self.view.setModel(self.model)
 
        delegate = PixelDelegate(self)

src/p/y/pyqt5-HEAD/examples/sql/relationaltablemodel.py   pyqt5(Download)
def createView(title, model):
    view = QTableView()
    view.setModel(model)
    view.setItemDelegate(QSqlRelationalDelegate(view))
    view.setWindowTitle(title)

src/p/y/pyqt5-HEAD/examples/itemviews/chart/chart.py   pyqt5(Download)
        splitter.setStretchFactor(1, 1)
 
        table.setModel(self.model)
        self.pieChart.setModel(self.model)
 

src/p/y/pyqt5-HEAD/examples/sql/tablemodel.py   pyqt5(Download)
def createView(title, model):
    view = QTableView()
    view.setModel(model)
    view.setWindowTitle(title)
    return view

src/p/y/pyqt5-HEAD/examples/sql/cachedtable.py   pyqt5(Download)
 
        view = QTableView()
        view.setModel(self.model)
 
        submitButton = QPushButton("Submit")

src/d/u/dupeguru-HEAD/qt/base/details_table.py   dupeguru(Download)
    def setModel(self, model):
        QTableView.setModel(self, model)
        # The model needs to be set to set header stuff
        hheader = self.horizontalHeader()
        hheader.setHighlightSections(False)