summaryrefslogtreecommitdiffhomepage
path: root/gui
AgeCommit message (Collapse)Author
2016-08-01gui: use a hammer icon for the tracker/filter/proto settingsStanislaw Halik
There are no sickles involved.
2016-07-31gui: make mapping background color apply only to tab contentStanislaw Halik
2016-07-31gui/options: use and restore program directory around dialogStanislaw Halik
2016-07-30gui/settings: fix for track-loggerStanislaw Halik
Use the first tab when opening window. Don't misuse layouts.
2016-07-30gui/main: fix qt style paletteStanislaw Halik
Only changing style after QApplication's been defined sets the palette.
2016-07-29logging: file selection dialog can freeze. Therefore don't use native dialog?!DaMichel
2016-07-29logger: it is definitely nicer to not have things all over the placeDaMichel
2016-07-29new track logging: record poses in various stages of processing into a fileDaMichel
2016-07-25gui: fix settings window margin for real this timeStanislaw Halik
2016-07-23gui/options: adjust widget spacingStanislaw Halik
2016-07-23gui/options, logic: add experimental offset from centerStanislaw Halik
This works fine for rotating the translation.
2016-07-23gui: snap by one degree for rotation axis in spline widgetStanislaw Halik
2016-07-23gui: don't try to force "windowsxp" styleStanislaw Halik
2016-07-23gui/main: enable display scaling. move setenv PATH as own functionStanislaw Halik
2016-07-19gui: add portable check for config writabilityStanislaw Halik
2016-07-18some: adjust install paths and invocationsStanislaw Halik
2016-07-18gui: add application path and modules subdir to PATHStanislaw Halik
Without it, win32 won't load some modules. This is probably a security feature on windows nt.
2016-07-18cmake: adjust paths for main executable dependenciesStanislaw Halik
2016-07-16gui: get rotation sign rightStanislaw Halik
2016-07-16gui, tracker/{aruco,pt}, api: detect whether widget is visible on screenStanislaw Halik
Sadly, it's only implemented right now on win32. Remove "set enabled" code for the video widget since it only works for explicit window minimization, not covering by other windows.
2016-07-08gui, api, proto/wine: get rid of library path as exported symbolStanislaw Halik
There's no need to do that. It never changes unless the toolchain changes.
2016-07-08gui, api: plugin-support needs to remain header-onlyStanislaw Halik
Move "opentrack_library_path" to the gui module.
2016-07-07cmake: get rid of duplicate includesStanislaw Halik
2016-07-06gui: fix Unix buildStanislaw Halik
2016-07-06gui, api, csv: support hier(7) on UnixStanislaw Halik
This affects platforms such as FreeBSD, Cygwin or Linux.
2016-07-04various: don't use qSort/qStableSortStanislaw Halik
2016-07-03gui/mapping: fix axis asymmetry checkboxesStanislaw Halik
value<t> needs to persist over the checkbox's lifetime, otherwise the slot gets disconnected.
2016-06-29gui/{options,main}: rename identifier onlyStanislaw Halik
2016-06-29gui/options-dialog: no need for non-RAIIStanislaw Halik
Qt destructors deregister one component from another.
2016-06-29logic/state: move to gui/mainStanislaw Halik
2016-06-29compat/options: separate module dll names from rest of settingsStanislaw Halik
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.
2016-06-29logic, gui: reload keybinding description on profile changeStanislaw Halik
2016-06-29gui/mapping: reload mapping on profile changeStanislaw Halik
2016-06-29logic, gui: no need to reference "struct main_settings"Stanislaw Halik
Now that "struct main_settings" doesn't implicitly reload in dtor, we no longer have to pass it around from the user interface. Only reload it where it's modified, i.e. in the options dialog. Changing the filter/dialog/mapping comboboxen implicitly saves the main options however.
2016-06-29gui/options: fix cancel buttonStanislaw Halik
The "struct opts" dtor doesn't run at dialog close time so invoke "reload" on the bundle explicitly.
2016-06-18gui/main: rename controls->trackingStanislaw Halik
Issue: #371 Suggested-by: @MathijsG
2016-06-18gui/main: rename tracker->input, protocol->outputStanislaw Halik
Discussed-with: @MathijsG, @Len62 Closes #371
2016-06-16all: split "api" into "api" and "logic"Stanislaw Halik
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.
2016-06-14gui: save before instantiating the trackerStanislaw Halik
Do IO before trackers need to run at 250 Hz.
2016-06-14gui: reformat curly braces onlyStanislaw Halik
2016-06-14gui, spline-widget, compat/options: ensure no qsettings IO when not modifiedStanislaw Halik
Turns out every MainWindow::save() and friends were doing useless IO several times during each save. I blame the bundle abstraction. For bundles we track the modified state, but the spline widget needs equality check since it doesn't use the options api. It was found by accident when adding qDebug() into the slider_value {de,}serializer code. The .ini file was being rewritten over and over again causing hundres of milliseconds pauses on Windows. Remove the save timer kludge from gui. Saves are now fast.
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
2016-05-25gui: replace octopus with a higher-res versionStanislaw Halik
This version was compressed differently hence smaller size as well as higher resolution. cf. https://github.com/opentrack/opentrack/issues/265#issuecomment-221316940 Submitted-by: @MathijsG
2016-05-23cmake: fix boilerplate for NO-LIBRARY + STAGE2Stanislaw Halik
2016-05-23cmake{/gui,}: make boilerplate usable for building the executableStanislaw Halik
2016-05-22cmake/{linux,mingw-w64}.cmake: inline visibility hidden is redundantStanislaw Halik
With -fvisibility=hidden it's hidden anyway.
2016-05-22cmake/many: update for dinput8 manual link removalStanislaw Halik
It's automatic now.
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-15api,gui: disable all keyboard shortcuts while binding a keyStanislaw Halik
Previous disallowed binding an already-bound key on Unix since Qxt doesn't pass through bound keys unlike the Windows implementation. Refactor some common code. The Windows implementation isn't even compile-tested.
2016-04-29api, main: implement new keybindingsStanislaw Halik
The following keybindings are now implemented: - restart tracking. if not started, starts. - toggle (keep position) while key held - zero (keep zero) while key held The latter two options only work for Windows as libqxt doesn't support them. Closes #291