dlr-gtlab / gtlab-core

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

[CHANGE] - Replace use of QValidator by own class #1209

Open rainman110 opened 4 months ago

rainman110 commented 4 months ago

Summary

The dataprocessor and core are using the QValidator class to validate string properties with mainly regexps.

Since QValidator is a QtGui class, this should be replace by an own implementation.

To be discussed:

Impact on the codebase

Relatively small in GTlab Core, but modules might be effected, if they are using custom validators.

Current workarounds

-

jensschmeink commented 4 months ago

GTlab Meeting: Prefered solution is to add an GtValidator interface Add free function to GTlab GUI to convert GtValidator to QValidator