Hi, I defined a struct in the default ui header file.
In the clicked slot of the ui class, I assigned values to various struct members based on inputs received from the ui:
e.g. struct.name = ui->lineedit->text();
How do I access struct.name from a different class? I need to be able to compare the struct.name value to a string or int for example. Is it even possible to access things from a slot?
Bookmarks