summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
AgeCommit message (Collapse)Author
2017-06-10get rid of camera angle position rotationStanislaw Halik
It doesn't work well enough anyway
2017-05-21gui/options: minor cleanupStanislaw Halik
2017-05-16logic: remove height in "dynamic neck"Stanislaw Halik
It doesn't help any. Leave the depth only.
2017-04-18logic/tracker: fix option not used in logicStanislaw Halik
2017-02-27{base,options}-dialog: fix dialogs not savingopentrack-2.3.1_fix2Stanislaw Halik
In case of the options dialog, running close() in doOK() made it go into closeEvent(), going into doCancel(), and reloading the settings prior to them getting saved. It's time for a hotfix2 build.
2017-02-26{api/base,gui/options}-dialog: prevent closing without signalStanislaw Halik
Use hide() to avoid emitting idempotent events. There's isVisible() but no isClosed() or equivalent. Worse yet, close() can return true twice in a row, despite what docs for `bool QWidget::close()' say.
2017-02-25gui/options-dialog: sprinkle some konst referenceStanislaw Halik
2017-02-25gui/options-dialog: prevent crap key text from being savedStanislaw Halik
Unprintable characters won't work in addition to not displaying right. This happens with altgr diacritics on the Polish keyboard on Linux. Skip all key text with unprintable characters, as if the key was getting unbound.
2017-02-25gui/options-dialog: prevent escape key closing on LinuxStanislaw Halik
The escape key closed the dialog but prevented save/cancel hooks from being run. Now we get the hooks running twice but it's better than not at all.
2017-02-24gui: simplify keyboard listener dialogStanislaw Halik
It's now generated from .ui QDialog, not a manually created QDialog from QLabel in .ui.
2017-02-23gui/options-dialog: prevent heisenbugs (?)Stanislaw Halik
It's likely that there's some memory handling bug when stack-allocating Qt widgets and other components. Use QObject::deleteLater. Will check with Valgrind later.
2017-02-18gui, logic: allow for two keybindings for each functionStanislaw Halik
Also, remove "disable reltrans while held" cause it's too specific.
2016-12-09gui, logic: allow toggle neck displacementStanislaw Halik
It was only possible to zero the values to turn it off.
2016-12-09gui, logic: add neck displacement featureStanislaw Halik
With it enabled, user's neck will be treated as separate from the rotation pivot. Rotating to the left will reposition to the left in addition to the rotation, and so on. This feature is subtle but apparently very popular with DCS users.
2016-11-25Revert "logic, gui: remove relative translation disable axis"opentrack-2.3-rc99p15Stanislaw Halik
This reverts commit 9fb8b48027ac8c03628955da2b186de88745e348.
2016-11-18logic, gui: remove relative translation disable axisStanislaw Halik
Only Z needs this.
2016-11-18gui/options-dialog: fix logic error in keybinding friendly nameStanislaw Halik
2016-11-18gui, modules: add more translatable stringsStanislaw Halik
2016-11-18gui/options: oops, fix numpad keys friendly nameStanislaw Halik
2016-11-18gui: allow for disabling translationStanislaw Halik
2016-11-18gui/options: allow for translating keyboard modifiersStanislaw Halik
2016-09-25gui, logic: allow prevent rotation from affecting compensationStanislaw Halik
Issue: #458
2016-09-24logic, gui: allow for disabling any of the three tcomp optionsStanislaw Halik
Issue: #458 Requested-by: @Borisovich
2016-09-16gui, logic: add separate option for starting in tray vs tray enabledStanislaw Halik
Suggested-by: @MathijsG, #454
2016-09-09gui: fix after 77cf67d61c8f6ae7ec00fd069b0e6586927069a3Stanislaw Halik
2016-09-08tracklogging: begone file selector gui. Now a file select dialog will pop up ↵DaMichel
when the tracker starts.
2016-09-06gui, logic: add shortcut for "translation compensation off while held"Stanislaw Halik
Requested-by: @Sone989 Issue: #440
2016-08-18options: add base_value signal constStanislaw Halik
2016-08-17gui: reload keybindings immediatelyStanislaw Halik
Previously the old global keybindings stuck when options dialog got cancelled.
2016-08-08gui, tracker/{aruco,pt}: do action on button correct press, not button holdStanislaw Halik
2016-07-31gui/options: use and restore program directory around dialogStanislaw Halik
2016-07-29logging: file selection dialog can freeze. Therefore don't use native dialog?!DaMichel
2016-07-29new track logging: record poses in various stages of processing into a fileDaMichel
2016-07-23gui/options, logic: add experimental offset from centerStanislaw Halik
This works fine for rotating the translation.
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, gui: reload keybinding description on profile changeStanislaw Halik
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-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
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/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-11options: stringify keyboard mods for joy 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