Results 1 to 11 of 11

Thread: Problem with MyQDialog

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2007
    Posts
    119
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Problem with MyQDialog

    Quote Originally Posted by stevey View Post
    Make sure the clicked() signal of the button is connected to the accept() slot of the form.
    Do you think that I need of :
    connect ( pbOkButtonMyDialog, SIGNAL(clicked()), myDialog, SLOT(accept())); ?

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: Problem with MyQDialog

    Do you think that I need of :
    connect ( pbOkButtonMyDialog, SIGNAL(clicked()), myDialog, SLOT(accept())); ?
    yesss,,,
    u need to connect the clicked signal of the button to the accept slot of the myDialog.
    This connection is better written in the constructor of the myDialog

  3. #3
    Join Date
    Mar 2006
    Posts
    140
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 4 Times in 3 Posts

    Default Re: Problem with MyQDialog

    Do you think that I need of :
    connect ( pbOkButtonMyDialog, SIGNAL(clicked()), myDialog, SLOT(accept())); ?
    Didn't I already say this?

Similar Threads

  1. problem with paint and erase in frame
    By M.A.M in forum Qt Programming
    Replies: 9
    Last Post: 4th May 2008, 20:17
  2. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  3. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  4. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.