mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-21 22:32:47 +01:00
Pop of Color, Add 800p
This commit is contained in:
parent
71d26161c1
commit
91e22ebd81
4 changed files with 23 additions and 5 deletions
|
@ -47,8 +47,6 @@ QProgressBar {
|
|||
padding: 2px;
|
||||
}
|
||||
QProgressBar::chunk {
|
||||
background-color: white;
|
||||
width: 1px;
|
||||
})";
|
||||
|
||||
LoadingScreen::LoadingScreen(QWidget* parent)
|
||||
|
|
|
@ -102,6 +102,12 @@ font: 500 20pt "Ubuntu";</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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 &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">
|
||||
|
@ -124,7 +132,7 @@
|
|||
<addaction name="action_Display_Dock_Widget_Headers"/>
|
||||
<addaction name="action_Show_Filter_Bar"/>
|
||||
<addaction name="action_Show_Status_Bar"/>
|
||||
<addaction name="action_Show_Folders_In_List" />
|
||||
<addaction name="action_Show_Folders_In_List"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="menu_Reset_Window_Size"/>
|
||||
<addaction name="menu_View_Debugging"/>
|
||||
|
|
Loading…
Reference in a new issue