mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
qt: "Help" and "?" buttons can show rich text
namely "Revealer" plugin uses rich text in its description
This commit is contained in:
parent
e1c1a9d6a2
commit
aec53ae6af
1 changed files with 4 additions and 2 deletions
|
@ -133,7 +133,8 @@ class HelpButton(QPushButton):
|
||||||
custom_message_box(icon=QMessageBox.Information,
|
custom_message_box(icon=QMessageBox.Information,
|
||||||
parent=self,
|
parent=self,
|
||||||
title=_('Help'),
|
title=_('Help'),
|
||||||
text=self.help_text)
|
text=self.help_text,
|
||||||
|
rich_text=True)
|
||||||
|
|
||||||
|
|
||||||
class InfoButton(QPushButton):
|
class InfoButton(QPushButton):
|
||||||
|
@ -148,7 +149,8 @@ class InfoButton(QPushButton):
|
||||||
custom_message_box(icon=QMessageBox.Information,
|
custom_message_box(icon=QMessageBox.Information,
|
||||||
parent=self,
|
parent=self,
|
||||||
title=_('Info'),
|
title=_('Info'),
|
||||||
text=self.help_text)
|
text=self.help_text,
|
||||||
|
rich_text=True)
|
||||||
|
|
||||||
|
|
||||||
class Buttons(QHBoxLayout):
|
class Buttons(QHBoxLayout):
|
||||||
|
|
Loading…
Add table
Reference in a new issue