forked from NinjaCheetah/NUSGet
		
	Added QSS for custom scroll bars
Also enabled the Wii U NUS by default again, because that got missed before. Whoops.
This commit is contained in:
		
							parent
							
								
									6997ba759f
								
							
						
					
					
						commit
						d5cddfc4c0
					
				@ -153,6 +153,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
 | 
				
			|||||||
        self.ui.create_dec_checkbox.label.setText(app.translate("MainWindow", "Create decrypted contents (*.app)"))
 | 
					        self.ui.create_dec_checkbox.label.setText(app.translate("MainWindow", "Create decrypted contents (*.app)"))
 | 
				
			||||||
        self.ui.use_local_checkbox.label.setText(app.translate("MainWindow", "Use local files, if they exist"))
 | 
					        self.ui.use_local_checkbox.label.setText(app.translate("MainWindow", "Use local files, if they exist"))
 | 
				
			||||||
        self.ui.use_wiiu_nus_checkbox.label.setText(app.translate("MainWindow", "Use the Wii U NUS (faster, only effects Wii/vWii)"))
 | 
					        self.ui.use_wiiu_nus_checkbox.label.setText(app.translate("MainWindow", "Use the Wii U NUS (faster, only effects Wii/vWii)"))
 | 
				
			||||||
 | 
					        self.ui.use_wiiu_nus_checkbox.setChecked(True)
 | 
				
			||||||
        self.ui.patch_ios_checkbox.label.setText(app.translate("MainWindow", "Apply patches to IOS (Applies to WADs only)"))
 | 
					        self.ui.patch_ios_checkbox.label.setText(app.translate("MainWindow", "Apply patches to IOS (Applies to WADs only)"))
 | 
				
			||||||
        self.ui.pack_vwii_mode_checkbox.label.setText(app.translate("MainWindow", "Re-encrypt title using the Wii Common Key"))
 | 
					        self.ui.pack_vwii_mode_checkbox.label.setText(app.translate("MainWindow", "Re-encrypt title using the Wii Common Key"))
 | 
				
			||||||
        self.ui.auto_update_checkbox.label.setText(app.translate("MainWindow", "Check for updates on startup"))
 | 
					        self.ui.auto_update_checkbox.label.setText(app.translate("MainWindow", "Check for updates on startup"))
 | 
				
			||||||
 | 
				
			|||||||
@ -243,6 +243,62 @@ QComboBox QAbstractItemView::item:hover {
 | 
				
			|||||||
    background-color: #1a73e8;
 | 
					    background-color: #1a73e8;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar:vertical {
 | 
				
			||||||
 | 
					    border: 0;
 | 
				
			||||||
 | 
					    border-radius: 8px;
 | 
				
			||||||
 | 
					    margin-top: 16px;
 | 
				
			||||||
 | 
					    padding: 2px 0 2px 0;
 | 
				
			||||||
 | 
					    background-color: #222222;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar::handle:vertical {
 | 
				
			||||||
 | 
					    background-color: rgba(60, 60, 60, 1);
 | 
				
			||||||
 | 
					    margin: 0px 2px 0px 2px;
 | 
				
			||||||
 | 
					    width: 10px;
 | 
				
			||||||
 | 
					    border: 1px solid rgba(70, 70, 70, 1);
 | 
				
			||||||
 | 
					    border-radius: 4px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar::add-line:vertical {
 | 
				
			||||||
 | 
					    height: 0;
 | 
				
			||||||
 | 
					    subcontrol-position: bottom;
 | 
				
			||||||
 | 
					    subcontrol-origin: margin;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar::sub-line:vertical {
 | 
				
			||||||
 | 
					    border: 0;
 | 
				
			||||||
 | 
					    background: #2b2b2b;
 | 
				
			||||||
 | 
					    height: 16px;
 | 
				
			||||||
 | 
					    subcontrol-position: top;
 | 
				
			||||||
 | 
					    subcontrol-origin: margin;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar:horizontal {
 | 
				
			||||||
 | 
					    border: 0;
 | 
				
			||||||
 | 
					    border-radius: 8px;
 | 
				
			||||||
 | 
					    padding: 2px 0 2px 0;
 | 
				
			||||||
 | 
					    background-color: #222222;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar::handle:horizontal {
 | 
				
			||||||
 | 
					    background-color: rgba(60, 60, 60, 1);
 | 
				
			||||||
 | 
					    margin: 0px 2px 0px 2px;
 | 
				
			||||||
 | 
					    border: 1px solid rgba(70, 70, 70, 1);
 | 
				
			||||||
 | 
					    border-radius: 4px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar::add-line:horizontal {
 | 
				
			||||||
 | 
					    height: 0;
 | 
				
			||||||
 | 
					    subcontrol-position: bottom;
 | 
				
			||||||
 | 
					    subcontrol-origin: margin;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					QScrollBar::sub-line:horizontal {
 | 
				
			||||||
 | 
					    height: 0;
 | 
				
			||||||
 | 
					    subcontrol-position: top;
 | 
				
			||||||
 | 
					    subcontrol-origin: margin;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WrapCheckboxWidget {
 | 
					WrapCheckboxWidget {
 | 
				
			||||||
    show-decoration-selected: 1;
 | 
					    show-decoration-selected: 1;
 | 
				
			||||||
    outline: 0;
 | 
					    outline: 0;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user