summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
AgeCommit message (Collapse)Author
2017-08-01gui: don't hook QEvent::ShowStanislaw Halik
It's pointless actually. It's not emitted before WindowActivate at all.
2017-07-29gui: refresh mapping window even if main window is hiddenStanislaw Halik
2017-07-28gui: don't update the main window if it's hiddenStanislaw Halik
2017-07-24gui/main: put TerminateProcess call back after app exitsStanislaw Halik
2017-07-23gui/main-window: fix ps3 eye LED remaining litopentrack-2.3.8Stanislaw 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-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-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-06gui: show zeros on tracking stopStanislaw Halik
Regressed as of late.
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-03-17compat/util: remove our make_unique custom implStanislaw Halik
2017-02-23logic, gui: move selected-libraries to struct workStanislaw Halik
2017-02-23gui/main-window: simplifyStanislaw Halik
2017-02-21gui/main-window: try avoid races the other wayStanislaw Halik
2017-02-21Revert "gui/main-window: hopefully prevent rare race on close"Stanislaw Halik
It doesn't cancel the settings when closing the module's dialog. This reverts commit f575f6402fc4e79e2d12c2bc897b616f112af4d9.
2017-02-18gui, logic: allow for two keybindings for each functionStanislaw Halik
Also, remove "disable reltrans while held" cause it's too specific.
2017-02-18gui/main-window: hopefully prevent rare race on closeStanislaw Halik
2016-12-24gui/main-window: remove stray debug lineStanislaw Halik
2016-12-11gui: fix crash when no filter selectedStanislaw Halik
2016-12-09gui: factor out dialog creation functionStanislaw Halik
Also, need to drain the event loop following QWidget::adjustSize. Otherwise the following resize still uses the old values.
2016-12-08gui: prevent stderr whining if controls don't fit at runtimeStanislaw Halik
2016-11-18gui: restore resize disableStanislaw Halik
2016-11-18Revert "gui: resize dialog boxes to fit text"Stanislaw Halik
This reverts commit d26048617d78396cc6381eaf06f19fee484d811c.
2016-11-18gui: resize dialog boxes to fit textStanislaw Halik
2016-11-05gui: fix accidental debug statementStanislaw Halik
2016-11-05gui: make program name translatableStanislaw Halik
2016-11-05modules: make more strings translatableStanislaw Halik
2016-10-28gui/main-window: round raw/mapped value displayStanislaw Halik
Otherwise infinitesimal differences prevent from reaching max mapped value.
2016-10-05api, cv, gui, pose-widget: remove window visibility checkStanislaw Halik
Causes freezes on multiple displays. Reported and tested in realtime by: @kzfr
2016-09-26gui, options: prevent options reset on tracker stopStanislaw Halik
They should only be reset when closing the module dialog window. This is a hack but otherwise we'd have to change all the modules. Issue: #466 Closes #466
2016-09-17gui: prevent stderr whining on setting dialog fixed sizeStanislaw Halik
Adjust dialogs.
2016-09-16gui, logic: add separate option for starting in tray vs tray enabledStanislaw Halik
Suggested-by: @MathijsG, #454
2016-09-16gui/main-window: exit program when config not writableStanislaw Halik
Note, it opens the config in read-write mode to check if it's writable. This might present a race condition when config is saved. However, we're expecting all config saving to be done in the user interface thread. Add a check for it however.
2016-09-15Fix small compilation issueMaximeMorel
2016-09-09gui/main-window: be more robust when our current config disappears from diskStanislaw Halik
2016-09-09gui/main-window: fix qt signals racingStanislaw Halik
tie_setting to tracker/filter/proto raced with connection that saved the modules into .ini on disk. Worse, the problem was swept under the rug by calling save_modules() in dtor.
2016-09-09gui/main-window: minor fixesStanislaw Halik
2016-09-09gui/main-window: only tie and connect options after migration is doneStanislaw Halik
Otherwise tied version overwrites given migration before it's run.
2016-09-09gui: fix after 77cf67d61c8f6ae7ec00fd069b0e6586927069a3Stanislaw Halik
2016-09-09add support for migrationsStanislaw Halik
They're run from the UI thread so can even be interactive.
2016-09-06gui/main-window: cleanupStanislaw Halik
2016-09-05gui/{main,mappings}: fix tab stopsStanislaw Halik
2016-08-23gui/main-window: fix build on some Debian Qt5Stanislaw Halik
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-17spline-widget: save spline control point list using options apiStanislaw Halik
- spline widgets reload when spline bundle reloads - every bundle reloads when profile gets changed Importing old spline settings hasn't been implemented. Control point positions are stored as raw floats. This is bad.
2016-08-17gui/main-window: reorganize ctorStanislaw Halik