def __init__(self): QPushButton.__init__(self, getIcon('pluginsettings.png'), "") self.setFixedSize(24, 24) self.setFocusPolicy(Qt.NoFocus) self.index = -1 self.clicked.connect(self.onClick)
def __init__(self): QPushButton.__init__(self, getIcon(pluginHomeDir + 'svnmenudiff.png'), "") self.setFixedSize(24, 24) self.setFocusPolicy(Qt.NoFocus) self.path = "" self.status = None self.clicked.connect(self.onClick)