Results 1 to 3 of 3

Thread: Decorations and Buttons

  1. #1
    Join Date
    May 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Decorations and Buttons

    Hi all,
    anyone can tell me how can I "pilot" the red X for close program in the Decorations?

    I need to send program to tray and not to close it...

    thanks to all
    Mark

  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: Decorations and Buttons

    You can reimplement QWidget::closeEvent() to intercept close event.

  3. #3
    Join Date
    May 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Decorations and Buttons

    umh.. I saw that...

    but I'm using PyQt4... and now I'm looking for "How to reimplement it"

    thanks ^^

Similar Threads

  1. QSkinWindows Classes
    By kernel_panic in forum Qt-based Software
    Replies: 45
    Last Post: 20th April 2010, 12:35

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.