Results 1 to 2 of 2

Thread: how to execute a dialog box from a main application?

  1. #1
    Join Date
    Feb 2006
    Posts
    7
    Qt products
    Qt3
    Platforms
    Windows

    Default how to execute a dialog box from a main application?

    Hey, I'm working with Qt 3.2.1 and I'm trying to figure out how to open a dialog box by clicking a button on a main application.

    For example:
    Let's say I have a button connected to a slot, DialogExec(), defined in the ui.h file for my main application. What code would I have to enter in order for the clicking of that button to open the dialog box newDialog?

    I'm new, so give me a step-by-step breakdown if you can.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to execute a dialog box from a main application?


Similar Threads

  1. Show dialog application lunched as a process.
    By mourad in forum Qt Programming
    Replies: 0
    Last Post: 13th October 2008, 13:27
  2. Why when I close QDialog my main application gets killed?
    By alex chpenst in forum Qt Programming
    Replies: 2
    Last Post: 10th July 2008, 22:57
  3. Showing a dialog at application startup
    By PaladinOfKaos in forum Qt Programming
    Replies: 3
    Last Post: 1st April 2008, 20:05
  4. closing dialog in hidden main Widget
    By Lele in forum Qt Programming
    Replies: 3
    Last Post: 6th December 2006, 10:35
  5. Replies: 3
    Last Post: 31st March 2006, 18:38

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.