Changed tooltip from HTML to plaintext
This commit is contained in:
parent
41ab083ccc
commit
64dc781f1d
|
@ -1516,16 +1516,14 @@ class CadenceMainW(QMainWindow, ui_cadence.Ui_CadenceMainW):
|
|||
self.label_app_comment.setText(comment)
|
||||
|
||||
def updateSystrayTooltip(self):
|
||||
systrayText = "Cadence<br/>"
|
||||
systrayText += "<font size=\"-1\">"
|
||||
systrayText += "<b>%s:</b> %s<br/>" % (self.tr("JACK Status"), self.label_jack_status.text())
|
||||
systrayText += "<b>%s:</b> %s<br/>" % (self.tr("Realtime"), self.label_jack_realtime.text())
|
||||
systrayText += "<b>%s:</b> %s<br/>" % (self.tr("DSP Load"), self.label_jack_dsp.text())
|
||||
systrayText += "<b>%s:</b> %s<br/>" % (self.tr("Xruns"), self.label_jack_xruns.text())
|
||||
systrayText += "<b>%s:</b> %s<br/>" % (self.tr("Buffer Size"), self.label_jack_bfsize.text())
|
||||
systrayText += "<b>%s:</b> %s<br/>" % (self.tr("Sample Rate"), self.label_jack_srate.text())
|
||||
systrayText += "<b>%s:</b> %s" % (self.tr("Block Latency"), self.label_jack_latency.text())
|
||||
systrayText += "</font><font size=\"-2\"><br/></font>"
|
||||
systrayText = "Cadence\n"
|
||||
systrayText += "%s: %s\n" % (self.tr("JACK Status"), self.label_jack_status.text())
|
||||
systrayText += "%s: %s\n" % (self.tr("Realtime"), self.label_jack_realtime.text())
|
||||
systrayText += "%s: %s\n" % (self.tr("DSP Load"), self.label_jack_dsp.text())
|
||||
systrayText += "%s: %s\n" % (self.tr("Xruns"), self.label_jack_xruns.text())
|
||||
systrayText += "%s: %s\n" % (self.tr("Buffer Size"), self.label_jack_bfsize.text())
|
||||
systrayText += "%s: %s\n" % (self.tr("Sample Rate"), self.label_jack_srate.text())
|
||||
systrayText += "%s: %s" % (self.tr("Block Latency"), self.label_jack_latency.text())
|
||||
|
||||
self.systray.setToolTip(systrayText)
|
||||
|
||||
|
|
Loading…
Reference in New Issue