forked from openlp/openlp
- fixed logo pixelation
- removed logo from maindisplay bzr-revno: 1479
This commit is contained in:
commit
500e555672
@ -34,7 +34,7 @@ from PyQt4 import QtCore, QtGui, QtWebKit
|
|||||||
from PyQt4.phonon import Phonon
|
from PyQt4.phonon import Phonon
|
||||||
|
|
||||||
from openlp.core.lib import Receiver, build_html, ServiceItem, image_to_byte, \
|
from openlp.core.lib import Receiver, build_html, ServiceItem, image_to_byte, \
|
||||||
build_icon, translate
|
translate
|
||||||
|
|
||||||
from openlp.core.ui import HideMode
|
from openlp.core.ui import HideMode
|
||||||
|
|
||||||
@ -69,8 +69,6 @@ class MainDisplay(DisplayWidget):
|
|||||||
self.hideMode = None
|
self.hideMode = None
|
||||||
self.videoHide = False
|
self.videoHide = False
|
||||||
self.override = {}
|
self.override = {}
|
||||||
mainIcon = build_icon(u':/icon/openlp-logo-16x16.png')
|
|
||||||
self.setWindowIcon(mainIcon)
|
|
||||||
self.retranslateUi()
|
self.retranslateUi()
|
||||||
self.setStyleSheet(u'border: 0px; margin: 0px; padding: 0px;')
|
self.setStyleSheet(u'border: 0px; margin: 0px; padding: 0px;')
|
||||||
self.setWindowFlags(QtCore.Qt.FramelessWindowHint | QtCore.Qt.Tool |
|
self.setWindowFlags(QtCore.Qt.FramelessWindowHint | QtCore.Qt.Tool |
|
||||||
|
@ -71,7 +71,7 @@ class Ui_MainWindow(object):
|
|||||||
mainWindow.setObjectName(u'MainWindow')
|
mainWindow.setObjectName(u'MainWindow')
|
||||||
mainWindow.resize(self.settingsmanager.width,
|
mainWindow.resize(self.settingsmanager.width,
|
||||||
self.settingsmanager.height)
|
self.settingsmanager.height)
|
||||||
mainWindow.setWindowIcon(build_icon(u':/icon/openlp-logo-16x16.png'))
|
mainWindow.setWindowIcon(build_icon(u':/icon/openlp-logo-64x64.png'))
|
||||||
mainWindow.setDockNestingEnabled(True)
|
mainWindow.setDockNestingEnabled(True)
|
||||||
# Set up the main container, which contains all the other form widgets.
|
# Set up the main container, which contains all the other form widgets.
|
||||||
self.MainContent = QtGui.QWidget(mainWindow)
|
self.MainContent = QtGui.QWidget(mainWindow)
|
||||||
|
Loading…
Reference in New Issue
Block a user