forked from openlp/openlp
Latest version with new displays
This commit is contained in:
parent
2dbe7d99a2
commit
c8726a3892
@ -39,9 +39,6 @@ class OpenLP(QtGui.QApplication):
|
|||||||
log=logging.getLogger(u'OpenLP Application')
|
log=logging.getLogger(u'OpenLP Application')
|
||||||
log.info(u'Application Loaded')
|
log.info(u'Application Loaded')
|
||||||
|
|
||||||
def bye(self):
|
|
||||||
print "bye"
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
#provide a listener for widgets to reqest a screen update.
|
#provide a listener for widgets to reqest a screen update.
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||||
|
@ -40,8 +40,9 @@ class MainDisplay(QtGui.QWidget):
|
|||||||
print self.isEnabled()
|
print self.isEnabled()
|
||||||
print self.isVisible()
|
print self.isVisible()
|
||||||
print self.geometry()
|
print self.geometry()
|
||||||
if len(self.screens) > 0:
|
#if len(self.screens) > 0:
|
||||||
self.showFullScreen()
|
self.showFullScreen()
|
||||||
|
self.show()
|
||||||
|
|
||||||
def frameView(self, frame):
|
def frameView(self, frame):
|
||||||
self.display.setGeometry(0, 0, imagesize.width(), imagesize.height())
|
self.display.setGeometry(0, 0, imagesize.width(), imagesize.height())
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="graphics" >
|
<qresource prefix="graphics" >
|
||||||
<file>splash-screen-new.bmp</file>
|
<file>splash-screen-new.bmp</file>
|
||||||
|
<file>splash-screen-2.png</file>
|
||||||
|
<file>openlp2.png</file>
|
||||||
<file>about-new.bmp</file>
|
<file>about-new.bmp</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="imports" >
|
<qresource prefix="imports" >
|
||||||
|
Loading…
Reference in New Issue
Block a user