
The code is quite simple:
Code: Select all
var optionsToolBar = EAction.getOptionsToolBar();
optionsToolBar.setStyleSheet("QToolBar {background: red;}");
Hit "SELECT ALL" then copy/paste the whole text at once in the bottom line of the Script Shell.
The change is instantaneous but only for the current QCAD session.
Another option is to save this code as for example RedOptionsToolbar.js with any suitable plain text editor.
For example directly under the QCAD installation path.
Then include this script to be run on startup.
The target command to start QCAD then reads for example: [installation path]\qcad.exe -exec RedOptionsToolbar.js
Of course, you can specify any color you want and that includes rgba or HTML colors.
Color #bfffbf instead of red would be a pale green.

Regards,
CVH