From 6d0631e034026b958437456ae461f21ba8429813 Mon Sep 17 00:00:00 2001 From: xoher Date: Mon, 29 Jun 2015 15:14:04 +0530 Subject: Logo bug fixed,and Splash screen waits for one second after workspace window --- src/frontEnd/Application.py | 1 + src/frontEnd/Workspace.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index adb81966..a139a7bd 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -60,6 +60,7 @@ class Application(QtGui.QMainWindow): self.obj_appconfig._app_heigth) self.setWindowTitle(self.obj_appconfig._APPLICATION) self.showMaximized() + self.setWindowIcon(QtGui.QIcon('../../images/logo.png')) #self.show() diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index 8f2b6c96..cd44dd71 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -17,7 +17,7 @@ #=============================================================================== from PyQt4 import QtCore, QtGui from configuration.Appconfig import Appconfig - +import time import os @@ -80,6 +80,7 @@ class Workspace(QtGui.QWidget): self.obj_appconfig.print_info('Default workspace selected : ' + self.obj_appconfig.default_workspace["workspace"]) self.close() var_appView.show() + time.sleep(1) var_appView.splash.close() @@ -114,6 +115,7 @@ class Workspace(QtGui.QWidget): self.imp_var=1 self.close() var_appView.show() + time.sleep(1) var_appView.splash.close() -- cgit