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

Reorganise QStyleHints and QPlatformTheme::ThemeHints

    XMLWordPrintable

Details

    Description

      QStyleHints is for styles, and QPlatformTheme is for platform-specific stuff like creation of menu bars, fonts, palettes, etc... but there is quite a bit of overlap between QStyleHints and QPlatformTheme::ThemeHint:

      https://doc.qt.io/qt-6/qstylehints.html#properties

      vs

      https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/kernel/qplatformtheme.h?id=1bac82fa99c4abb33dcf99fa588d72e6cf95d496#n83

      What determines which properties/enum values go where?

      This seems like it could be reorganised to be more consistent in Qt 7.

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes