summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
AgeCommit message (Collapse)Author
2024-02-08add post-invert, rename invert to pre-invertStanislaw Halik
Requested by: a few people
2023-03-01fix some GCC warningsStanislaw Halik
2022-10-10Revert "options/value: add `QObject::connect` wrapper"Stanislaw Halik
This reverts commit a67e8630caf20e7f48151024e9e68dd9271d75c7.
2022-07-01options/value: add `QObject::connect` wrapperStanislaw Halik
This is useful not just to save on complexity in call sites, but also because I plan on using the Verdigris library to remove needless `valueChanged()` and `setValue()` overloads from each `value<t>` instance. Also fix a bug in `options/tie.hpp` where `QComboBox::setCurrentIndex` was erroneously called as `Qt::DirectConnection`.
2022-01-26api, gui: close options dlg on Esc inside inner dlgStanislaw Halik
2022-01-25gui/options-dialog: pretty-print mouse buttonsStanislaw Halik
Issue: #583
2022-01-03gui/options-dialog: reduce copy-pastingStanislaw Halik
2021-12-16opentrack, gui: rename options dialog impl filenameStanislaw Halik
2017-10-27gui: rename source files onlyStanislaw Halik
2017-10-08add complete(?) portable config supportStanislaw Halik
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.