Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12121

QStaticText does not support text decorations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.0
    • 4.7.0
    • GUI: Text handling
    • None
    • a1641e27d2e2f5e29362e3737be6b9d75714d138

    Description

      Try setting underline, overline or strike out on the font used to draw QStaticText. None of these decorations will have any effect. This is done by drawTextItemDecorations(), called from QPainter::drawTextItem(). That will have to generalized and called from drawStaticText() as well.

      Attachments

        1. qst.cpp
          0.6 kB
          Jiang Jiang
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jiang Jiang Jiang
            esabraha Eskil Abrahamsen Blomfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes