forked from openlp/openlp
Remove Powerpoint for Linux Users
This commit is contained in:
parent
b08a5c3f65
commit
2fd14de465
@ -31,9 +31,3 @@ if os.name == u'nt':
|
||||
from messagelistener import MessageListener
|
||||
from mediaitem import PresentationMediaItem
|
||||
from presentationtab import PresentationTab
|
||||
|
||||
__all__ = ['PresentationMediaItem', 'PresentationTab',
|
||||
'ImpressController', 'MessageListener']
|
||||
if os.name == u'nt':
|
||||
__all__.append('PptviewController')
|
||||
#__all__.append('PowerpointController');
|
||||
|
@ -22,6 +22,7 @@
|
||||
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
###############################################################################
|
||||
|
||||
import os
|
||||
from PyQt4 import QtGui
|
||||
|
||||
from openlp.core.lib import SettingsTab, translate
|
||||
@ -60,11 +61,15 @@ class PresentationTab(SettingsTab):
|
||||
self.VerseTypeLayout.setObjectName(u'VerseTypeLayout')
|
||||
self.PowerpointCheckBox = QtGui.QCheckBox(self.VerseDisplayGroupBox)
|
||||
self.PowerpointCheckBox.setTristate(False)
|
||||
if os.name != u'nt':
|
||||
self.PowerpointCheckBox.setEnabled(False)
|
||||
self.PowerpointCheckBox.setObjectName(u'PowerpointCheckBox')
|
||||
self.VerseDisplayLayout.addWidget(self.PowerpointCheckBox, 0, 0, 1, 1)
|
||||
self.PowerpointViewerCheckBox = QtGui.QCheckBox(
|
||||
self.VerseDisplayGroupBox)
|
||||
self.PowerpointViewerCheckBox.setTristate(False)
|
||||
if os.name != u'nt':
|
||||
self.PowerpointViewerCheckBox.setEnabled(False)
|
||||
self.PowerpointViewerCheckBox.setObjectName(u'PowerpointViewerCheckBox')
|
||||
self.VerseDisplayLayout.addWidget(
|
||||
self.PowerpointViewerCheckBox, 1, 0, 1, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user