示例#1
0
 def __init__(self, parent=None):
     logging.debug(__name__ + ": __init__")
     TableView.__init__(self,parent)
     self.setColumns(["Type","Label","Product","Process"])
     self._firstColumn=0
     self._autosizeColumns=False
     self._sortingFlag=True
示例#2
0
 def __init__(self, parent=None):
     logging.debug(__name__ + ": __init__")
     TableView.__init__(self, parent)
     self.setColumns(["Type", "Label", "Product", "Process"])
     self._firstColumn = 0
     self._autosizeColumns = False
     self._sortingFlag = True
示例#3
0
    def __init__(self, parent=None):
        logging.debug(__name__ + ": __init__")
        TableView.__init__(self,parent)
        self.setColumns(["Buttons","code"])
        self.horizontalHeader().hide()
        self.setSorting(False)
        self._firstColumn=1

        self.connect(self, SIGNAL("itemClicked(QTableWidgetItem*)"), self.itemClicked)
示例#4
0
    def __init__(self, parent=None):
        logging.debug(__name__ + ": __init__")
        TableView.__init__(self, parent)
        self.setColumns(["Buttons", "code"])
        self.horizontalHeader().hide()
        self.setSorting(False)
        self._firstColumn = 1

        self.connect(self, SIGNAL("itemClicked(QTableWidgetItem*)"),
                     self.itemClicked)