@BDC_Patrick said in Get all Widgets of Type <Type> ?:
But, this only works, if i put the code directly into the construct function of the Window itself (after ui->setupUi...).
Why? It's QObject::findChilden(), you can use it for any widget.
But, i thought more of a Function in a seperated file, that all Windows can make use of.
If you really want it in a separate file then pass the parent widget as a parameter.
Are you using Qt's support for cross-language?