summaryrefslogtreecommitdiffhomepage
path: root/gui
AgeCommit message (Collapse)Author
2017-07-06gui, logic: allow for binding Caps Lock and TabStanislaw Halik
Issue: #646
2017-06-18minor tweaks onlyStanislaw Halik
2017-06-18gui: make {start,stop}_tracker calls thread-safeStanislaw Halik
So far the only consumer are the keybindings.
2017-06-18gui: don't redraw whole mapping window layoutStanislaw Halik
When we're tracking, we only want to redraw the splines in the mapping window while the mapping window is open. It was a major CPU hog to redraw in case the mapping window's open.
2017-06-18Added some translation in "Game detector"Alexander Orokhovatskiy
2017-06-13main: fix accessing build box's hardcoded driveStanislaw Halik
2017-06-10get rid of camera angle position rotationStanislaw Halik
It doesn't work well enough anyway
2017-06-07cmake: cleanupStanislaw Halik
We now inherit parent process' console. No need for the cmake cache option.
2017-06-05gui: split from headerStanislaw Halik
2017-05-27main: reopen parent consoleStanislaw Halik
Running under CLion doesn't produce any output otherwise.
2017-05-21gui/options: minor cleanupStanislaw Halik
2017-05-16gui: oops, switched options tab pageStanislaw Halik
2017-05-16logic: remove height in "dynamic neck"Stanislaw Halik
It doesn't help any. Leave the depth only.
2017-05-10get rid of the silly mem -> shared_ptr aliasStanislaw Halik
2017-05-10options: don't create QSettings all the timeStanislaw Halik
Update usages.
2017-05-03revert msvc utf-8 source file encodingStanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/605#issuecomment-298637288
2017-04-30gui: fix degree symbol in mapping windowStanislaw Halik
2017-04-20i18n: mark as finishedStanislaw Halik
Issue: #602
2017-04-20main: fix redundant null checkStanislaw Halik
2017-04-19Corrected some Russian-translationsAlexander Orokhovatskiy
2017-04-18many: use std::f{max,min} for floating-point valuesStanislaw Halik
2017-04-18logic/tracker: fix option not used in logicStanislaw Halik
2017-04-17few widgets: use repaint() for no event loop overheadStanislaw Halik
The Qt event loop overhead formed a decent amount of total CPU usage. `repaint()' is a direct call.
2017-04-13main: call set-library-paths only after qapplication existsStanislaw Halik
Otherwise accesses qt install prefix. Issue: #598
2017-04-13gui/options: fix default tabStanislaw Halik
2017-04-13gui/options: allow for up to +- 500 cm custom pose translationStanislaw Halik
Related-to: #352
2017-04-12gui/options: adjust dynamic neck limitStanislaw Halik
2017-04-12gui/mapping: allow for up to 100 cm translationStanislaw Halik
Defaults to 30 cm as before. Changes X snap value for larger max value. Related-to: #352
2017-04-06gui: show zeros on tracking stopStanislaw Halik
Regressed as of late.
2017-04-06cmake: PROJECT() must be invoked from inside a macroStanislaw Halik
Otherwise CMAKE_PROJECT_NAME and PROJECT_NAME are equal when invoked from inside a function. Also, split headers and units into separate variables for further testing. cf. https://bugreports.qt.io/browse/QTCREATORBUG-17955
2017-04-06pose-widget: prevent races and serial executionStanislaw Halik
We actually need to use "mtx" with the condition variable and copy the data to the worker thread's stack. Also allow for synchronous pose update, for tracking stoppage.
2017-04-06pose-widget: rename unit and headerStanislaw Halik
2017-03-29pose-widget: reduce latencyStanislaw Halik
- project on a separate thread - use Qt's native ARGB32 - use double buffering - more fine-grained locks
2017-03-28rename spline-widget -> splineStanislaw Halik
Adjust usages.
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-22[COVERITY] gui/main: fix implausible null pointer dereferenceStanislaw Halik
Guard against NULL in the improbable case there's no PATH variable in the process' environment.
2017-03-17compat/util: remove our make_unique custom implStanislaw Halik
2017-03-06Update nl_NL.tsMathijs Groothuis
2017-03-01gui/mapping-window: correct unitsStanislaw Halik
Spotted-by: @mrsanchos
2017-03-01main: don't comment out _exit(2)Stanislaw Halik
2017-03-01tracker/pt: don't crash in cv::resizeStanislaw Halik
next hotfix or bust
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-27gui/main: reindentStanislaw Halik
2017-02-27options/fix bundle refcount handlingStanislaw Halik
We rolled up our own refcount while using shared_ptr at the same time. Remove all rolled-up logic and rely on shared_ptr's custom deleter to do the cleanups. This greatly simplifies the code here. Unfortunately, _fini ordering makes Qt crash after the app object runs out of scope: gui/main.cpp: QApplication app(argc, argv); Both things considered, use _exit(2) on Unix to avoid running static destructors.
2017-02-27remove unfinished polish translation filesStanislaw Halik
Polish speakers typically know English well enough and translations are awkward.
2017-02-27gui/options: camera offset -> camera angleStanislaw Halik
Adjust translations.
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-25Add some translation stringsAlexander Orokhovatskiy
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.