fixing resource loading

This commit is contained in:
Alex Yatskov 2011-11-18 07:05:57 -08:00
parent b15018177a
commit a71ff52e22
3 changed files with 3 additions and 3 deletions

View File

@ -22,4 +22,4 @@ from PyQt4 import QtGui, uic
class DialogAbout(QtGui.QDialog):
def __init__(self, parent):
QtGui.QDialog.__init__(self, parent)
uic.loadUi(util.buildResPath('mangle/ui/about.ui'), self)
uic.loadUi(util.buildResPath('ui/about.ui'), self)

View File

@ -112,7 +112,7 @@ class MainWindowBook(QtGui.QMainWindow):
def __init__(self, filename=None):
QtGui.QMainWindow.__init__(self)
uic.loadUi(util.buildResPath('mangle/ui/book.ui'), self)
uic.loadUi(util.buildResPath('ui/book.ui'), self)
self.listWidgetFiles.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.actionFileNew.triggered.connect(self.onFileNew)
self.actionFileOpen.triggered.connect(self.onFileOpen)

View File

@ -24,7 +24,7 @@ class DialogOptions(QtGui.QDialog):
def __init__(self, parent, book):
QtGui.QDialog.__init__(self, parent)
uic.loadUi(util.buildResPath('mangle/ui/options.ui'), self)
uic.loadUi(util.buildResPath('ui/options.ui'), self)
self.accepted.connect(self.onAccept)
self.book = book