Changeset 219


Ignore:
Timestamp:
08/04/09 01:49:44 (10 years ago)
Author:
bretzel_parpg
Message:

Fixed some images not displaying in the about window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PARPG/tools/Writing Editor/ui/popupWindows.py

    r217 r219  
    2929        self.setObjectName("aboutWindow") 
    3030        self.setWindowTitle("About") 
    31         self.setWindowIcon(QtGui.QIcon("Data/Images/about.png")) 
    32         self.resize(225,220) 
     31        self.setWindowIcon(QtGui.QIcon("data/images/about.png")) 
     32        self.resize(225,245) 
    3333        self.central_widget = QtGui.QWidget(self) 
    34         self.central_widget.setGeometry(QtCore.QRect(0,0,225,220)) 
     34        self.central_widget.setGeometry(QtCore.QRect(0,0,225,245)) 
    3535 
    3636        self.info_icon = QtGui.QLabel(self.central_widget) 
    37         self.info_icon.setPixmap(QtGui.QPixmap("Data/Images/about_large.png"))  
     37        self.info_icon.setPixmap(QtGui.QPixmap("data/images/about_large.png"))  
    3838        self.info_icon.setGeometry(QtCore.QRect(48,1,128,128)) 
    3939 
     
    4545        self.credits_text.setWordWrap(True) 
    4646        self.credits_text.setGeometry(QtCore.QRect(3,65,225,220)) 
     47 
     48        self.close_button = QtGui.QPushButton(self.central_widget) 
     49        self.close_button.setText("Close") 
     50        self.close_button.setGeometry(QtCore.QRect(75,215,65,25)) 
     51 
     52        QtCore.QObject.connect(self.close_button, QtCore.SIGNAL("pressed()"), 
     53                               self.close) 
    4754 
    4855class ChangesWindow(QtGui.QMessageBox): 
Note: See TracChangeset for help on using the changeset viewer.