Results 1 to 7 of 7

Thread: Find non child dialog

  1. #1
    Join Date
    Mar 2010
    Posts
    63
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Find non child dialog

    Can any body suggest me to find non child dialog of a class open with main window

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Find non child dialog

    I don't understand. Please rephrase.

  3. #3
    Join Date
    Mar 2010
    Posts
    63
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Find non child dialog

    Hi,
    I am using
    void Mainwindow::newdilog()
    {obj =new dialog();
    obj->show()
    }
    and
    obj is declared as public in .h file
    dialog *obj;

    I am calling above function many time.

    but i want to know addreess or pointer of dialog class which are currently non visible

    Do you get information

  4. #4
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Find non child dialog

    Why should it make any difference whether a dialog is visible or not? What kinds of dialog are you thinking about? What is your big plan that you want to archive?
    It's nice to be important but it's more important to be nice.

  5. #5
    Join Date
    Mar 2010
    Posts
    63
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Find non child dialog

    I want to make sticky type application.so i want archive all information of visible dialog when user close mainwindow.

  6. #6
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Find non child dialog

    So why not saving a pointer to that dialog when creating it first?
    It's nice to be important but it's more important to be nice.

  7. The following user says thank you to axeljaeger for this useful post:

    moh.gup@gmail.com (5th April 2010)

  8. #7
    Join Date
    Mar 2010
    Posts
    63
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Find non child dialog

    Thanks ,
    My problem get solved

Similar Threads

  1. How to blur parent dialog when child dialog is displayed
    By abhilashajha in forum Qt Programming
    Replies: 4
    Last Post: 10th June 2009, 13:01
  2. Dialog to Dialog communication
    By jjbabu in forum Qt Tools
    Replies: 1
    Last Post: 1st October 2008, 10:54
  3. call the other dialog through dialog
    By narumi in forum Qt Programming
    Replies: 2
    Last Post: 3rd September 2008, 09:30
  4. MainWindow in front of child modeless dialog
    By jiveaxe in forum Qt Programming
    Replies: 4
    Last Post: 10th August 2007, 16:18
  5. how to find a child widget?
    By TheRonin in forum Qt Programming
    Replies: 1
    Last Post: 8th November 2006, 10:30

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.