76 "zip": ["*.zip"], |
76 "zip": ["*.zip"], |
77 } |
77 } |
78 |
78 |
79 self.subReposCheckBox.setEnabled(vcs.hasSubrepositories()) |
79 self.subReposCheckBox.setEnabled(vcs.hasSubrepositories()) |
80 |
80 |
81 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
81 self.buttonBox.button( |
|
82 QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
82 |
83 |
83 self.__projectPath = ( |
84 self.__projectPath = ( |
84 vcs.getPlugin().getProjectHelper().getProject().getProjectPath() |
85 vcs.getPlugin().getProjectHelper().getProject().getProjectPath() |
85 ) |
86 ) |
86 |
87 |
92 """ |
93 """ |
93 Private slot to handle changes of the archive name. |
94 Private slot to handle changes of the archive name. |
94 |
95 |
95 @param archive name of the archive (string) |
96 @param archive name of the archive (string) |
96 """ |
97 """ |
97 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(archive != "") |
98 self.buttonBox.button( |
|
99 QDialogButtonBox.StandardButton.Ok).setEnabled(archive != "") |
98 |
100 |
99 @pyqtSlot(int) |
101 @pyqtSlot(int) |
100 def on_typeComboBox_activated(self, index): |
102 def on_typeComboBox_activated(self, index): |
101 """ |
103 """ |
102 Private slot to react on changes of the selected archive type. |
104 Private slot to react on changes of the selected archive type. |