PDA

View Full Version : Change Event Function



StarRocks
24th July 2012, 13:37
Dear Forums,

I have a doubt hope you guys have a clear idea about it..See i have a form consisting of five fields and what i need is when i give data in one field lets say license number it should fill the rest of the fields related to that license number such as name etc as the fields are name,address etc. I know it in Java but when comes to QT i am not understanding how to put it in code..Any Solution would be appreciable............


Regards,


Venugopal.

wysota
24th July 2012, 13:47
What exactly don't you understand? The code structure for C++ will be the same as for Java.

Santosh Reddy
24th July 2012, 14:35
Using signal-slot mechanism will be a better option here, instead of Event

StarRocks
31st July 2012, 07:44
Dear Santosh Reddy,

Thank you for the reply that you sent me........Santosh it would be good if you send me the function or the sample code which will be very useful for me as im very new to QT.Any solution would be appreciable.


Regards,

Venugopal.

Santosh Reddy
31st July 2012, 08:12
Check this out

StarRocks
1st August 2012, 08:01
Dear santosh,

Thanks for the code that you sent me .......Its working but i have some problem where should i write my query to get the details when i give one data coz you u have written an simple array right can you suggest me with this.........Any solution would be appreciable.........



Regards,

Venugopal :)