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

CSS Editor #13

Closed
3 tasks
mottosso opened this issue Jul 4, 2019 · 1 comment
Closed
3 tasks

CSS Editor #13

mottosso opened this issue Jul 4, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@mottosso
Copy link
Owner

mottosso commented Jul 4, 2019

Goal

Let the user make his own themes, interactively.

Motivation

Qt makes this really easy, so why not.

Implementation

Add a text-field in a tab that when edited trigger an update to setStyleSheet of the application.

image

This should override any prior CSS and let the user change anything the developer is able to.

  • Edit CSS interactively
  • Save CSS in a "Theme", that can be loaded from disk
  • Swap between before/after interactively
@mottosso mottosso added the enhancement New feature or request label Jul 4, 2019
@mottosso mottosso mentioned this issue Jul 4, 2019
mottosso added a commit that referenced this issue Jul 16, 2019
A CSS Editor
@mottosso
Copy link
Owner Author

mottosso commented Jul 16, 2019

Implemented.

  • Every widget has a unique name and can get styled
  • User CSS is added on-top of "default" css
  • User CSS is saved and restored between runs
  • Interactive updates via CTRL+S or hitting the Apply button
  • Syntax highlighter for a native feel

@mottosso mottosso mentioned this issue Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant