Results 1 to 2 of 2

Thread: (QtDialog | Qt::WindowCloseButtonHint) doesnt work on linux

  1. #1
    Join Date
    Sep 2007
    Location
    Pune, India
    Posts
    60
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    7

    Question (QtDialog | Qt::WindowCloseButtonHint) doesnt work on linux

    Hi All,
    I have created application which opens dialog box, I just want to have close button on it with title. so I have set windows flags (Qt:ialog |Qt::WindowCloseButtonHint) .
    It is working fine on WindowsXP but not on linux.
    On Linux, dialog box gets windows flags from parent window. even i set above flags it ignores.
    Please tell me how to set only (Qt:ialog |Qt::WindowCloseButtonHint) flags on linux,.

    I am using Qt 4.5.1/Windowz XP/ SUSE linux.

    Thanks in advance.
    Nilesh

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: (QtDialog | Qt::WindowCloseButtonHint) doesnt work on linux

    Try passing also Qt::CustomizeWindowHint.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QT 4.5 Embedded Linux Demo Web Browser does not work
    By saltuka in forum Qt Programming
    Replies: 1
    Last Post: 1st November 2010, 04:11
  2. How to work on Linux and Eclipse
    By sudheer168 in forum Qt Programming
    Replies: 2
    Last Post: 20th October 2009, 22:35
  3. Replies: 5
    Last Post: 15th January 2009, 09:03
  4. Trolltech Task Tracker on Linux does not work?
    By iw2nhl in forum General Discussion
    Replies: 4
    Last Post: 16th August 2007, 11:47

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
  •  
Qt is a trademark of The Qt Company.