blambright / qstylizer

Qt stylesheet generation utility for PyQt/PySide
MIT License
57 stars 8 forks source link

Missing widgets and attributes #8

Closed buddly27 closed 3 years ago

buddly27 commented 3 years ago

Some widgets are missing when using the attribute form to create a stylesheet:

>>> import qstylizer.style
>>> css = qstylizer.style.StyleSheet()
>>> css["QTextBrowser"]
<ClassRule name='QTextBrowser' />

>>> css.QTextBrowser
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'StyleSheet' object has no attribute 'QTextBrowser'

The following ones are missing:

The following CSS attributes are also missing:

>>> css.QListView["show-decoration-selected"]
<StyleRule name='show-decoration-selected' />
>>> css.QListView.showDecorationSelected
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'ClassRule' object has no attribute 'showDecorationSelected'
>>> 
>>> css.QComboBox["combobox-popup"]
<StyleRule name='combobox-popup' />
>>> css.QComboBox.comboboxPopup
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'ClassRule' object has no attribute 'comboboxPopup'
blambright commented 3 years ago

Released with qstylizer 0.1.10