Giter Site home page Giter Site logo

pyqt-darktheme's Issues

Move dark theme settings to palette

If they are part of application class its cumbersome to switch theme as both need these settings. Better to have them in DarkPalette class

    self.setStyleSheet("QToolTip { color: #ffffff; background-color: grey; border: 1px solid white; }"
        "QCheckBox:disabled {color:#191919;}"
        "QRadioButton:disabled {color:#191919;}"
        "QWidget:disabled {color:#191919;}")

Remove the underline

When the mouse is over the radio button,the underline will appear.
how can I remove it?
QQ截图20230116085826

Python code in README.md

I would like if you could add "python" after the code-block beginning. Then it would be hightlighted correctly.
So
```
```
will be:
``` python

```

scaui0

Documentation - typo

Probably there is typo in all commands in documentation ...

Because you cant use dash in variable or any other names ...

So instead "...pyqt-darktheme..." should be stated "...darktheme..."

Please change it. Thank you.

Color for disabled checkboxes, radio buttons, and tabs

I noticed that when tabs, radio buttons, or checkboxes are disabled, the text color is the same as when they are enabled, making it difficult to distinguish between enabled/disabled widgets.

As a workaround, I defined the colors for these disabled widgets in the stylesheet after I set the pallet for the application:

view = QApplication(sys.argv)
view.setStyle('Fusion')
view.setPalette(DarkPalette())
view.setStyleSheet("QToolTip { color: #ffffff; background-color: grey; border: 1px solid white; }"
                   "QCheckBox:disabled {color:#191919;}"
                   "QRadioButton:disabled {color:#191919;}"
                   "QWidget:disabled {color:#191919;}")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.