forked from openlp/openlp
Changed plugin search clear ICON
This commit is contained in:
parent
4408797e52
commit
5677cf6a40
@ -62,6 +62,7 @@ class UiIcons(metaclass=Singleton):
|
|||||||
'authentication': {'icon': 'fa.exclamation-triangle', 'attr': 'red'},
|
'authentication': {'icon': 'fa.exclamation-triangle', 'attr': 'red'},
|
||||||
'address': {'icon': 'fa.book'},
|
'address': {'icon': 'fa.book'},
|
||||||
'back': {'icon': 'fa.step-backward'},
|
'back': {'icon': 'fa.step-backward'},
|
||||||
|
'backspace': {'icon': 'mdi.backspace-outline'},
|
||||||
'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'},
|
'blank_theme': {'icon': 'fa.file-image-o'},
|
||||||
|
@ -64,7 +64,7 @@ class SearchEdit(QtWidgets.QLineEdit):
|
|||||||
self.settings_section = settings_section
|
self.settings_section = settings_section
|
||||||
self._current_search_type = -1
|
self._current_search_type = -1
|
||||||
self.clear_button = QtWidgets.QToolButton(self)
|
self.clear_button = QtWidgets.QToolButton(self)
|
||||||
self.clear_button.setIcon(UiIcons().shortcuts)
|
self.clear_button.setIcon(UiIcons().backspace)
|
||||||
self.clear_button.setCursor(QtCore.Qt.ArrowCursor)
|
self.clear_button.setCursor(QtCore.Qt.ArrowCursor)
|
||||||
self.clear_button.setStyleSheet('QToolButton { border: none; padding: 0px; }')
|
self.clear_button.setStyleSheet('QToolButton { border: none; padding: 0px; }')
|
||||||
self.clear_button.resize(18, 18)
|
self.clear_button.resize(18, 18)
|
||||||
|
Loading…
Reference in New Issue
Block a user