X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fbool.hpp;h=fd5744fe3830f0d56779b981afca4e85aae2e4ab;hp=6d32da7ef1f05286f534123c498a81f975ae2d8f;hb=b571a8e7e0dc3e3b6daa58f27050e76466f006dd;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f diff --git a/pv/prop/bool.hpp b/pv/prop/bool.hpp index 6d32da7e..fd5744fe 100644 --- a/pv/prop/bool.hpp +++ b/pv/prop/bool.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_PROP_BOOL_HPP @@ -33,12 +32,13 @@ class Bool : public Property Q_OBJECT; public: - Bool(QString name, Getter getter, Setter setter); + Bool(QString name, QString desc, Getter getter, Setter setter); - virtual ~Bool(); + virtual ~Bool() = default; QWidget* get_widget(QWidget *parent, bool auto_commit); bool labeled_widget() const; + void update_widget(); void commit(); @@ -49,7 +49,7 @@ private: QCheckBox *check_box_; }; -} // prop -} // pv +} // namespace prop +} // namespace pv #endif // PULSEVIEW_PV_PROP_BOOL_HPP