Changeset 780:1687ac1948d0 in hatta-dev for ui_errorDialog.py


Ignore:
Timestamp:
07/16/10 20:18:33 (22 months ago)
Author:
Cezary Krzyżanowski <cezary.krzyzanowski@…>
Branch:
default
Message:

Moved ui and png to resources. Get the png packed. Make dialog find it's icon while debugging and when frozen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ui_errorDialog.py

    r779 r780  
    11# -*- coding: utf-8 -*- 
    22 
    3 # Form implementation generated from reading ui file 'HattaError.ui' 
     3# Form implementation generated from reading ui file 'resources/HattaError.ui' 
    44# 
    5 # Created: Fri Jul 16 19:42:07 2010 
     5# Created: Fri Jul 16 19:56:19 2010 
    66#      by: PyQt4 UI code generator 4.7.3 
    77# 
     
    4242        self.error_icon.setBaseSize(QtCore.QSize(64, 64)) 
    4343        self.error_icon.setText("") 
    44         self.error_icon.setPixmap(QtGui.QPixmap("error.png")) 
    4544        self.error_icon.setScaledContents(False) 
    4645        self.error_icon.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) 
     
    115114        self.error_traceback.setPlainText(QtGui.QApplication.translate("ErrorDialog", "Traceback here.", None, QtGui.QApplication.UnicodeUTF8)) 
    116115        self.details_button.setText(QtGui.QApplication.translate("ErrorDialog", "&Details", None, QtGui.QApplication.UnicodeUTF8)) 
    117  
    118 #import icons_rc 
Note: See TracChangeset for help on using the changeset viewer.