blambright / qstylizer

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

Avoid property sanitization #2

Closed Blakeinstein closed 4 years ago

Blakeinstein commented 4 years ago

A perfectly valid property,

QTabBar{
    qproperty-drawBase: 0;
}

is changed to,

QTabBar{
    qproperty-drawbase: 0;
}

A more precise example would be the alignment property,

    qproperty-defaultAlignment: AlignHCenter;

As a side note, camel case class names also get sanitized to snake case with hyphens. ie customTabBar -> custom-tab-bar.

blambright commented 4 years ago

Thanks for the heads up! Will look into fixing this early next week

blambright commented 4 years ago

Released in 0.1.8