projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make member variable underscores a suffix instead of a prefix
[pulseview.git]
/
pv
/
widgets
/
sweeptimingwidget.h
diff --git
a/pv/widgets/sweeptimingwidget.h
b/pv/widgets/sweeptimingwidget.h
index c4bfe37850ce29b0abf5115d74c6fdfb63846e7d..5510865eb632f28680883c92f56e5f72682a1378 100644
(file)
--- a/
pv/widgets/sweeptimingwidget.h
+++ b/
pv/widgets/sweeptimingwidget.h
@@
-40,7
+40,6
@@
private:
enum ValueType
{
None,
enum ValueType
{
None,
- ReadOnly,
MinMaxStep,
List
};
MinMaxStep,
List
};
@@
-49,24
+48,25
@@
public:
SweepTimingWidget(const char *suffix, QWidget *parent = NULL);
void show_none();
SweepTimingWidget(const char *suffix, QWidget *parent = NULL);
void show_none();
- void show_read_only();
void show_min_max_step(uint64_t min, uint64_t max, uint64_t step);
void show_list(const uint64_t *vals, size_t count);
void show_min_max_step(uint64_t min, uint64_t max, uint64_t step);
void show_list(const uint64_t *vals, size_t count);
+ void show_125_list(uint64_t min, uint64_t max);
uint64_t value() const;
void set_value(uint64_t value);
uint64_t value() const;
void set_value(uint64_t value);
-
signals
:
+
Q_SIGNALS
:
void value_changed();
private:
void value_changed();
private:
-
QHBoxLayout _layout
;
+
const char *const suffix_
;
- QLineEdit _read_only_value;
- QDoubleSpinBox _value;
- QComboBox _list;
+ QHBoxLayout layout_;
- ValueType _value_type;
+ QDoubleSpinBox value_;
+ QComboBox list_;
+
+ ValueType value_type_;
};
} // widgets
};
} // widgets