Latest version with new displays

This commit is contained in:
Tim Bentley 2009-04-28 20:40:51 +01:00
parent 2dbe7d99a2
commit c8726a3892
3 changed files with 5 additions and 5 deletions

View File

@ -39,9 +39,6 @@ class OpenLP(QtGui.QApplication):
log=logging.getLogger(u'OpenLP Application')
log.info(u'Application Loaded')
def bye(self):
print "bye"
def run(self):
#provide a listener for widgets to reqest a screen update.
QtCore.QObject.connect(Receiver.get_receiver(),

View File

@ -40,8 +40,9 @@ class MainDisplay(QtGui.QWidget):
print self.isEnabled()
print self.isVisible()
print self.geometry()
if len(self.screens) > 0:
self.showFullScreen()
#if len(self.screens) > 0:
self.showFullScreen()
self.show()
def frameView(self, frame):
self.display.setGeometry(0, 0, imagesize.width(), imagesize.height())

View File

@ -11,6 +11,8 @@
</qresource>
<qresource prefix="graphics" >
<file>splash-screen-new.bmp</file>
<file>splash-screen-2.png</file>
<file>openlp2.png</file>
<file>about-new.bmp</file>
</qresource>
<qresource prefix="imports" >