self.pageContent.newDescription.setVisible(False)
self.pageContent.editDescription.setVisible(False)
+ def isComplete(self):
+ return self.pageContent.newButton.isChecked() or self.pageContent.editButton.isChecked()
+
def newProject(self):
filename = QFileDialog.getSaveFileName(self, self.tr("Destination directory"), "", "", "", QFileDialog.ShowDirsOnly)
if not filename.isEmpty():
self.pageContent.newDescription.setVisible(True)
# TODO: It's better to create it at the end of the wizard...
bertos_utils.createBertosProject(filename)
+ self.emit(SIGNAL("completeChanged()"))
else:
self.pageContent.newDescription.setText("")
self.pageContent.newDescription.setVisible(False)
+ self.pageContent.newButton.setChecked(False)
def editProject(self):
- pass
\ No newline at end of file
+ self.pageContent.newButton.setChecked(False)
\ No newline at end of file