More icons

This commit is contained in:
Tim Bentley 2018-06-02 07:37:31 +01:00
parent 6f9d662064
commit be1d7c687b
9 changed files with 9 additions and 10 deletions

View File

@ -70,6 +70,7 @@ class UiIcons(object):
'back': {'icon': 'fa.step-backward'}, 'back': {'icon': 'fa.step-backward'},
'bible': {'icon': 'fa.book'}, 'bible': {'icon': 'fa.book'},
'blank': {'icon': 'fa.times-circle'}, 'blank': {'icon': 'fa.times-circle'},
'blank_theme': {'icon': 'fa.file-image-o'},
'book': {'icon': 'fa.book'}, 'book': {'icon': 'fa.book'},
'bottom': {'icon': 'fa.angle-double-down'}, 'bottom': {'icon': 'fa.angle-double-down'},
'clock': {'icon': 'fa.clock-o'}, 'clock': {'icon': 'fa.clock-o'},
@ -102,6 +103,7 @@ class UiIcons(object):
'optical': {'icon': 'fa.file-video-o'}, 'optical': {'icon': 'fa.file-video-o'},
'pause': {'icon': 'fa.pause'}, 'pause': {'icon': 'fa.pause'},
'play': {'icon': 'fa.play'}, 'play': {'icon': 'fa.play'},
'plugin_list': {'icon': 'fa.puzzle-piece'},
'plus': {'icon': 'fa.plus'}, 'plus': {'icon': 'fa.plus'},
'presentation': {'icon': 'fa.bar-chart'}, 'presentation': {'icon': 'fa.bar-chart'},
'preview': {'icon': 'fa.laptop'}, 'preview': {'icon': 'fa.laptop'},
@ -123,7 +125,7 @@ class UiIcons(object):
'square': {'icon': 'fa.square'}, 'square': {'icon': 'fa.square'},
'text': {'icon': 'op.file-text'}, 'text': {'icon': 'op.file-text'},
'time': {'icon': 'fa.history'}, 'time': {'icon': 'fa.history'},
'theme': {'icon': 'fa.file-image-o'}, 'theme': {'icon': 'fa.paint-brush'},
'top': {'icon': 'fa.angle-double-up'}, 'top': {'icon': 'fa.angle-double-up'},
'undo': {'icon': 'fa.undo'}, 'undo': {'icon': 'fa.undo'},
'upload': {'icon': 'fa.cloud-upload'}, 'upload': {'icon': 'fa.cloud-upload'},

View File

@ -252,7 +252,7 @@ class Ui_MainWindow(object):
action_list.add_category(UiStrings().Settings, CategoryOrder.standard_menu) action_list.add_category(UiStrings().Settings, CategoryOrder.standard_menu)
self.settings_plugin_list_item = create_action(main_window, self.settings_plugin_list_item = create_action(main_window,
'settingsPluginListItem', 'settingsPluginListItem',
icon=':/system/settings_plugin_list.png', icon=UiIcons().plugin_list,
can_shortcuts=True, can_shortcuts=True,
category=UiStrings().Settings, category=UiStrings().Settings,
triggers=self.on_plugin_item_clicked) triggers=self.on_plugin_item_clicked)

View File

