Results 1 to 4 of 4

Thread: Displaying different images and data on the same dialog

  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Displaying different images and data on the same dialog

    Hi all

    I am working on Qt4.2.3 (intel MAc)

    My Problem:


    I am having a MainWindow and a dialog ,MainWindow consists of several pushbuttons , and each Pushbutton works differently and different images are set on them ,Now what i want is this,On click of any pushbutton ,a dialog opens(in which there also a QPushbutton) and that QPushButton displays the same image as it was there in the main window . and when I click on some other button of the main window , then it again displays the same dialog but with different image.Means on clicking any pushbutton same dialog opens but each time with different image and different data.Q
    Always Believe in Urself
    Merry

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Displaying different images and data on the same dialog

    Could you explain better?
    Do the dialogs always show the same image? Or what?

  3. #3
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Displaying different images and data on the same dialog

    actually main window consists of several pushbuttons with different images ,Now what i want is this when user clicks on any of the push button of the main window then same dialog opens but with different image and different data .
    Always Believe in Urself
    Merry

  4. #4
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Displaying different images and data on the same dialog

    My problem is solved.

    Cheers
    Always Believe in Urself
    Merry

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.