summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
AgeCommit message (Collapse)Author
2016-12-08options: get element with call operatorStanislaw Halik
thread_local is expensive.
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/value: allow for inspecting default valueStanislaw Halik
2016-09-16options/value: allow for deref operatorStanislaw Halik
C++ expects pointer so let it have it.
2016-09-08options/value: move from headerStanislaw Halik
2016-08-25options/value: remove outdated commentStanislaw Halik
2016-08-25options/value: always use Qt::AutoConnectionStanislaw Halik
QSlider and value<t> messed up the value in a feedback loop. Incidentally, for our use cases QSlider and value<t> are on the same thread and they'll connect directly. Issue: #427 Reported-by: @DaMichel
2016-08-25options: use non-generic comparison for bundle modification checkStanislaw Halik
The generic QVariant comparison works badly for QList<QPointF>. Create a comparator between two QVariants for base_value in value<tp> ctor, using QVariant::value<tp> which returns right results once it's converted to tp. If a value was registered for a name in a bundle, use that comparator as the comparator for that name. In case conflicting value types were registered always use generic comparison for that name. std::type_index needs to be used here since value<t> can be instantiated in different modules (libraries), resulting in different value for the comparator function pointer. Move group::operator== to bundle type to avoid circular include for connector.h. Also use element_type more consistently in value<tp>.
2016-08-20options/connector: spew more warningsStanislaw Halik
2016-08-20options/{connector,base_value}: add missing dtor call. rename callees.Stanislaw Halik
2016-08-18options: factor out connector out of bundleStanislaw 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