예제 #1
0
 def removeTab(self, tab):
     '''
     hide if there are no tabs
     '''
     FwTabWidget.removeTab(self, tab)
     if self.count() == 0:
         self.hide()
예제 #2
0
 def removeTab(self, tab):
     '''
     hide if there are no tabs
     '''
     FwTabWidget.removeTab(self, tab)
     if self.count() == 0:
         self.hide()