Hello,
Is there a way to do a "Global" reset on a QWidget that contains many checkboxes and lineEdits. I have included a screen shot of a form that I am working on.
The form enters info into a MYSQL database regarding information on a group of photographic images. The application allows for a user to select a directory of images and to go through this list and make entries into a database concerning each image. What I want to do is allow the user to select a number of keywords as well as other data about the image and when s/he clicks next, the data is sent to the database and the form is reset so the next image can be processed. What I am wondering is if I am able to create a widget that holds all these sub widgets(checkboxes, line edits, etc.) and after the "Next" button is pressed and info processed, that a reset signal could be emited to reset the form. I could send a rest that is coded into every widget, but there has to be a way to send one reset signal to reset the whole lot. That is why I was thinking of gathering all the checkboxes and line edits in one qWidget and only having to reset that one parent widget? Is this possible and what would this look like? Also, the reset button button on the bottom of the form would also emit this reset.
Thanks
Bookmarks