summaryrefslogtreecommitdiffhomepage
path: root/options/tie.hpp
AgeCommit message (Collapse)Author
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-12-10options: rename templateStanislaw Halik
2017-10-20options/tie: prevent feedback loop with enumsStanislaw 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-08-14use c++14 featuresStanislaw Halik
2017-07-28options/tie: kill warningsStanislaw Halik
2017-07-20options/tie: add overload with no format stringStanislaw Halik
2017-05-14options/tie: appease llvmStanislaw Halik
for some reason can't put a parameter pack after an optional argument. go figure.
2017-05-10options/tie: allow for custom-formatting the ini valueStanislaw 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-24options/tie: remove template. move from header.Stanislaw Halik
2016-12-24options/tie: clarify threading logicStanislaw Halik
Forcefully run in the widget's thread in both signal cases. If the connection is made and the widget's moved to another thread after, we'll observe the "epileptic slider" issue again. Clarify by explicitly using Qt::DirectConnection.
2016-12-24options/tie: fix wrong signal listened toStanislaw Halik
Fixes sliders remaining at same position when changing profile and thus, their values.
2016-12-08options: get element with call operatorStanislaw Halik
thread_local is expensive.
2016-11-29options/tie: simplify slider usage with run_in_thread_sync()Stanislaw Halik
2016-11-29options/tie: fix for enumStanislaw Halik
Fundamentally this was caused by incorrect lambda capture spec for the qobject ptr. We need to capture the pointer by value. Reported-by: @huliqan on IL-2 Sturmovik Russian forum. Fixes: hatire serial port params
2016-10-19options/tie: output slider_value after truncation errorStanislaw Halik
2016-09-18add missing copyright termsStanislaw Halik
Due to fucking AT&T vs BSD suit copyright defaults to all rights reserved. Fuck Berne Convention as well.
2016-09-17options/tie: don't reinvent slider stuffStanislaw Halik
2016-09-17options/tie: simplify enum comboboxStanislaw Halik
2016-09-16options/tie: use existing slider functionalityStanislaw Halik
2016-08-18options: add base_value signal constStanislaw Halik
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype