Results 1 to 2 of 2

Thread: forcing dialog focus?

  1. #1
    Join Date
    Jul 2010
    Posts
    63
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default forcing dialog focus?

    i want my application to disallow any action outside the prompted dialog until it is either accepted to rejected.
    how do i do that ?

  2. #2
    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: forcing dialog focus?

    Use QDialog::exec() or make your dialog explicit modal. QDialog::setModal().

Similar Threads

  1. Forcing equal row heights in QTableWidget
    By wssddc in forum Newbie
    Replies: 2
    Last Post: 2nd November 2009, 01:16
  2. Forcing a signal?
    By dbrmik in forum Newbie
    Replies: 1
    Last Post: 6th January 2009, 11:10
  3. forcing local port number from TcpSocket?
    By nbkhwjm in forum Newbie
    Replies: 6
    Last Post: 8th January 2008, 18:28
  4. Forcing two widgets to the same size
    By dsandber in forum Qt Tools
    Replies: 3
    Last Post: 7th October 2007, 10:11
  5. forcing QResizeEvent to come immediately
    By tpomorsk in forum Qt Programming
    Replies: 5
    Last Post: 14th September 2006, 16:39

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.