Add some specifc define for olimex stm32 board.
[bertos.git] / wizard / BIntroPage.py
index 764d56173c8ca2e70956b87ba57864e34e44c041..02ca94692cf1a1d3dc041f94d7387868d08b0759 100644 (file)
@@ -45,11 +45,13 @@ class BIntroPage(BWizardPage):
     Initial page of the wizard. Permit to select the project name and the directory
     where the project will be created.
     """
     Initial page of the wizard. Permit to select the project name and the directory
     where the project will be created.
     """
-    
+
     def __init__(self):
         BWizardPage.__init__(self, UI_LOCATION + "/intro_page.ui")
         self.setTitle(self.tr("Welcome in BeRTOS Wizard!"))
     def __init__(self):
         BWizardPage.__init__(self, UI_LOCATION + "/intro_page.ui")
         self.setTitle(self.tr("Welcome in BeRTOS Wizard!"))
-    
+        pixmap = self.pageContent.imageLabel.pixmap()
+        self.pageContent.imageLabel.setPixmap(pixmap.scaled(300, 400, Qt.KeepAspectRatio))
+
     ## Overloaded QWizardPage methods ##
 
     def isComplete(self):
     ## Overloaded QWizardPage methods ##
 
     def isComplete(self):
@@ -57,6 +59,5 @@ class BIntroPage(BWizardPage):
         Overload of the QWizardPage isComplete method.
         """
         return True
         Overload of the QWizardPage isComplete method.
         """
         return True
-    
-    ####
 
 
+    ####
\ No newline at end of file