Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-12 | options: split up value.hpp header | Stanislaw Halik | |
Also combine the traits classes and make them more useful. | |||
2017-04-06 | options/value: sprinkle konst | Stanislaw Halik | |
2017-04-06 | options: allow tie combobox to qvariant | Stanislaw Halik | |
2017-03-28 | compat, options: remove explicit template instantiation | Stanislaw Halik | |
It breaks on GNU and saves little space. | |||
2017-03-28 | start renaming internal macros as OPENTRACK_* to OTR_* | Stanislaw Halik | |
2017-03-25 | options: add some never_inline attribs | Stanislaw Halik | |
2017-03-24 | options, compat: instantiate common templates in their .dll's | Stanislaw Halik | |
2017-03-21 | options/{bundle,connector,value}: allow setting to default values | Stanislaw Halik | |
This is complicated by Qt's rejection of template classes. Also move some stuff to slots where makes sense. | |||
2016-12-24 | options/value: adjust conntypes since slider_value handles it now | Stanislaw Halik | |
2016-12-08 | options: get element with call operator | Stanislaw Halik | |
thread_local is expensive. | |||
2016-09-18 | add missing copyright terms | Stanislaw Halik | |
Due to fucking AT&T vs BSD suit copyright defaults to all rights reserved. Fuck Berne Convention as well. | |||
2016-09-17 | options/value: allow for inspecting default value | Stanislaw Halik | |
2016-09-16 | options/value: allow for deref operator | Stanislaw Halik | |
C++ expects pointer so let it have it. | |||
2016-09-08 | options/value: move from header | Stanislaw Halik | |
2016-08-25 | options/value: remove outdated comment | Stanislaw Halik | |
2016-08-25 | options/value: always use Qt::AutoConnection | Stanislaw 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-25 | options: use non-generic comparison for bundle modification check | Stanislaw 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-20 | options/connector: spew more warnings | Stanislaw Halik | |
2016-08-20 | options/{connector,base_value}: add missing dtor call. rename callees. | Stanislaw Halik | |
2016-08-18 | options: factor out connector out of bundle | Stanislaw Halik | |
2016-08-18 | options: add base_value signal const | Stanislaw Halik | |
2016-08-17 | move options framework into its own library | Stanislaw Halik | |
- adjust usages - add support for QList signals and metatype |