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. QMessageBox long text problem
QtWS25 Last Chance

QMessageBox long text problem

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 3.1k Views
  • 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
    svyatoslav911512
    wrote on last edited by
    #1

    Hi,

    Do you know a way to show QMessageBox with very long text string? I use it for showing copyright. On Android build it shows as a standard message window (scrollable), but on desktop build it shows as a freezing opengl structure. Can I make it some sort of scrollable content in QMessageBox? Appreciate your help. See screenshot.

    Thanks
    Svyatoslav

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

      Hi,

      strange problem, what version of Qt are you using ? On which Linux distro ?

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        strange problem, what version of Qt are you using ? On which Linux distro ?

        S Offline
        S Offline
        svyatoslav911512
        wrote on last edited by
        #3

        @SGaist Just checked another DE. Yes, this awful structure is KDE5 Frameworks issue, on KDE4 I can see normall long QMessageBox (but without scrolling anyway). Besides used Qt is 5.4.1 (bundle from Qt site). Is there a way to show scrollbar? I see good QMessageBox::setDetailedText method, but window not resizable, do you think I need to implement custom class for this? It's very good for mobile, but looks silly for desktop.

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

          Then you should try to contact the KDE guys, they might know more about it.

          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

          • Login

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