Results 1 to 2 of 2

Thread: how to pass QSystemTrayIcon control between QDialog and QmainWindow

  1. #1
    Join Date
    May 2009
    Posts
    83

    Default how to pass QSystemTrayIcon control between QDialog and QmainWindow

    i have QDialog that closing after its done its flow and i start QmainWinodw , in the QDialog i init QSystemTrayIcon with the QDialog as parent
    after the Qdialog closed , i like to change the QSystemTrayIcon icon from the QmainWinodw , how can i pass the control of the QSystemTrayIcon from QDialog to QMainWindow ?

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: how to pass QSystemTrayIcon control between QDialog and QmainWindow

    It is not very clear, can you post the sequence of QDialog & QMainWindow

Similar Threads

  1. Replies: 3
    Last Post: 19th February 2012, 11:40
  2. How to Call a QDialog in QMainWindow
    By mcht_z in forum Newbie
    Replies: 2
    Last Post: 13th April 2011, 06:43
  3. Replies: 5
    Last Post: 1st March 2010, 15:55
  4. QMainWindow child of a QDialog
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 16th January 2008, 07:16
  5. QDialog and QMainWindow Data Transfer
    By Ahmad in forum Qt Programming
    Replies: 12
    Last Post: 6th May 2007, 07:02

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.