Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Theme manager for Qt Apps

License

NotificationsYou must be signed in to change notification settings

Advik-B/QtTheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Are you tired of making custom qt stysheets, do you want add a theme system for app

Just use QtTheme

Installation

seereleases

Usage

fromQtThemeimportapply_themefromPyQt5.QtWidgetsimportQApplication,QMainWindowclassYourExistingGui(QMainWindow):def__init__(self):    ...# Your existing codeapply_theme(self,"ubuntu")

Or list all themes

fromQtThemeimportapply_theme,list_themesfromPyQt5.QtWidgetsimportQApplication,QMainWindowclassYourExistingGui(QMainWindow):def__init__(self):    ...# Your existing codeapply_theme(self,list_theme()[0])

Or apply random theme

fromQtThemeimportapply_random_themefromPyQt5.QtWidgetsimportQApplication,QMainWindowclassYourExistingGui(QMainWindow):def__init__(self):    ...# Your existing codeapply_random_theme(self)

License

MIT

Attribution

Some themes are fromqss-stock.devsecstudio.com


[8]ページ先頭

©2009-2025 Movatter.jp