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/pymca-HEAD/PyMca5/PyMcaPlugins/MotorInfoWindow.py   pymca(Download)
    def __init__(self, parent):
        qt.QHeaderView.__init__(self, qt.Qt.Horizontal, parent)
        self.boxes = []
        self.sectionResized.connect( self.handleSectionResized )
        self.setClickable(True)

src/p/y/pymca-HEAD/PyMca5/PyMcaGui/misc/NumpyArrayTableView.py   pymca(Download)
    def __init__(self, parent=None):
        qt.QHeaderView.__init__(self, parent)
 
    def columnCount(self, modelIndex):
        return self.parent().columnCount()
    def __init__(self, parent=None):
        qt.QHeaderView.__init__(self, parent)
 
    def rowCount(self, modelIndex):
        return self.parent().rowCount()