-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
102 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
def _init_styles(self): | ||
if self.settings.value("app_theme", "dark") == "dark": | ||
self.setStyleSheet(""" | ||
QToolTip { | ||
background-color: rgb(44,44,44); | ||
border: 1px solid rgb(29,29,29); | ||
color: white; | ||
} | ||
""") | ||
self.menubar.setStyleSheet(""" | ||
QMenuBar { | ||
background-color: rgb(32,32,32); | ||
border-bottom: 1px solid rgb(29,29,29); | ||
} | ||
QFrame { | ||
color: white; | ||
} | ||
""") | ||
self.statusbar.setStyleSheet(""" | ||
QStatusBar { | ||
background-color: rgb(32,32,32); | ||
border-top: 1px solid rgb(29,29,29); | ||
} | ||
""") | ||
else: | ||
self.setStyleSheet(""" | ||
QToolTip { | ||
background-color: rgb(249,249,249); | ||
border: 1px solid rgb(229,229,229); | ||
color: black; | ||
} | ||
""") | ||
self.menubar.setStyleSheet(""" | ||
QMenuBar { | ||
background-color: rgb(243,243,243); | ||
border-bottom: 1px rgb(230,230,230); | ||
} | ||
""") | ||
self.statusbar.setStyleSheet(""" | ||
QStatusBar { | ||
background-color: rgb(243,243,243); | ||
border-top: 1px solid rgb(230,230,230); | ||
} | ||
""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
Update 2.0! | ||
- Complete abandonment of PyQt Fluent Widgets interface, now only standard widgets from PyQt5 are used. | ||
- Viewing images is now done via QLabel instead of QGraphicsView. | ||
- Removed almost all functionality of the app (temporarily). | ||
- You can now view folder content through the Dock widget (you can hide it if you want). | ||
- Replaced the standard method of checking a file (extension list) by checking its mimetype. | ||
- Added the ability to open full screen mode. | ||
Update 2.0.1! | ||
- Styles to components such as QToolTip, QMenuBar and QStatusBar have been added to the app. | ||
- Other fixes and improvements. |