How can i find the pointer of a widget by its name.
For example
some_function("lineEdit_1")->hide();
Or what is the better way to hide some widgets according to users rights giving by admin?
How can i find the pointer of a widget by its name.
For example
some_function("lineEdit_1")->hide();
Or what is the better way to hide some widgets according to users rights giving by admin?
See the template functions qFindChild() and qFindChildren().
Bookmarks