90 self.__external = True |
90 self.__external = True |
91 else: |
91 else: |
92 self.__pluginManager = pluginManager |
92 self.__pluginManager = pluginManager |
93 self.__external = False |
93 self.__external = False |
94 self.__integratedWidget = integrated |
94 self.__integratedWidget = integrated |
|
95 |
|
96 if integrated: |
|
97 self.layout().setContentsMargins(0, 3, 0, 0) |
95 |
98 |
96 self.__updateButton = self.buttonBox.addButton( |
99 self.__updateButton = self.buttonBox.addButton( |
97 self.tr("Update"), QDialogButtonBox.ButtonRole.ActionRole) |
100 self.tr("Update"), QDialogButtonBox.ButtonRole.ActionRole) |
98 self.__downloadButton = self.buttonBox.addButton( |
101 self.__downloadButton = self.buttonBox.addButton( |
99 self.tr("Download"), QDialogButtonBox.ButtonRole.ActionRole) |
102 self.tr("Download"), QDialogButtonBox.ButtonRole.ActionRole) |