'**Arguments:**
parent         (QWidget) An optional parent widget
showHeader     (bool) If True, then the QTreeView header is displayed.'

def __init__(self, parent=None, showHeader=True):

    TreeWidget.__init__(self, parent)
    self.setVerticalScrollMode(self.ScrollPerPixel)
    self.setHorizontalScrollMode(self.ScrollPerPixel)
    self.setAnimated(False)
    self.setColumnCount(2)
    self.setHeaderLabels(['Parameter', 'Value'])
    self.setAlternatingRowColors(True)
    self.paramSet = None
    self.header().setResizeMode(QtGui.QHeaderView.ResizeToContents)
    self.setHeaderHidden((not showHeader))
    self.itemChanged.connect(self.itemChangedEvent)
    self.lastSel = None
    self.setRootIsDecorated(False)
