summaryrefslogtreecommitdiffhomepage
path: root/options/tie.cpp
AgeCommit message (Collapse)Author
2023-03-01options/tie: fix combobox with single element on reloadStanislaw Halik
This was breaking the camera list with only one camera present.
2022-10-10Revert "options/value: add `QObject::connect` wrapper"Stanislaw Halik
This reverts commit a67e8630caf20e7f48151024e9e68dd9271d75c7.
2022-07-01whitespace onlyStanislaw Halik
2022-07-01options/value: add `QObject::connect` wrapperStanislaw Halik
This is useful not just to save on complexity in call sites, but also because I plan on using the Verdigris library to remove needless `valueChanged()` and `setValue()` overloads from each `value<t>` instance. Also fix a bug in `options/tie.hpp` where `QComboBox::setCurrentIndex` was erroneously called as `Qt::DirectConnection`.
2021-10-19Revert "options/tie: fix deadlocks"Stanislaw Halik
This reverts commit 2ef545b487209fb03bc2506b8e9bfa345d0f392b.
2021-10-19options/tie: fix deadlocksStanislaw Halik
2019-05-04options: remove stale commentStanislaw Halik
2019-04-28Easy Tracker: UI rework for custom model with three, four or five vertices.Stéphane Lenclud
More settings can be changed live without have to restart the tracker. Fixing a few deadlock issues.
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-10-05use attributes only at declaration, not definitionStanislaw Halik
2018-06-26options/base-value: rename to `value_'Stanislaw Halik
2018-06-26core, modules: modernize syntax onlyStanislaw Halik
Use more C++17 features where this helps any.
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-10options: rename templateStanislaw Halik
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-05-24options/tie: add todoStanislaw Halik
2017-04-29options/tie: allow for binding with a format stringStanislaw Halik
2017-04-06options: allow tie combobox to qvariantStanislaw Halik
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2016-12-28options/tie: fix typoStanislaw Halik
2016-12-24options/tie: remove template. move from header.Stanislaw Halik