X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fwidgets%2Fdecodergroupbox.hpp;h=a622d0b2e1e80874e8a15c6f54791f272dad392f;hb=56853c982046f78abe433f4f096f9305f8bcf806;hp=09c83f27e81ce85b4f37ccf964b57c1ed158a7c8;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f;p=pulseview.git diff --git a/pv/widgets/decodergroupbox.hpp b/pv/widgets/decodergroupbox.hpp index 09c83f27..a622d0b2 100644 --- a/pv/widgets/decodergroupbox.hpp +++ b/pv/widgets/decodergroupbox.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_WIDGETS_DECODERGROUPBOX_HPP @@ -34,7 +33,8 @@ class DecoderGroupBox : public QWidget Q_OBJECT public: - DecoderGroupBox(QString title, QWidget *parent = NULL); + DecoderGroupBox(QString title, QWidget *parent = nullptr, + bool isDeletable = true); void add_layout(QLayout *layout); @@ -50,7 +50,7 @@ private: QPushButton show_hide_button_; }; -} // widgets -} // pv +} // namespace widgets +} // namespace pv #endif // PULSEVIEW_PV_WIDGETS_DECODERGROUPBOX_HPP