summaryrefslogtreecommitdiffhomepage
path: root/gui/main-window.cpp
AgeCommit message (Collapse)Author
2017-10-27gui/main-window: annoy when running as rootStanislaw Halik
2017-10-27gui/main-window: give ps3 eye time to stop properlyStanislaw Halik
2017-10-27gui: must close module dialogsStanislaw Halik
Otherwise settings don't get cancelled
2017-10-21logic/tracker: rename to pipelineStanislaw Halik
Could use a better name.
2017-10-20gui: don't close dialog on no-op changeStanislaw Halik
When profile changes but module controlling the dialog doesn't, don't close the opened dialog window.
2017-10-20options/scoped: use raiiStanislaw Halik
2017-10-20migrations: perform after bundle changed hooks runStanislaw Halik
2017-10-13options/tie: change "tie" overloadsStanislaw Halik
Adjust usages. There are ODR issues with MSVC and it doesn't support C++17 "static inline constexpr" _variables_. Otherwise, "signal_fun" could be a variable and not a function. The usages in accela/ewma2 dialog are more verbose now but the original API was silly.
2017-10-10compat/util: remove macro and typedefsStanislaw Halik
2017-10-08logic: add extension supportStanislaw Halik
It's missing a dialog and testing.
2017-10-08add complete(?) portable config supportStanislaw Halik
2017-09-22gui: call adjust-size() after show()Stanislaw Halik
2017-09-22gui/main-window: camel case makes my eyes bleedStanislaw Halik
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