summaryrefslogtreecommitdiffhomepage
path: root/gui/ui.cpp
AgeCommit message (Collapse)Author
2016-08-10gui: only rename main window filesStanislaw Halik
Adjust usages.
2016-08-08gui: make octopus pitch the right wayStanislaw Halik
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-19gui: add portable check for config writabilityStanislaw Halik
2016-07-18some: adjust install paths and invocationsStanislaw 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-06gui, api, csv: support hier(7) on UnixStanislaw Halik
This affects platforms such as FreeBSD, Cygwin or Linux.
2016-06-29gui/{options,main}: rename identifier onlyStanislaw 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-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-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-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
2016-04-27gui: show tracking hasn't started in preview area instead of "no video"Xavier Hallade
"no video" wasn't clearly indicating that no tracking was done. Some first time users had hard times figuring out tracking had to be started. @sthalik: I've put an image mimicking what you did for "no video", feel free to change it or switch to plain text instead.
2016-04-27gui: make tray click raise the window alsoStanislaw Halik
Issue: #342
2015-12-20gui: don't update main window if we're minimizedStanislaw Halik
Shaves off 12% runtime in minimized case.
2015-12-18ui: make more compactStanislaw Halik
2015-12-06gui/main: don't raise a new window, it's enough to set visibleStanislaw Halik
2015-12-06gui/keys: allow for pausing global keystrokes for options dialogStanislaw Halik
Toggling tracking while prompting for toggle tracking key causes a deadlock somewhere.
2015-12-06api, main: implement global shortcuts for controlling trackingStanislaw Halik
Issue: #252 That involves moving stuff around to get rid of circular dependencies. You need to bind keys to shortcuts again this once.
2015-12-05api/shortcuts: no longer keep shortcuts hardcodedStanislaw Halik
2015-11-01all: adjust options.hpp move to compatStanislaw Halik
2015-10-30rename gui directoryStanislaw Halik