def __init__(self, parent, *args, **kwargs): PowerTableWidget.__init__(self, parent=parent, *args, **kwargs) self.header = [_(u"Date"), _(u"Type"), \ _(u"Value"), _(u"Balance")] self.set_data_for() self.refresh(True)
def __init__(self, parent, *args, **kwargs): PowerTableWidget.__init__(self, parent=parent, *args, **kwargs) self.header = [_(u"Date"), _(u"Consumption")] self.set_data_for() self.refresh(True)