]> sigrok.org Git - pulseview.git/commitdiff
Add a tooltip for the "Show/hide decoder trace" icon.
authorUwe Hermann <redacted>
Thu, 30 Mar 2017 17:26:41 +0000 (19:26 +0200)
committerUwe Hermann <redacted>
Thu, 30 Mar 2017 18:03:21 +0000 (20:03 +0200)
pv/widgets/decodergroupbox.cpp

index 25e91533b5443b71e3dc8fdf77611208e8483600..55718004e16acea84b9b1b29b425e4071ff4cebc 100644 (file)
@@ -45,6 +45,7 @@ DecoderGroupBox::DecoderGroupBox(QString title, QString tooltip, QWidget *parent
        QHBoxLayout *const toolbar = new QHBoxLayout;
        layout_->addLayout(toolbar, 0, 1);
 
+       show_hide_button_.setToolTip(tr("Show/hide this decoder trace"));
        show_hide_button_.setFlat(true);
        show_hide_button_.setIconSize(QSize(16, 16));
        connect(&show_hide_button_, SIGNAL(clicked()),