Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Resizing window issue(Solved)
Forum Updated to NodeBB v4.3 + New Features

Resizing window issue(Solved)

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 889 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all,

    I have added the below lines to remove the title bar of the application window. It works fine, but now the resizing of the window is not happening. Is there any other way i can access the resizing of the window.

    @
    QQuickWindow* window = qobject_cast<QQuickWindow*>(obj);
    window->setFlags(Qt::WindowTitleHint);
    @

    Regards
    Ansif

    [edit: @ tags added, Eddy. please do so next time ]

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi,

      Thanks Eddy for the correction.

      I fixed the above problem, actually it is my mistake that i didnt explained it properly. Actually i was trying to get resize behaviour for the window and the fix is below,

      @ QQuickWindow* window = qobject_cast<QQuickWindow*>(obj);
      window->setFlags(Qt::Window | Qt::CustomizeWindowHint);
      @

      Ansif

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        thanks for posting your solution back in the forum.

        maybe others can benefit from it.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved