Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-842

QStyleFactory.keys() not listing all available styles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.11.2
    • PySide
    • None
    • Linux/X11

    Description

      Run the following from python 2.7 or 3.7

      >>> from PySide2.QtWidgets import QStyleFactory
      >>> print(QStyleFactory.keys())

      [u'Windows', u'Fusion']

       

      Here's the PyQt5 version:

      >>> from PyQt5.QtWidgets import QStyleFactory
      >>> print(QStyleFactory.keys())
      [u'bb10dark', u'bb10bright', u'cleanlooks', u'gtk2', u'cde', u'motif', u'plastique', u'qt5ct-style', u'Windows', u'Fusion']

       

       

      Attachments

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

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            nels David Friberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes