#
from BWizardPage import *
-from libbertos import *
+import bertos_utils
class BStartPage(BWizardPage):
self.pageContent.newDescription.setText("(\"" + filename + "\")")
self.pageContent.newDescription.setVisible(True)
# TODO: It's better to create it at the end of the wizard...
- createBertosProject(filename)
+ bertos_utils.createBertosProject(filename)
else:
self.pageContent.newDescription.setText("")
self.pageContent.newDescription.setVisible(False)
from PyQt4.QtGui import *
from BWizardPage import *
-from libbertos import *
+import bertos_utils
class BVersionPage(BWizardPage):
def addVersion(self):
directory = QFileDialog.getExistingDirectory(self, self.tr("Choose a directory"), QString(), QFileDialog.ShowDirsOnly | QFileDialog.DontResolveSymlinks)
- if isBertosDir(directory):
- version = bertosVersion(directory)
+ if bertos_utils.isBertosDir(directory):
+ version = bertos_utils.bertosVersion(directory)
self.pageContent.versionList.addItem(QListWidgetItem(QIcon(":/images/ok.png"), version + " (\"" + directory + "\")"))
elif not directory.isEmpty():
version = "UNCHECKED"