Results 1 to 4 of 4

Thread: modal dialog blocking problem...

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Qt products
    Qt4

    Default modal dialog blocking problem...

    i am implemating a virtual keyboard, a simple one only for delivering key events in my QApplication instance. i put the keyboard in a qDockWidget. it works fine until a modal dialog appears. then QdockWidget is disabled and the keyboard inside it, can't accept mouseEvents. is there any way to unblock the virtual keyboard while the rest of the application stays blocked? i am intersting for a pure QT solution if any. Thanks

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

    Default Re: modal dialog blocking problem...

    How about putting the virtual keyboard in a modeless dialog ?? In that way it will still be visible, I guess

    Hope I am not wrong ...

  3. #3
    Join Date
    Nov 2007
    Posts
    2
    Qt products
    Qt4

    Default Re: modal dialog blocking problem...

    the problem is that modal dialogs block all the other windows... they are visible but don't accept mouse events... when you call exec() for a dialog that dialog becomes modal and the program enters onother event loop that anly digests mouse events initiating from that dialog.

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

    Default Re: modal dialog blocking problem...

    You didnt get me.
    I am asking if you can make the Virtual Keyboard as Modeless Dialog, instead of a dockwidget .

    Something like On Screen Keyboard in Windows XP ?

Similar Threads

  1. Special Modal Dialog
    By adonel in forum Qt Programming
    Replies: 2
    Last Post: 13th May 2008, 08:12
  2. System modal dialog!!
    By boss_bhat in forum Qt Programming
    Replies: 2
    Last Post: 23rd June 2006, 07:01
  3. Modifying Dialog problem
    By donmorr in forum Qt Tools
    Replies: 5
    Last Post: 26th May 2006, 12:56
  4. QDialog::exec() cereates no modal dialog
    By sboesch in forum Qt Programming
    Replies: 8
    Last Post: 27th March 2006, 17:03
  5. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 14:52

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.