def ApMonitorTabContent(self): self.PumpMonitorTAB = PumpkinMonitor() self.ContentTabMonitor.addLayout(self.PumpMonitorTAB)