Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSS class mixins #131

Open
uselessvevo opened this issue May 12, 2024 · 0 comments
Open

QSS class mixins #131

uselessvevo opened this issue May 12, 2024 · 0 comments
Assignees
Labels
questionable Further information is requested ui Application's or internal components

Comments

@uselessvevo
Copy link
Owner

We can't set multiple classes in setObjectName method and so there a proposal to add a QSS mixer that allows to mix QSS' classes.

For example:

my_button = QPushButton()
my_button.set_object_names("ButtonBase", "Primary")

# Or without using comma

my_button = QPushButton()
my_button.set_object_names("ButtonBase Primary")
@uselessvevo uselessvevo added questionable Further information is requested ui Application's or internal components labels May 12, 2024
@uselessvevo uselessvevo self-assigned this May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
questionable Further information is requested ui Application's or internal components
Projects
None yet
Development

No branches or pull requests

1 participant