From f143322ab6e74636c576c0929eb2577ec8b56890 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 28 Jan 2009 11:55:50 +0000 Subject: [PATCH] Add utility method for the project infos git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2236 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 2 +- wizard/BWizard.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/wizard/BProject.py b/wizard/BProject.py index 9c4a11a9..08bac0f0 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -23,4 +23,4 @@ class BProject(object): return None def __repr__(self): - return repr(self.infos()) \ No newline at end of file + return repr(self.infos) \ No newline at end of file diff --git a/wizard/BWizard.py b/wizard/BWizard.py index 497ea51d..d9dc4994 100644 --- a/wizard/BWizard.py +++ b/wizard/BWizard.py @@ -9,6 +9,8 @@ # Author: Lorenzo Berni # +import copy + from PyQt4.QtCore import * from PyQt4.QtGui import * @@ -46,4 +48,7 @@ class BWizard(QWizard): 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 -- 2.25.1