qstylizer.descriptor.stylerule

class qstylizer.descriptor.stylerule.StyleRuleDescriptor(name)[source]

StyleRule descriptor.

__init__(name)[source]

Initialize the StyleRuleDescriptor instance.

Parameters:name – The attribute name of type string
rule_cls
class qstylizer.descriptor.stylerule.StyleRuleParent[source]

StyleRule descriptor.

Contains functions for getting all known attributes of the StyleRule.

classmethod get_attributes()[source]

Get all of the settable attributes of the StyleRule.

Loop through all base classes to gather all known attributes. Returns a dictionary with the attribute name as the key and descriptor as the value.

classmethod get_attr_options()[source]

Get all of the attribute names of the StyleRule.

Returns a set of all possible dashcase attribute names.