projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wizard info.
[bertos.git]
/
wizard
/
BCreationPage.py
diff --git
a/wizard/BCreationPage.py
b/wizard/BCreationPage.py
index f3e0a115ece1410ecbeca31bf2be4d01b2eb1561..b58c83c524d0ec6f12fbc0e3e57445c2da5992e2 100644
(file)
--- a/
wizard/BCreationPage.py
+++ b/
wizard/BCreationPage.py
@@
-23,12
+23,15
@@
class BCreationPage(BWizardPage):
self.setTitle(self.tr("Create the BeRTOS project"))
self._setupUi()
self._connectSignals()
self.setTitle(self.tr("Create the BeRTOS project"))
self._setupUi()
self._connectSignals()
+ self._completed = False
+
+ def reloadData(self):
+ self._completed = False
+ self._setupUi()
def _setupUi(self):
self._confirmGroup = QWidgetGroup(self.pageContent.summaryTree,
self.pageContent.createButton)
def _setupUi(self):
self._confirmGroup = QWidgetGroup(self.pageContent.summaryTree,
self.pageContent.createButton)
- self._workingGroup = QWidgetGroup(self.pageContent.spinnerLabel)
- self._workingGroup.setVisible(False)
self._finalGroup = QWidgetGroup(self.pageContent.iconLabel,
self.pageContent.textLabel)
self._finalGroup.setVisible(False)
self._finalGroup = QWidgetGroup(self.pageContent.iconLabel,
self.pageContent.textLabel)
self._finalGroup.setVisible(False)
@@
-37,20
+40,16
@@
class BCreationPage(BWizardPage):
self.connect(self.pageContent.createButton, SIGNAL("clicked(bool)"), self._createProject)
def _createProject(self):
self.connect(self.pageContent.createButton, SIGNAL("clicked(bool)"), self._createProject)
def _createProject(self):
+ QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
self._confirmGroup.setVisible(False)
self._confirmGroup.setVisible(False)
- #self._workingGroup.setVisible(True)
- #self._movie = QMovie("images/load_spinner.gif")
- #print self._movie.isValid()
- #self.pageContent.spinnerLabel.setMovie(self._movie)
- #self._movie.start()
bertos_utils.createBertosProject(self.wizard().project())
bertos_utils.createBertosProject(self.wizard().project())
- #del self._movie
- #self._workingGroup.setVisible(False)
self._finalGroup.setVisible(True)
self._finalGroup.setVisible(True)
+ self._completed = True
+ QApplication.restoreOverrideCursor()
self.emit(SIGNAL("completeChanged()"))
def isComplete(self):
self.emit(SIGNAL("completeChanged()"))
def isComplete(self):
- return self._
finalGroup.isVisible()
+ return self._
completed
class QWidgetGroup(QObject):
"""
class QWidgetGroup(QObject):
"""