Results 1 to 6 of 6

Thread: Change Event Function

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Change Event Function

    Using signal-slot mechanism will be a better option here, instead of Event
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  2. #2
    Join Date
    Jul 2012
    Location
    Hyderabad
    Posts
    82
    Thanks
    5
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Change Event Function

    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.

  3. #3
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: Change Event Function

    Check this out
    Attached Files Attached Files
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  4. #4
    Join Date
    Jul 2012
    Location
    Hyderabad
    Posts
    82
    Thanks
    5
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Change Event Function

    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

Similar Threads

  1. How to declare a function for click button event
    By prajnaranjan.das in forum Newbie
    Replies: 8
    Last Post: 24th December 2010, 12:17
  2. Paint event function in key press event
    By soumya in forum Qt Programming
    Replies: 6
    Last Post: 2nd February 2010, 12:40
  3. [noob] How can I have a widget event call a function?
    By Envergure in forum Qt Programming
    Replies: 5
    Last Post: 26th November 2008, 23:17
  4. function to stop receiving event
    By babu198649 in forum Qt Programming
    Replies: 11
    Last Post: 19th November 2007, 08:45
  5. Modal dialog in QMainWindow's event() function
    By tanminh in forum Qt Programming
    Replies: 1
    Last Post: 22nd June 2007, 09:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.