fixing resource loading
This commit is contained in:
parent
b15018177a
commit
a71ff52e22
@ -22,4 +22,4 @@ from PyQt4 import QtGui, uic
|
|||||||
class DialogAbout(QtGui.QDialog):
|
class DialogAbout(QtGui.QDialog):
|
||||||
def __init__(self, parent):
|
def __init__(self, parent):
|
||||||
QtGui.QDialog.__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)
|
||||||
|
@ -112,7 +112,7 @@ class MainWindowBook(QtGui.QMainWindow):
|
|||||||
def __init__(self, filename=None):
|
def __init__(self, filename=None):
|
||||||
QtGui.QMainWindow.__init__(self)
|
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.listWidgetFiles.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
|
||||||
self.actionFileNew.triggered.connect(self.onFileNew)
|
self.actionFileNew.triggered.connect(self.onFileNew)
|
||||||
self.actionFileOpen.triggered.connect(self.onFileOpen)
|
self.actionFileOpen.triggered.connect(self.onFileOpen)
|
||||||
|
@ -24,7 +24,7 @@ class DialogOptions(QtGui.QDialog):
|
|||||||
def __init__(self, parent, book):
|
def __init__(self, parent, book):
|
||||||
QtGui.QDialog.__init__(self, parent)
|
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.accepted.connect(self.onAccept)
|
||||||
|
|
||||||
self.book = book
|
self.book = book
|
||||||
|
Loading…
Reference in New Issue
Block a user