summaryrefslogtreecommitdiffhomepage
path: root/options/base-value.hpp
AgeCommit message (Collapse)Author
2019-02-09options/base-value: remove stale commentStanislaw Halik
2019-01-16cruft onlyStanislaw Halik
2019-01-16modernize onlyStanislaw Halik
- replace `static constexpr inline' with `static constexpr'. `inline' is implied. - use braced initializer lists where applicable - still missing `override' usages
2019-01-16cruftStanislaw Halik
2019-01-16options/{value,connector}: workaround friend declarationStanislaw Halik
2018-10-25options/value-traits: fix bool storageStanislaw Halik
Using int as `stored_type' for bool made Qt signals not work. Evident when ticking the "asymmetric mapping" checkboxes in the mapping window. Remove some std::decay_t usage, there's no need for either decay or remove_cvref. In `value<t>::get()', `bundle::get_variant' of an undefined key will fall back to `return def' so remove the duplicate logic.
2018-10-05options: don't use typeindex w/ lambdasStanislaw Halik
Rename traits' functions to be more explicit. Most of the changes are pretty old and I can't read them at this time, sorry. Adjust usages. Issue: #825 Reported-by: @DanielKinsman
2018-07-08options: fix 2 issuesStanislaw Halik
1. Calling valueChanged didn't invoke machinery in value<t>, only base_value aka value_. There's a fast path in value<t>::type() despite the pessimization. 2. Split global scope stuff into options::globals from the options::globals stuff 3. Adjust usages
2018-06-26options/base-value: rename to `value_'Stanislaw Halik
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-10options: rename templateStanislaw Halik
2017-12-04api: add status check for modulesStanislaw Halik
2017-10-20logic, spline: more spline work/fixesStanislaw Halik
- mapping window clamps are now value<max_clamp> in spline - clamp won't mess up saved spline content - clean up artifacts on spline widget
2017-10-13tracker/pt, options: fix threshold sliderStanislaw Halik
It's only the tie_setting(slider_value, QSlider) that has race-free slider updates. Needed to update the threshold slider representation. Remove the tie_setting(int, QSlider) overload since it doesn't have the logic. Add a migration. Add base_value::notify() for use-cases like the checkbox updating the label.
2017-10-13options/tie: change "tie" overloadsStanislaw Halik
Adjust usages. There are ODR issues with MSVC and it doesn't support C++17 "static inline constexpr" _variables_. Otherwise, "signal_fun" could be a variable and not a function. The usages in accela/ewma2 dialog are more verbose now but the original API was silly.
2017-07-31options/metatype: pass exact same name for slidersStanislaw Halik
That made sliders from 2.3.7 still incompatible. Apparently QVariant cares a lot about the difference between "options::slider_value", "::options::slider_value", and "slider_value".
2017-07-26options: organize metatype declarationsStanislaw Halik
2017-05-12options: split up value.hpp headerStanislaw Halik
Also combine the traits classes and make them more useful.