projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the syntax of the wizard tag also in the configuration files.
[bertos.git]
/
wizard
/
BWizard.py
diff --git
a/wizard/BWizard.py
b/wizard/BWizard.py
index 9e227fa645c2b35cd9256edf13444777e9974b2e..a9bff88f0990f5e4caf90bf2709301ef9194ac4e 100644
(file)
--- a/
wizard/BWizard.py
+++ b/
wizard/BWizard.py
@@
-9,6
+9,8
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
+import copy
+
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.QtGui import *
@@
-17,6
+19,8
@@
import BVersionPage
import BCpuPage
import BToolchainPage
import BModulePage
import BCpuPage
import BToolchainPage
import BModulePage
+import BOutputPage
+import BCreationPage
class BWizard(QWizard):
class BWizard(QWizard):
@@
-34,6
+38,8
@@
class BWizard(QWizard):
self.addPage(BCpuPage.BCpuPage())
self.addPage(BToolchainPage.BToolchainPage())
self.addPage(BModulePage.BModulePage())
self.addPage(BCpuPage.BCpuPage())
self.addPage(BToolchainPage.BToolchainPage())
self.addPage(BModulePage.BModulePage())
+ self.addPage(BOutputPage.BOutputPage())
+ self.addPage(BCreationPage.BCreationPage())
def _connectSignals(self):
self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged)
def _connectSignals(self):
self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged)
@@
-44,4
+50,7
@@
class BWizard(QWizard):
prevPage.saveData()
page = self.page(pageId)
if page is not None:
prevPage.saveData()
page = self.page(pageId)
if page is not None:
- page.reloadData()
\ No newline at end of file
+ page.reloadData()
+
+ def project(self):
+ return copy.deepcopy(QApplication.instance().project)
\ No newline at end of file