Age | Commit message (Collapse) | Author |
|
This reverts commit 1e26e00e9ae0c519355e3a6fe5ad098d1f6a9622.
Broke osx.
|
|
|
|
|
|
- Introduce rounding. Before, slider pos didn't correspond to the saved
setting until it "converged" several saves later.
- Move copy-pasted code to .cpp file.
|
|
|
|
The other settings are modified by the options dialog. These are in the
main ui. We need to be able to save modules without saving the options
dialog.
|
|
|
|
|
|
Here, the "logic" module has all the stuff for building one's own
graphical user interface.
The "api" module has stuff used by other trackers.
While at it, each of "api", "logic", and "compat" need their own export
headers. This is because of preprocessor symbol clashes.
This is all because a change in the "gui"-only dependency required a
relink of all the trackers, protocols, and flters. It takes too long
when building in the release configuration. With the split, only the
"gui" module gets rebuilt. Since it has close to no static dependencies,
it's fast enough.
|
|
Without it, the serialized min and max member vars were set in stone
despite further code changes. Now only the current value is persisted.
Add clamp for cur/min/max slider values.
Store default value as t rather than underlying_t since it's always been
casted anyway.
Add trivial comment, update copyright.
|
|
|
|
- a comparison operator. Qt uses it with the metatype support.
- pretty print support for QDebug
|
|
Get rid of state variable and compare transient/saved state exactly.
Marking the "modified" bit caused IO when changing and then changing
back to the original value, then saving.
|
|
Keeping "cur" in 0->1 distorts the value on save/reload.
|
|
|
|
|
|
|
|
|
|
It's for convenience in `struct settings' and not meant for casting to
base class.
|
|
|
|
|
|
We no longer have this recurring problem since I enabled
ignoring executable bit changes on the Windows workstation.
|
|
I'm unsure whether the context object for QObject::connect overload
we're using in enum support is treated as the connection's target thread
at all. Docs are silent on this.
In the meantime, no crashes or other anomalies observed, while violating
Qt thread safety invariants resulted in immediate crashes beforehand. So
let's use Qt::AutoConnection and not worry for the time being.
|
|
|
|
It's pointless to use it here.
|
|
|
|
|
|
|
|
Instead, define in opentrack-api.so only.
Also, move to opentrack-compat to break a circular dependency
|