michael-yongshi / pyqt-darktheme Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
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;}")
I would like if you could add "python" after the code-block beginning. Then it would be hightlighted correctly.
So
```
```
will be:
``` python
```
scaui0
Hi. I wanted to give it a try in our application already migrated to https://pypi.org/project/PyQt6/. However, it does not seem to work.
Or maybe dark mode is implemented out-of-the-box in PyQt6 and this library is no longer needed?
Kind regards,
christian
just simple window with previous next buttons at the bottom so you can go through them and add more to test new elements
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.
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;}")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.