Pop of Color, Add 800p

This commit is contained in:
ddutchie 2024-03-17 16:00:02 -04:00
parent 71d26161c1
commit 91e22ebd81
4 changed files with 23 additions and 5 deletions

View file

@ -47,8 +47,6 @@ QProgressBar {
padding: 2px; padding: 2px;
} }
QProgressBar::chunk { QProgressBar::chunk {
background-color: white;
width: 1px;
})"; })";
LoadingScreen::LoadingScreen(QWidget* parent) LoadingScreen::LoadingScreen(QWidget* parent)

View file

@ -102,6 +102,12 @@ font: 500 20pt &quot;Ubuntu&quot;;</string>
<height>30</height> <height>30</height>
</size> </size>
</property> </property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QProgressBar { <string notr="true">QProgressBar {
background-color: black; background-color: black;
@ -110,7 +116,7 @@ border-radius: 10px;
padding: 2px; padding: 2px;
} }
QProgressBar::chunk { QProgressBar::chunk {
background-color: white; background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(98, 160, 234, 255), stop:1 rgba(237, 51, 59, 255));
border-radius: 6px; border-radius: 6px;
}</string> }</string>
</property> </property>

View file

@ -1535,9 +1535,11 @@ void GMainWindow::ConnectMenuEvents() {
connect_menu(ui->action_Show_Folders_In_List, &GMainWindow::OnToggleFoldersInList); connect_menu(ui->action_Show_Folders_In_List, &GMainWindow::OnToggleFoldersInList);
connect_menu(ui->action_Reset_Window_Size_720, &GMainWindow::ResetWindowSize720); connect_menu(ui->action_Reset_Window_Size_720, &GMainWindow::ResetWindowSize720);
connect_menu(ui->action_Reset_Window_Size_800, &GMainWindow::ResetWindowSize800);
connect_menu(ui->action_Reset_Window_Size_900, &GMainWindow::ResetWindowSize900); connect_menu(ui->action_Reset_Window_Size_900, &GMainWindow::ResetWindowSize900);
connect_menu(ui->action_Reset_Window_Size_1080, &GMainWindow::ResetWindowSize1080); connect_menu(ui->action_Reset_Window_Size_1080, &GMainWindow::ResetWindowSize1080);
ui->menu_Reset_Window_Size->addActions({ui->action_Reset_Window_Size_720, ui->menu_Reset_Window_Size->addActions({ui->action_Reset_Window_Size_720,
ui->action_Reset_Window_Size_800,
ui->action_Reset_Window_Size_900, ui->action_Reset_Window_Size_900,
ui->action_Reset_Window_Size_1080}); ui->action_Reset_Window_Size_1080});
@ -3530,6 +3532,10 @@ void GMainWindow::ResetWindowSize720() {
ResetWindowSize(Layout::ScreenUndocked::Width, Layout::ScreenUndocked::Height); ResetWindowSize(Layout::ScreenUndocked::Width, Layout::ScreenUndocked::Height);
} }
void GMainWindow::ResetWindowSize800() {
ResetWindowSize(1280U, 800U);
}
void GMainWindow::ResetWindowSize900() { void GMainWindow::ResetWindowSize900() {
ResetWindowSize(1600U, 900U); ResetWindowSize(1600U, 900U);
} }

View file

@ -45,7 +45,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1280</width> <width>1280</width>
<height>21</height> <height>22</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menu_File"> <widget class="QMenu" name="menu_File">
@ -102,6 +102,14 @@
<property name="iconText"> <property name="iconText">
<string>Reset Window Size to 720p</string> <string>Reset Window Size to 720p</string>
</property> </property>
</action>
<action name="action_Reset_Window_Size_800">
<property name="text">
<string>Reset Window Size to &amp;800p</string>
</property>
<property name="iconText">
<string>Reset Window Size to 800p</string>
</property>
</action> </action>
<action name="action_Reset_Window_Size_900"> <action name="action_Reset_Window_Size_900">
<property name="text"> <property name="text">