54 def __init__(self, parent=None, external=False): |
54 def __init__(self, parent=None, external=False): |
55 """ |
55 """ |
56 Constructor |
56 Constructor |
57 |
57 |
58 @param parent parent of this dialog (QWidget) |
58 @param parent parent of this dialog (QWidget) |
|
59 @param external flag indicating an instatiation as a main |
|
60 window (boolean) |
59 """ |
61 """ |
60 super().__init__(parent) |
62 super().__init__(parent) |
61 self.setupUi(self) |
63 self.setupUi(self) |
62 |
64 |
63 self.__updateButton = \ |
65 self.__updateButton = \ |
107 |
109 |
108 @pyqtSlot(QAbstractButton) |
110 @pyqtSlot(QAbstractButton) |
109 def on_buttonBox_clicked(self, button): |
111 def on_buttonBox_clicked(self, button): |
110 """ |
112 """ |
111 Private slot to handle the click of a button of the button box. |
113 Private slot to handle the click of a button of the button box. |
|
114 |
|
115 @param button reference to the button pressed (QAbstractButton) |
112 """ |
116 """ |
113 if button == self.__updateButton: |
117 if button == self.__updateButton: |
114 self.__updateList() |
118 self.__updateList() |
115 elif button == self.__downloadButton: |
119 elif button == self.__downloadButton: |
116 self.__isDownloadInstall = False |
120 self.__isDownloadInstall = False |