forked from openlp/openlp
Added decent images for remotes, alerts and song usage.
This commit is contained in:
parent
0b48e66466
commit
5c4a835dac
@ -41,7 +41,7 @@ class alertsPlugin(Plugin):
|
|||||||
def __init__(self, plugin_helpers):
|
def __init__(self, plugin_helpers):
|
||||||
Plugin.__init__(self, u'Alerts', u'1.9.2', plugin_helpers)
|
Plugin.__init__(self, u'Alerts', u'1.9.2', plugin_helpers)
|
||||||
self.weight = -3
|
self.weight = -3
|
||||||
self.icon = build_icon(u':/media/media_image.png')
|
self.icon = build_icon(u':/plugins/plugin_alerts.png')
|
||||||
self.alertsmanager = AlertsManager(self)
|
self.alertsmanager = AlertsManager(self)
|
||||||
self.manager = Manager(u'alerts', init_schema)
|
self.manager = Manager(u'alerts', init_schema)
|
||||||
self.alertForm = AlertForm(self.manager, self)
|
self.alertForm = AlertForm(self.manager, self)
|
||||||
@ -65,7 +65,7 @@ class alertsPlugin(Plugin):
|
|||||||
"""
|
"""
|
||||||
log.info(u'add tools menu')
|
log.info(u'add tools menu')
|
||||||
self.toolsAlertItem = QtGui.QAction(tools_menu)
|
self.toolsAlertItem = QtGui.QAction(tools_menu)
|
||||||
AlertIcon = build_icon(u':/tools/tools_alert.png')
|
AlertIcon = build_icon(u':/plugins/plugin_alerts.png')
|
||||||
self.toolsAlertItem.setIcon(AlertIcon)
|
self.toolsAlertItem.setIcon(AlertIcon)
|
||||||
self.toolsAlertItem.setObjectName(u'toolsAlertItem')
|
self.toolsAlertItem.setObjectName(u'toolsAlertItem')
|
||||||
self.toolsAlertItem.setText(
|
self.toolsAlertItem.setText(
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from openlp.core.lib import Plugin, translate
|
from openlp.core.lib import Plugin, translate, build_icon
|
||||||
from openlp.plugins.remotes.lib import RemoteTab, HttpServer
|
from openlp.plugins.remotes.lib import RemoteTab, HttpServer
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
@ -38,6 +38,7 @@ class RemotesPlugin(Plugin):
|
|||||||
remotes constructor
|
remotes constructor
|
||||||
"""
|
"""
|
||||||
Plugin.__init__(self, u'Remotes', u'1.9.2', plugin_helpers)
|
Plugin.__init__(self, u'Remotes', u'1.9.2', plugin_helpers)
|
||||||
|
self.icon = build_icon(u':/plugins/plugin_remote.png')
|
||||||
self.weight = -1
|
self.weight = -1
|
||||||
self.server = None
|
self.server = None
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ class SongUsagePlugin(Plugin):
|
|||||||
def __init__(self, plugin_helpers):
|
def __init__(self, plugin_helpers):
|
||||||
Plugin.__init__(self, u'SongUsage', u'1.9.2', plugin_helpers)
|
Plugin.__init__(self, u'SongUsage', u'1.9.2', plugin_helpers)
|
||||||
self.weight = -4
|
self.weight = -4
|
||||||
self.icon = build_icon(u':/media/media_image.png')
|
self.icon = build_icon(u':/plugins/plugin_songusage.png')
|
||||||
self.songusagemanager = None
|
self.songusagemanager = None
|
||||||
self.songusageActive = False
|
self.songusageActive = False
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ class SongUsagePlugin(Plugin):
|
|||||||
translate('SongUsagePlugin', 'Generate report on Song Usage'))
|
translate('SongUsagePlugin', 'Generate report on Song Usage'))
|
||||||
self.SongUsageReport.setObjectName(u'SongUsageReport')
|
self.SongUsageReport.setObjectName(u'SongUsageReport')
|
||||||
#SongUsage activation
|
#SongUsage activation
|
||||||
SongUsageIcon = build_icon(u':/tools/tools_alert.png')
|
SongUsageIcon = build_icon(u':/plugins/plugin_songusage.png')
|
||||||
self.SongUsageStatus = QtGui.QAction(tools_menu)
|
self.SongUsageStatus = QtGui.QAction(tools_menu)
|
||||||
self.SongUsageStatus.setIcon(SongUsageIcon)
|
self.SongUsageStatus.setIcon(SongUsageIcon)
|
||||||
self.SongUsageStatus.setCheckable(True)
|
self.SongUsageStatus.setCheckable(True)
|
||||||
|
@ -17,6 +17,11 @@
|
|||||||
<file>song_topic_edit.png</file>
|
<file>song_topic_edit.png</file>
|
||||||
<file>song_book_edit.png</file>
|
<file>song_book_edit.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
<qresource prefix="plugins">
|
||||||
|
<file>plugin_alerts.png</file>
|
||||||
|
<file>plugin_remote.png</file>
|
||||||
|
<file>plugin_songusage.png</file>
|
||||||
|
</qresource>
|
||||||
<qresource prefix="general">
|
<qresource prefix="general">
|
||||||
<file>general_preview.png</file>
|
<file>general_preview.png</file>
|
||||||
<file>general_live.png</file>
|
<file>general_live.png</file>
|
||||||
|
BIN
resources/images/plugin_alerts.png
Normal file
BIN
resources/images/plugin_alerts.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 762 B |
BIN
resources/images/plugin_remote.png
Normal file
BIN
resources/images/plugin_remote.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 830 B |
BIN
resources/images/plugin_songusage.png
Normal file
BIN
resources/images/plugin_songusage.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 946 B |
Binary file not shown.
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 516 B |
0
scripts/generate_resources.sh
Normal file → Executable file
0
scripts/generate_resources.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user