Results 1 to 2 of 2

Thread: Combining two Dialog Windows

  1. #1
    Join Date
    Mar 2014
    Posts
    11
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Combining two Dialog Windows

    Hi to all,
    how you can read from the title I'm trying to combine actions between two dialog windows. In particular I have this kind of DialogWindow (Connection_Database.ui):
    Cattura.JPG

    How you can see from the imagine above, there are the two botton "Edit". With these two bottons I want to edit the corresponding label that are in their left side. So by pushing on "Edit" is possible to open this other dialog window (edit.ui):
    Cattura2.JPG
    In the lineEdit of the dialog window of the imagine above you can write the new text.

    So How I can design this kind of operation?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Combining two Dialog Windows

    You can handle the second dialog just like you handle the first one from whereever you show the first one.

    Handle the button click, e.g. in a slot of the first dialog, and there you either create an instance of the second dialog and execute or show it, depending on whether it should be modal or not.

    Cheers,
    _

Similar Threads

  1. Combining two projects Together ???
    By sai_3289 in forum Qt Programming
    Replies: 3
    Last Post: 28th November 2012, 12:17
  2. Combining events in QT
    By kinglui987 in forum Qt Programming
    Replies: 5
    Last Post: 7th November 2012, 14:18
  3. Combining Event Loops
    By Gimpyfuzznut in forum Qt Programming
    Replies: 5
    Last Post: 10th July 2009, 06:08
  4. Widgets combining CSS and SVG
    By yop in forum Qt Programming
    Replies: 3
    Last Post: 15th October 2008, 10:02
  5. Combining different widgets
    By ShaChris23 in forum Newbie
    Replies: 3
    Last Post: 1st May 2007, 02:23

Tags for this Thread

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.