@ -252,7 +252,7 @@ class SlideController(DisplayController, LogMixin, RegistryProperties):
triggers=self.on_hide_display) triggers=self.on_hide_display)
self.theme_screen = create_action(self, 'themeScreen', self.theme_screen = create_action(self, 'themeScreen',
text=translate('OpenLP.SlideController', 'Toggle Blank to Theme'), text=translate('OpenLP.SlideController', 'Toggle Blank to Theme'),
icon=UiIcons().theme, icon=UiIcons().blank_theme,
checked=False, can_shortcuts=True, category=self.category, checked=False, can_shortcuts=True, category=self.category,
triggers=self.on_theme_display) triggers=self.on_theme_display)
self.blank_screen = create_action(self, 'blankScreen', self.blank_screen = create_action(self, 'blankScreen',

View File

@ -190,8 +190,7 @@ class ImageMediaItem(MediaManagerItem):
icon=UiIcons().open, triggers=self.on_file_click) icon=UiIcons().open, triggers=self.on_file_click)
create_widget_action(self.list_view, separator=True) create_widget_action(self.list_view, separator=True)
self.replace_action_context = create_widget_action( self.replace_action_context = create_widget_action(
self.list_view, text=UiStrings().ReplaceBG, icon=':/slides/slide_theme.png', self.list_view, text=UiStrings().ReplaceBG, icon=UiIcons().theme, triggers=self.on_replace_click)
triggers=self.on_replace_click)
self.reset_action_context = create_widget_action( self.reset_action_context = create_widget_action(
self.list_view, text=UiStrings().ReplaceLiveBG, icon=UiIcons().close, self.list_view, text=UiStrings().ReplaceLiveBG, icon=UiIcons().close,
visible=False, triggers=self.on_reset_click) visible=False, triggers=self.on_reset_click)
@ -209,7 +208,7 @@ class ImageMediaItem(MediaManagerItem):
Add custom buttons to the end of the toolbar Add custom buttons to the end of the toolbar
""" """
self.replace_action = self.toolbar.add_toolbar_action('replace_action', self.replace_action = self.toolbar.add_toolbar_action('replace_action',
icon=':/slides/slide_theme.png', icon=UiIcons().theme,
triggers=self.on_replace_click) triggers=self.on_replace_click)
self.reset_action = self.toolbar.add_toolbar_action('reset_action', self.reset_action = self.toolbar.add_toolbar_action('reset_action',
icon=UiIcons().close, icon=UiIcons().close,

View File

@ -147,7 +147,7 @@ class MediaMediaItem(MediaManagerItem, RegistryProperties):
Adds buttons to the end of the header bar. Adds buttons to the end of the header bar.
""" """
# Replace backgrounds do not work at present so remove functionality. # Replace backgrounds do not work at present so remove functionality.
self.replace_action = self.toolbar.add_toolbar_action('replace_action', icon=':/slides/slide_theme.png', self.replace_action = self.toolbar.add_toolbar_action('replace_action', icon=UiIcons().theme,
triggers=self.on_replace_click) triggers=self.on_replace_click)
if 'webkit' not in get_media_players()[0]: if 'webkit' not in get_media_players()[0]:
self.replace_action.setDisabled(True) self.replace_action.setDisabled(True)

View File

@ -171,7 +171,7 @@ class SongsPlugin(Plugin):
self.tools_reindex_item = create_action( self.tools_reindex_item = create_action(
tools_menu, 'toolsReindexItem', tools_menu, 'toolsReindexItem',
text=translate('SongsPlugin', '&Re-index Songs'), text=translate('SongsPlugin', '&Re-index Songs'),
icon=':/plugins/plugin_songs.png', icon=UiIcons().music,
statustip=translate('SongsPlugin', 'Re-index the songs database to improve searching and ordering.'), statustip=translate('SongsPlugin', 'Re-index the songs database to improve searching and ordering.'),
triggers=self.on_tools_reindex_item_triggered) triggers=self.on_tools_reindex_item_triggered)
self.tools_find_duplicates = create_action( self.tools_find_duplicates = create_action(

View File

@ -11,7 +11,6 @@
<qresource prefix="bibles"> <qresource prefix="bibles">
</qresource> </qresource>
<qresource prefix="plugins"> <qresource prefix="plugins">
<file>plugin_songs.png</file>
</qresource> </qresource>
<qresource prefix="general"> <qresource prefix="general">
</qresource> </qresource>
@ -44,7 +43,6 @@
<file>system_volunteer.png</file> <file>system_volunteer.png</file>
<file>system_servicemanager.png</file> <file>system_servicemanager.png</file>
<file>system_thememanager.png</file> <file>system_thememanager.png</file>
<file>settings_plugin_list.png</file>
<file>system_edit_copy.png</file> <file>system_edit_copy.png</file>
</qresource> </qresource>
<qresource prefix="media"> <qresource prefix="media">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 800 B