Пример #1
0
 def setHistoryColumns(self, *args):
     """Display the column selection dialog"""
     w = self.repoTabsWidget.currentWidget()
     dlg = ColumnSelectDialog('workbench', _('Workbench'),
                              w and w.repoview.model() or None)
     if dlg.exec_() == QDialog.Accepted:
         if w:
             w.repoview.model().updateColumns()
             w.repoview.resizeColumns()
Пример #2
0
 def setHistoryColumns(self):
     dlg = ColumnSelectDialog(self.colselect[0], self.colselect[1],
                              self.model())
     if dlg.exec_() == QDialog.Accepted:
         self.model().updateColumns()
         self.resizeColumns()
Пример #3
0
 def setHistoryColumns(self):
     dlg = ColumnSelectDialog(self.colselect[0], self.colselect[1],
                              self.model())
     if dlg.exec_() == QDialog.Accepted:
         self.model().updateColumns()
         self.resizeColumns()