summaryrefslogtreecommitdiffhomepage
path: root/gui
AgeCommit message (Collapse)Author
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
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
2016-02-09gui: scale properly on high-DPI screensStanislaw Halik
Previously high DPI made the main screen all out of whack, unreadable and unusable.
2016-01-07gui: fix zero shortcut descriptionStanislaw Halik
Closes #290
2015-12-20gui: don't update main window if we're minimizedStanislaw Halik
Shaves off 12% runtime in minimized case.
2015-12-18gui: fix left marginStanislaw Halik
2015-12-18ui: adjust marginopentrack-2.3-rc21p5Stanislaw Halik
2015-12-18ui: make more compactStanislaw Halik
2015-12-06gui/settings: set parent, otherwise not modalStanislaw Halik
2015-12-06gui/settings: don't forget to show a modal dialog before executingStanislaw 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-05gui: add shortcuts for starting/toggling trackingStanislaw Halik
2015-12-05api/shortcuts: no longer keep shortcuts hardcodedStanislaw Halik
2015-11-22work: use the centralized keypress workerStanislaw Halik
2015-11-11options: stringify keyboard mods for joy buttonsStanislaw Halik
2015-11-11shortcuts: alloy kbd mods for joystick buttonsStanislaw Halik
2015-11-11shortcuts: map joystick buttons on depress onlyStanislaw Halik
Some buttons like the X65 mode switch are held all the time. Prevent them from hogging all the keybindings. Issue: #118
2015-11-11allow for binding joystick buttons to shortcut functionsStanislaw Halik
Win32 only Issue: #118
2015-11-06spline: snap x, y coordinates to gridStanislaw Halik
2015-11-03cmake: can use default hidden visibility on appleStanislaw Halik