dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

[CHANGE] - Move shortcuts from Core to GTlab GUI or APP #1208

Open rainman110 opened 4 months ago

rainman110 commented 4 months ago

Summary

Currently, all shortcuts are defined in the core settings. This is bad, as it ties the core library to QtGui, requiring a full X-Server stack.

IMHO, shortcuts should be registered in the APP instead.

Impact on the codebase

Maybe we need to adapt the settings.

Current workarounds

-

First analysis

An alternative would be, to find a replacement for QKeySequence instead. We could keep the shortcut system in core, but without needing the QtGui library.