Ableton / aqt-stylesheets

Apply CSS style sheets to QML applications
Other
215 stars 39 forks source link

Support 'url()' CSS notation and url properties #13

Closed gck-ableton closed 9 years ago

gck-ableton commented 9 years ago

With this PR the StyleSets get a url() property lookup function, which allows to lookup strings or url() CSS notations as URL relative to the stylesheet base url. This can be used to bind assets (like icons, etc.) relative to the stylesheet location instead of relying to some global setup.

This solves Issue https://github.com/AbletonAG/aqt-stylesheets/issues/4.

(Beside the feature this PR contains some massive restructuring of the code and number of type renames. All of this is in the first commit; I'm not sure whether this can be split in a more readable way.)

@sbs-ableton @rof-ableton

gck-ableton commented 9 years ago

@sbs-ableton Maybe you can take another look at this?

sbs-ableton commented 9 years ago

LRGTM, super cool