projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply option changes immediately, not on decode stack rebuild
[pulseview.git]
/
pv
/
prop
/
int.cpp
diff --git
a/pv/prop/int.cpp
b/pv/prop/int.cpp
index ce77b9592d3f66778ab6247b88b20cca32b9ca74..2930a3ea1e8c96b5d0091e6c2b640050ecb5d09f 100644
(file)
--- a/
pv/prop/int.cpp
+++ b/
pv/prop/int.cpp
@@
-17,8
+17,8
@@
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <cstdint>
#include <cassert>
#include <cassert>
+#include <cstdint>
#include <QSpinBox>
#include <QSpinBox>
@@
-33,11
+33,12
@@
namespace pv {
namespace prop {
Int::Int(QString name,
namespace prop {
Int::Int(QString name,
+ QString desc,
QString suffix,
optional< pair<int64_t, int64_t> > range,
Getter getter,
Setter setter) :
QString suffix,
optional< pair<int64_t, int64_t> > range,
Getter getter,
Setter setter) :
- Property(name, getter, setter),
+ Property(name,
desc,
getter, setter),
suffix_(suffix),
range_(range),
spin_box_(nullptr)
suffix_(suffix),
range_(range),
spin_box_(nullptr)
@@
-93,7
+94,7
@@
QWidget* Int::get_widget(QWidget *parent, bool auto_commit)
assert(false);
}
assert(false);
}
- // @todo
S
igrok supports 64-bit quantities, but Qt does not have a
+ // @todo
s
igrok supports 64-bit quantities, but Qt does not have a
// standard widget to allow the values to be modified over the full
// 64-bit range on 32-bit machines. To solve the issue we need a
// custom widget.
// standard widget to allow the values to be modified over the full
// 64-bit range on 32-bit machines. To solve the issue we need a
// custom widget.
@@
-157,5
+158,5
@@
void Int::on_value_changed(int)
commit();
}
commit();
}
-}
//
prop
-}
//
pv
+}
// namespace
prop
+}
// namespace
pv