Results 1 to 2 of 2

Thread: how to create a popup dialog

  1. #1
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to create a popup dialog

    I've never done this, except for standard simple messageboxes, but Iwould like to design a dialog with the designer, and then I have an object of the class Town, in my main program that should show this dialog and wait for the user to click stuff in the window.
    The dialog should be able to communicate with the object that called it. Most of the time only simple data will be sent back to the Town object, but there might be times when there will be some integers sent back and forth.

    So I guess I start the designer and select a "Dialog with Buttons Bottom" (is that the kind of bottom you get from programming to much? ). Then what I do with the .ui-file?

  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 create a popup dialog

    Quote Originally Posted by Morea View Post
    Then what I do with the .ui-file?
    You create a class that uses it: http://doc.trolltech.com/4.2/designe...component.html

Similar Threads

  1. Replies: 3
    Last Post: 23rd July 2006, 18:02
  2. Can't close my popup
    By Jimmy2775 in forum Qt Programming
    Replies: 2
    Last Post: 11th July 2006, 09:10
  3. Show/hide part of dialog with resizing.
    By Spockmeat in forum Qt Tools
    Replies: 6
    Last Post: 7th June 2006, 08:22
  4. Dialog positioning in GNOME
    By simk in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2006, 09:41
  5. Shape-changing dialog with qt4.1
    By moe in forum Qt Tools
    Replies: 3
    Last Post: 2nd February 2006, 10:12

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.