Skip to content

Commit

Permalink
UI tweaks for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymphatus committed Oct 23, 2024
1 parent 43aa740 commit 5fa7a8a
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 33 deletions.
4 changes: 2 additions & 2 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
<key>CFBundleShortVersionString</key>
<string>2.7.2</string>
<string>2.8.0</string>
<key>CFBundleVersion</key>
<string>2.7.2</string>
<string>2.8.0</string>
<key>SUFeedURL</key>
<string>https://saerasoft.com/repository/com.saerasoft.caesium/osx/appcast.xml</string>
<key>SUEnableAutomaticChecks</key>
Expand Down
4 changes: 2 additions & 2 deletions resources/icons.rc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IDI_ICON1 ICON "icons/icon.ico"

1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 2,7,2,0
PRODUCTVERSION 2,8,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
Expand All @@ -15,7 +15,7 @@ BEGIN
VALUE "FileVersion", "1.0.0\0"
VALUE "InternalName", "Cs-133\0"
VALUE "ProductName", "Caesium Image Compressor\0"
VALUE "ProductVersion", "2.7.2\0"
VALUE "ProductVersion", "2.8.0\0"
END
END

Expand Down
4 changes: 4 additions & 0 deletions resources/icons/ui/chevron_down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/icons/ui/chevron_up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 26 additions & 24 deletions resources/resources.qrc
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
<RCC>
<qresource prefix="/">
<file>icons/logo.png</file>
<file>icons/logo_mono.png</file>
<file>icons/compression_statuses/compressed.svg</file>
<file>icons/compression_statuses/uncompressed.svg</file>
<file>icons/compression_statuses/compressing.svg</file>
<file>icons/compression_statuses/error.svg</file>
<file>icons/ui/language.svg</file>
<file>icons/ui/settings.svg</file>
<file>ssl/win_dsa_pub.pem</file>
<file>icons/compression_statuses/warning.svg</file>
<file>icons/ui/add_files.svg</file>
<file>icons/ui/add_folder.svg</file>
<file>icons/ui/donate.svg</file>
<file>icons/ui/preferences.svg</file>
<file>icons/ui/remove.svg</file>
<file>icons/ui/trash.svg</file>
<file>icons/ui/compress.svg</file>
<file>icons/ui/preview.svg</file>
<file>icons/ui/help.svg</file>
<file>icons/ui/loader.webp</file>
<file>icons/ui/v_handle.png</file>
<file>icons/ui/h_handle.png</file>
</qresource>
<qresource prefix="/">
<file>icons/ui/chevron_down.svg</file>
<file>icons/ui/chevron_up.svg</file>
<file>icons/logo.png</file>
<file>icons/logo_mono.png</file>
<file>icons/compression_statuses/compressed.svg</file>
<file>icons/compression_statuses/uncompressed.svg</file>
<file>icons/compression_statuses/compressing.svg</file>
<file>icons/compression_statuses/error.svg</file>
<file>icons/ui/language.svg</file>
<file>icons/ui/settings.svg</file>
<file>ssl/win_dsa_pub.pem</file>
<file>icons/compression_statuses/warning.svg</file>
<file>icons/ui/add_files.svg</file>
<file>icons/ui/add_folder.svg</file>
<file>icons/ui/donate.svg</file>
<file>icons/ui/preferences.svg</file>
<file>icons/ui/remove.svg</file>
<file>icons/ui/trash.svg</file>
<file>icons/ui/compress.svg</file>
<file>icons/ui/preview.svg</file>
<file>icons/ui/help.svg</file>
<file>icons/ui/loader.webp</file>
<file>icons/ui/v_handle.png</file>
<file>icons/ui/h_handle.png</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Caesium Image Compressor"
#define MyAppVersion "2.7.2"
#define MyAppVersion "2.8.0"
#define MyAppPublisher "SaeraSoft"
#define MyAppURL "https://saerasoft.com/caesium"
#define MyAppExeName "Caesium Image Compressor.exe"
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void loadTheme(QApplication& a)

#ifdef Q_OS_WIN
if (themeIndex == 0) {
a.setStyleSheet("QSplitter::handle:horizontal{image:url(:/icons/ui/v_handle.png);}QSplitter::handle:vertical{image:url(:/icons/ui/h_handle.png);}QStatusBar::item{border: none;}");
a.setStyleSheet("QSplitter::handle:horizontal{image:url(:/icons/ui/v_handle.png);}QSplitter::handle:vertical{image:url(:/icons/ui/h_handle.png);}QStatusBar::item{border: none;}QHeaderView::up-arrow{image: url(:/icons/ui/chevron_up.svg);width: 16px;height:16px;}QHeaderView::down-arrow{image: url(:/icons/ui/chevron_down.svg);width: 16px;height:16px;}");
}
#endif

Expand Down Expand Up @@ -74,7 +74,7 @@ int main(int argc, char* argv[])
QCoreApplication::setOrganizationName("SaeraSoft");
QCoreApplication::setOrganizationDomain("saerasoft.com");
QCoreApplication::setApplicationName("Caesium Image Compressor");
QCoreApplication::setApplicationVersion("2.7.2");
QCoreApplication::setApplicationVersion("2.8.0");

#ifdef NDEBUG
qInstallMessageHandler(Logger::messageHandler);
Expand Down
4 changes: 2 additions & 2 deletions views/MainWindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</property>
<property name="minimumSize">
<size>
<width>800</width>
<height>600</height>
<width>500</width>
<height>500</height>
</size>
</property>
<property name="contextMenuPolicy">
Expand Down

0 comments on commit 5fa7a8a

Please sign in to comment.