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. QGuiApplication height of the window title bar
Forum Updated to NodeBB v4.3 + New Features

QGuiApplication height of the window title bar

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 786 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.
  • S Offline
    S Offline
    solarisx
    wrote on last edited by solarisx
    #1

    Hi

    I have s QGuiApplication. If it is shown Windowed, I need to know the height of the window title bar.
    I found it for a QApplication

    QApplication::style()->pixelMetric(QStyle::PM_TitleBarHeight);
    

    but need it for a QGuiApplication with QML Content.

    I need to know this, because if i switch my application from fullscreen to windowed the window is to high (about the height of the window titlebar)

    Thanks in advance, greets solarisx

    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