Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. German
  4. Zeilenbruch in ErrorDialog
Forum Updated to NodeBB v4.3 + New Features

Zeilenbruch in ErrorDialog

Scheduled Pinned Locked Moved Solved German
3 Posts 2 Posters 1.0k 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.
  • G Offline
    G Offline
    Galilio
    wrote on last edited by
    #1

    Wie kann ich die Zeilenbruch bei einen Dialog dynamisch zu der Lange des QLabel anpassen.
    Die Messagelänge ändert sich nach Anwendung.

    Mir ist schon klar, dass man mit "\n" einen Zeilenbruch durchgeführt wird aber es ist leider nicht so effektiv, da ich die Message, vo einen anderen System ablesen (in Meinem Fall von einen externen Gerät).

    Danke

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ziller
      wrote on last edited by
      #2

      QLabel::setWordWrap(true) sollte das tun.

      G 1 Reply Last reply
      0
      • Z ziller

        QLabel::setWordWrap(true) sollte das tun.

        G Offline
        G Offline
        Galilio
        wrote on last edited by
        #3

        @ziller
        Danke

        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