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)
                newBox.resize(self.sectionSize(idx) - 30, self.height())
                self.boxes[idx] = newBox
            self.boxes[idx].setGeometry(self.sectionViewportPosition(idx) + self.xOffsetLeft, 
                                      self.yOffset, 
                                      self.sectionSize(idx) +  self.xOffsetRight, 
    def handleSectionResized(self, index):
        for idx in range(self.visualIndex(index), len(self.boxes)):
            if idx > 0:
                logical = self.logicalIndex (idx)
                self.boxes[idx].setGeometry(self.sectionViewportPosition(logical) + self.xOffsetLeft, 
    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,