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/pymca-HEAD/PyMca5/PyMcaPlugins/MotorInfoWindow.py   pymca(Download)
    def showEvent(self, event):
        if len(self.boxes) == 0:
            self.boxes = [None] * self.count()
        for idx in range(1, self.count()):
            if self.boxes[idx] is None:
    def addLastSection(self):
        idx = self.count()-1
        newBox = MotorInfoComboBox(self, self.parent().motorNamesList, idx)
        newBox.loadColumnSignal.connect(self.parent().loadColumn)
        newBox.setGeometry(self.sectionViewportPosition(idx) + self.xOffsetLeft, 
    def fixComboPositions(self):
        for idx in range(1, self.count()):
            self.boxes[idx].setGeometry(self.sectionViewportPosition(idx) + self.xOffsetLeft, 
                                      self.yOffset, 
                                      self.sectionSize(idx) +  self.xOffsetRight,