projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set PopupToolButton::_popup to NULL at construction
[pulseview.git]
/
pv
/
widgets
/
sweeptimingwidget.h
diff --git
a/pv/widgets/sweeptimingwidget.h
b/pv/widgets/sweeptimingwidget.h
index c4bfe37850ce29b0abf5115d74c6fdfb63846e7d..b66188fa31be5af876a5bdc114f5eaf8045205e3 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,9
+48,9
@@
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);
@@
-60,9
+59,10
@@
signals:
void value_changed();
private:
void value_changed();
private:
+ const char *const _suffix;
+
QHBoxLayout _layout;
QHBoxLayout _layout;
- QLineEdit _read_only_value;
QDoubleSpinBox _value;
QComboBox _list;
QDoubleSpinBox _value;
QComboBox _list;