Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Missing titlebar of dialog on Android
Forum Updated to NodeBB v4.3 + New Features

Missing titlebar of dialog on Android

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.4k 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.
  • A Offline
    A Offline
    alan73
    wrote on last edited by
    #1

    Hello!

    I'm experimenting with QDialog based widget on Android and whatever flags I'm trying my dialog misses titlebar:

    @setWindowFlags(Qt::Dialog | Qt::WindowTitleHint |
    Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint);@

    What I'm doing wrong?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Good question, maybe nothing, following the "ui guide":http://developer.android.com/guide/topics/ui/dialogs.html you should avoid using title bars but they exists. So it could be a bug. Have a look at "the bug report system":http://bugreports.qt-project.org to see if it something known, if not please consider opening a new report providing a minimal compilable example that shows the behavior

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alan73
        wrote on last edited by
        #3

        Hi, SGaist!

        Thanks for reply! Currently I'va made a button for exit, later I'll try to make a report.

        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