Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is there a setting for keeping the application name from appearing in dialog titles?

Is there a setting for keeping the application name from appearing in dialog titles?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 44 Views 2 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.
  • R Offline
    R Offline
    Robert Hairgrove
    wrote last edited by
    #1

    Using Linux Ubuntu 24.04 with GNOME on Xorg display manager:

    The window title almost always gets cut off, anyway ... I am using the static QMessageBox functions (yes, I know they are deprecated), but whatever I set as the title has the application name and version appended to the string, which is way too long. This is tolerable in the application's main window, but certainly not in every dialog.

    How can I enforce that only the title string I set is displayed?

    1 Reply Last reply
    0
    • I Offline
      I Offline
      IgKh
      wrote last edited by IgKh
      #2

      Did you set QGuiApplication::setApplicationDisplayName? Because that is what it does on Linux and Windows.

      R 1 Reply Last reply
      2
      • I IgKh

        Did you set QGuiApplication::setApplicationDisplayName? Because that is what it does on Linux and Windows.

        R Offline
        R Offline
        Robert Hairgrove
        wrote last edited by
        #3

        @IgKh Yes ... that was it! Thank you!

        1 Reply Last reply
        0
        • R Robert Hairgrove has marked this topic as solved

        • Login

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