forked from openlp/openlp
Merge branch 'search_icon' into 'master'
Changed plugin search clear ICON Closes #315 and #267 See merge request openlp/openlp!58
This commit is contained in:
commit
eda847a8db
@ -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