You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, January 17th 2013, 8:17pm

QFrame changeEvent

I have a QFrame in my window I made in the designer. Inside it I have a bunch of QLineEdits set up like a form and to the side I have a QListWidget showing a list of all the records. When a user clicks on a record in the list on the side it's information will show up in the form inside the QFrame. I need a way to not allow them to go to another record if they have made any changes to a record until they select to save what they have done or cancel their changes. I saw that there is a changeEvent() function and I was thinking the event ModifiedChange() might work but changeEvent() is protected so I can't call it. Is there any other way for me to do this?

Thanks

Similar threads

Used tags

c++ Qt, GUI, QLineEdit, qt