Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    QMessageBox long text problem

    General and Desktop
    2
    4
    2718
    Loading More Posts
    • 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
      svyatoslav911512 last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • S
          svyatoslav911512 @SGaist last edited by

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • First post
              Last post