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;
}
QProgressBar::chunk {
background-color: white;
width: 1px;
})";
LoadingScreen::LoadingScreen(QWidget* parent)

View file

@ -102,6 +102,12 @@ font: 500 20pt &quot;Ubuntu&quot;;</string>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QProgressBar {
background-color: black;
@ -110,7 +116,7 @@ border-radius: 10px;
padding: 2px;
}
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;
}</string>
</property>

View file

@ -1535,9 +1535,11 @@ void GMainWindow::ConnectMenuEvents() {
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_800, &GMainWindow::ResetWindowSize800);
connect_menu(ui->action_Reset_Window_Size_900, &GMainWindow::ResetWindowSize900);
connect_menu(ui->action_Reset_Window_Size_1080, &GMainWindow::ResetWindowSize1080);
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_1080});
@ -3530,6 +3532,10 @@ void GMainWindow::ResetWindowSize720() {
ResetWindowSize(Layout::ScreenUndocked::Width, Layout::ScreenUndocked::Height);
}
void GMainWindow::ResetWindowSize800() {
ResetWindowSize(1280U, 800U);
}
void GMainWindow::ResetWindowSize900() {
ResetWindowSize(1600U, 900U);
}

View file

@ -45,7 +45,7 @@
<x>0</x>
<y>0</y>
<width>1280</width>
<height>21</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu_File">
@ -102,6 +102,14 @@
<property name="iconText">
<string>Reset Window Size to 720p</string>
</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 name="action_Reset_Window_Size_900">
<property name="text">