Results 1 to 4 of 4

Thread: QInput dialog is always opening twice

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    201
    Thanks
    19
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QInput dialog is always opening twice

    Hi All
    I'm writing an application, where i've a tree widget. on right click that widget a pop up menu should come which ll having 2 option (add class, and add computer). if i click on add class a QInputDialog ll appear which ll ask the name of classroom. But while right click on the tree widget, it is not triggering the context menu 1st time. and if u select the context menu again it ll open QInputDialog 2 times, for 3rd time triggering in context menu it ll be opened the QInputDialog 3 times, and so on. I'm help less, could nt find the problem. I've attched the code. Can any body help me.? I'll be thankful. Plz help.
    Attached Files Attached Files
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

Similar Threads

  1. Issue with Modelless dialog on Mac
    By Satyanarayana Chebrolu in forum Qt Programming
    Replies: 0
    Last Post: 24th February 2009, 10:10
  2. Dialog is not closing
    By manmohan in forum Newbie
    Replies: 5
    Last Post: 1st December 2008, 17:04
  3. Replies: 9
    Last Post: 13th August 2008, 18:07
  4. QGraphicsView: Dialog Position Doubt
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 6th August 2007, 17:48
  5. Opening a Dialog from a MainWindow FileMenu
    By nbkhwjm in forum Newbie
    Replies: 4
    Last Post: 17th April 2007, 12:24

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.