forked from openlp/openlp
more bits
This commit is contained in:
parent
154ca14120
commit
ecb1ee7d3e
@ -577,6 +577,7 @@ class UiIcons(object):
|
|||||||
These are the font icons used in the code.
|
These are the font icons used in the code.
|
||||||
"""
|
"""
|
||||||
self.clone = qta.icon('fa.clone')
|
self.clone = qta.icon('fa.clone')
|
||||||
|
self.copy = qta.icon('fa.copy')
|
||||||
self.database = qta.icon('fa.database')
|
self.database = qta.icon('fa.database')
|
||||||
self.delete = qta.icon('fa.trash')
|
self.delete = qta.icon('fa.trash')
|
||||||
self.edit = qta.icon('fa.edit')
|
self.edit = qta.icon('fa.edit')
|
||||||
|
@ -27,7 +27,7 @@ for the Custom Slides plugin.
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from openlp.core.api.http import register_endpoint
|
from openlp.core.api.http import register_endpoint
|
||||||
from openlp.core.common.i18n import translate
|
from openlp.core.common.i18n import UiIcons, translate
|
||||||
from openlp.core.lib import Plugin, StringContent, build_icon
|
from openlp.core.lib import Plugin, StringContent, build_icon
|
||||||
from openlp.core.lib.db import Manager
|
from openlp.core.lib.db import Manager
|
||||||
from openlp.plugins.custom.endpoint import api_custom_endpoint, custom_endpoint
|
from openlp.plugins.custom.endpoint import api_custom_endpoint, custom_endpoint
|
||||||
@ -62,7 +62,7 @@ class CustomPlugin(Plugin):
|
|||||||
super(CustomPlugin, self).__init__('custom', __default_settings__, CustomMediaItem, CustomTab)
|
super(CustomPlugin, self).__init__('custom', __default_settings__, CustomMediaItem, CustomTab)
|
||||||
self.weight = -5
|
self.weight = -5
|
||||||
self.db_manager = Manager('custom', init_schema)
|
self.db_manager = Manager('custom', init_schema)
|
||||||
self.icon_path = ':/plugins/plugin_custom.png'
|
self.icon_path = UiIcons().clone
|
||||||
self.icon = build_icon(self.icon_path)
|
self.icon = build_icon(self.icon_path)
|
||||||
register_endpoint(custom_endpoint)
|
register_endpoint(custom_endpoint)
|
||||||
register_endpoint(api_custom_endpoint)
|
register_endpoint(api_custom_endpoint)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 531 B |
Binary file not shown.
Before Width: | Height: | Size: 563 B |
@ -12,7 +12,6 @@
|
|||||||
<file>author_add.png</file>
|
<file>author_add.png</file>
|
||||||
<file>author_delete.png</file>
|
<file>author_delete.png</file>
|
||||||
<file>book_add.png</file>
|
<file>book_add.png</file>
|
||||||
<file>song_maintenance.png</file>
|
|
||||||
<file>topic_add.png</file>
|
<file>topic_add.png</file>
|
||||||
<file>book_delete.png</file>
|
<file>book_delete.png</file>
|
||||||
<file>book_edit.png</file>
|
<file>book_edit.png</file>
|
||||||
@ -61,7 +60,6 @@
|
|||||||
<file>general_zoom_original.png</file>
|
<file>general_zoom_original.png</file>
|
||||||
<file>general_print.png</file>
|
<file>general_print.png</file>
|
||||||
<file>general_open.png</file>
|
<file>general_open.png</file>
|
||||||
<file>general_save.png</file>
|
|
||||||
<file>general_email.png</file>
|
<file>general_email.png</file>
|
||||||
<file>general_revert.png</file>
|
<file>general_revert.png</file>
|
||||||
<file>general_clone.png</file>
|
<file>general_clone.png</file>
|
||||||
@ -90,8 +88,7 @@
|
|||||||
<qresource prefix="imports">
|
<qresource prefix="imports">
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="exports">
|
<qresource prefix="exports">
|
||||||
<file>export_load.png</file>
|
</qresource>
|
||||||
</qresource>
|
|
||||||
<qresource prefix="wizards">
|
<qresource prefix="wizards">
|
||||||
<file>openlp-osx-wizard.png</file>
|
<file>openlp-osx-wizard.png</file>
|
||||||
<file>wizard_song.bmp</file>
|
<file>wizard_song.bmp</file>
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 516 B |
Loading…
Reference in New Issue
Block a user