mirror of
				https://github.com/nixietab/picodulce.git
				synced 2025-10-31 13:35:11 +00:00 
			
		
		
		
	added stylesheet support
This commit is contained in:
		
							parent
							
								
									152b7d82dc
								
							
						
					
					
						commit
						fd4c23ed3b
					
				| @ -94,6 +94,14 @@ class PicomcVersionSelector(QWidget): | ||||
|         # Apply the palette to the application | ||||
|         app.setPalette(palette) | ||||
| 
 | ||||
|         # Apply style sheet if present | ||||
|         if "stylesheet" in self.theme: | ||||
|             stylesheet = self.theme["stylesheet"] | ||||
|             app.setStyleSheet(stylesheet) | ||||
|         else: | ||||
|             print("No 'stylesheet' section found in the theme file.") | ||||
| 
 | ||||
| 
 | ||||
|     def themes_integrity(self): | ||||
|         # Define folder and file paths | ||||
|         themes_folder = "themes" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Nix
						Nix