Results 1 to 4 of 4

Thread: accept() and reject() slots

  1. #1
    Join Date
    Aug 2010
    Posts
    107
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default accept() and reject() slots

    I am trying to learn QT and purchased C++ Gui with QT (Second Edition) and I am following some of the examples. On one of the examples, you create a signal/slot from Designer to connect the clicked event of a button with the accept slot of the form. I do not get the option of accept or reject slots in the connection configuration window. The checkbox for show all signals and slots is checked. Have these been deleted in the new version? And what is the equivalent slot? Or where do I find it?

    Thanks
    Rick

  2. #2
    Join Date
    Aug 2010
    Posts
    107
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: accept() and reject() slots

    I figured it out! I had a main window and not a dialog.
    I am sure I will be back for more!

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: accept() and reject() slots

    You are welcome! And if you answer your questions yourself even more


    (And it is nice to see, that some people still by books to learn...)

  4. #4
    Join Date
    Aug 2010
    Posts
    107
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: accept() and reject() slots

    I have done a lot of programming and database development in Microsoft Access and provide assistance in several forums dedicated to such topic. An times it is frustrating when someone asks a question that has been posted and resolved several times. I guess they don't know how to use the search feature??? I try to search and resolve the issue myself...I remember it better that way...If I work hard to find the answer, then it sticks with me a little longer!! But this QT seems to give me a bit of confusion...I will figure it out and I am sure with your assistance as well!
    Thanks!

Similar Threads

  1. Replies: 3
    Last Post: 21st December 2010, 14:51
  2. Replies: 1
    Last Post: 28th October 2009, 18:42
  3. Replies: 6
    Last Post: 12th September 2008, 12:11
  4. QFileDialog accept() slot is not accessable
    By bigg in forum Qt Programming
    Replies: 4
    Last Post: 29th April 2008, 10:35
  5. Replies: 1
    Last Post: 28th July 2006, 14:10

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.