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

Add Hinting Preference and Font weight attributes in Qt Designer/QSS

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P4: Low
    • 6.6.0
    • 6.5.0
    • Tools: Designer
    • None
    • Windows
    • 5d0720799 (dev), d93174896 (6.5), 0162bc5d0 (dev), a2d1de9f9 (dev), 85f0b6ff4 (dev), bfa557da9 (dev), 0734540f4 (dev), 661ccb837 (6.5), 00600432b (6.5), b009d54bf (6.5), aee3118b1 (6.5), aa20683ea (6.5), 41b2f569f (dev), ed892aa1a (dev), 0aacf33db (dev)

    Description

      Qt supports Font Hinting attribute for fonts, which makes text much smoother on Windows platform. Unfortunately, there is no way to set this attribute either through QSS or Qt Designer (which supports several font attributes), only way is programmatically.

      Similarly, there are variable weight fonts now, which support multiple font weights, that can also only be specified using QFont::Weight enum programmatically.

      It would really be helpful if Qt Designer had these attributes under Font category, so UI can easily be customized in Designer on per-widget basis e.g. in my case I need would like to use hinting for specific labels and different weights as well.

      Added plus would be if these attributes can be specified via QSS as well.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            taytoo Mike Flanigan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are 4 open Gerrit changes