projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement LogicSegment::get_surrounding_edges() and use it
[pulseview.git]
/
pv
/
prop
/
bool.hpp
diff --git
a/pv/prop/bool.hpp
b/pv/prop/bool.hpp
index 965efc19eec32f06acd05773a8293b4ad54761e5..fd5744fe3830f0d56779b981afca4e85aae2e4ab 100644
(file)
--- a/
pv/prop/bool.hpp
+++ b/
pv/prop/bool.hpp
@@
-14,12
+14,11
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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 <http://www.gnu.org/licenses/>.
*/
*/
-#ifndef PULSEVIEW_PV_PROP_BOOL_H
-#define PULSEVIEW_PV_PROP_BOOL_H
+#ifndef PULSEVIEW_PV_PROP_BOOL_H
PP
+#define PULSEVIEW_PV_PROP_BOOL_H
PP
#include "property.hpp"
#include "property.hpp"
@@
-33,12
+32,13
@@
class Bool : public Property
Q_OBJECT;
public:
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;
QWidget* get_widget(QWidget *parent, bool auto_commit);
bool labeled_widget() const;
+ void update_widget();
void commit();
void commit();
@@
-49,7
+49,7
@@
private:
QCheckBox *check_box_;
};
QCheckBox *check_box_;
};
-}
//
prop
-}
//
pv
+}
// namespace
prop
+}
// namespace
pv
-#endif // PULSEVIEW_PV_PROP_BOOL_H
+#endif // PULSEVIEW_PV_PROP_BOOL_H
PP