Results 1 to 5 of 5

Thread: How Can I remove the frame of the form in QML?

  1. #1
    Join Date
    Sep 2012
    Posts
    66
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    21
    Thanked 2 Times in 2 Posts

    Question How Can I remove the frame of the form in QML?

    Hello everyone, I am using QML to create app and now I don't know how to remove the frame from the app that I build. Can anyone advise me? Capture.PNG

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    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: How Can I remove the frame of the form in QML?

    Set the Qt::FramelessWindowHint on the window.
    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.


  3. #3
    Join Date
    Sep 2012
    Posts
    66
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    21
    Thanked 2 Times in 2 Posts

    Default Re: How Can I remove the frame of the form in QML?

    I use only qml file so where should I put this statement?

  4. #4
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    10
    Thanked 13 Times in 12 Posts

    Default Re: How Can I remove the frame of the form in QML?

    You have to use this in the default constructor. Please refer the link http://pastebin.com/vjkpN4RL

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    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: How Can I remove the frame of the form in QML?

    You can't do that in pure QML. You'd have to modify qmlviewer if that's what you are using.
    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. Replies: 6
    Last Post: 13th February 2014, 13:46
  2. How to remove title but with frame border?
    By shaoli.xie in forum Qt Programming
    Replies: 4
    Last Post: 11th April 2012, 15:14
  3. Remove shadow of child widgets? Like a sunken frame...
    By new_voodoo in forum Qt Programming
    Replies: 0
    Last Post: 14th December 2010, 00:31
  4. How to remove 3D frame and outline in QToolButton?
    By Kevin Hoang in forum Qt Programming
    Replies: 9
    Last Post: 9th March 2010, 15:31
  5. Replies: 5
    Last Post: 2nd April 2007, 09:57

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.