Results 1 to 6 of 6

Thread: setWindowFlags(Qt::FramelessWindowHint)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    37
    Thanks
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: setWindowFlags(Qt::FramelessWindowHint)

    thanks!!!

    so that! if I set that flag, the context menu dont show up... any idea how could I set the flag and also see the menu?
    Last edited by smarinr; 30th April 2008 at 19:29.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: setWindowFlags(Qt::FramelessWindowHint)

    To set the context menu, you need to override the QWidget::contextMenuEvent function of the widget.

    Hope u wanted to achieve this

  3. The following user says thank you to aamer4yu for this useful post:

    smarinr (30th April 2008)

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.