implement settings, fix bugs and enhance ui

- Added new settings keys in SettingsManager for download path, auto-check updates, auto-raise window, switch to new device, unmount iFuse on exit, theme, and connection timeout.
- Implemented methods to get and set these new settings.
- Updated SettingsWidget to include UI elements for the new settings, including checkboxes and a combo box for theme selection.
- Refactored loadSettings and saveSettings methods to handle new settings.
- Removed deprecated settings UI elements to streamline the interface.
- Introduced VirtualLocation widget for managing virtual location settings with a map interface.
- Integrated QML for map visualization and input handling for latitude and longitude.
- Added functionality to apply virtual location settings to the connected device.
This commit is contained in:
uncor3
2025-10-17 06:56:02 +00:00
parent 0c23824a4e
commit 8d7b027992
55 changed files with 3602 additions and 1919 deletions
+62 -43
View File
@@ -100,51 +100,70 @@ const DeviceDatabaseInfo DeviceDatabase::m_devices[] = {
"iPod Touch 7th gen"},
/* iPad */
{"iPad1,1", "k48ap", 0x02, 0x8930, "iPad"},
{"iPad2,1", "k93ap", 0x04, 0x8940, "iPad 2 (WiFi)"},
{"iPad2,2", "k94ap", 0x06, 0x8940, "iPad 2 (GSM)"},
{"iPad2,3", "k95ap", 0x02, 0x8940, "iPad 2 (CDMA)"},
{"iPad2,4", "k93aap", 0x06, 0x8942, "iPad 2 (WiFi) R2 2012"},
{"iPad2,5", "p105ap", 0x0a, 0x8942, "iPad mini (WiFi)"},
{"iPad2,6", "p106ap", 0x0c, 0x8942, "iPad mini (GSM)"},
{"iPad2,7", "p107ap", 0x0e, 0x8942, "iPad mini (Global)"},
{"iPad3,1", "j1ap", 0x00, 0x8945, "iPad (3rd gen, WiFi)"},
{"iPad3,2", "j2ap", 0x02, 0x8945, "iPad (3rd gen, CDMA)"},
{"iPad3,3", "j2aap", 0x04, 0x8945, "iPad (3rd gen, GSM)"},
{"iPad3,4", "p101ap", 0x00, 0x8955, "iPad (4th gen, WiFi)"},
{"iPad3,5", "p102ap", 0x02, 0x8955, "iPad (4th gen, GSM)"},
{"iPad3,6", "p103ap", 0x04, 0x8955, "iPad (4th gen, Global)"},
{"iPad4,1", "j71ap", 0x10, 0x8960, "iPad Air (WiFi)"},
{"iPad4,2", "j72ap", 0x12, 0x8960, "iPad Air (Cellular)"},
{"iPad4,3", "j73ap", 0x14, 0x8960, "iPad Air (China)"},
{"iPad4,4", "j85ap", 0x0a, 0x8960, "iPad mini 2 (WiFi)"},
{"iPad4,5", "j86ap", 0x0c, 0x8960, "iPad mini 2 (Cellular)"},
{"iPad4,6", "j87ap", 0x0e, 0x8960, "iPad mini 2 (China)"},
{"iPad4,7", "j85map", 0x32, 0x8960, "iPad mini 3 (WiFi)"},
{"iPad4,8", "j86map", 0x34, 0x8960, "iPad mini 3 (Cellular)"},
{"iPad4,9", "j87map", 0x36, 0x8960, "iPad mini 3 (China)"},
{"iPad5,1", "j96ap", 0x08, 0x7000, "iPad mini 4 (WiFi)"},
{"iPad5,2", "j97ap", 0x0A, 0x7000, "iPad mini 4 (Cellular)"},
{"iPad5,3", "j81ap", 0x06, 0x7001, "iPad Air 2 (WiFi)"},
{"iPad5,4", "j82ap", 0x02, 0x7001, "iPad Air 2 (Cellular)"},
{"iPad6,3", "j127ap", 0x08, 0x8001, "iPad Pro 9.7-inch (WiFi)"},
{"iPad6,4", "j128ap", 0x0a, 0x8001, "iPad Pro 9.7-inch (Cellular)"},
{"iPad6,7", "j98aap", 0x10, 0x8001, "iPad Pro 12.9-inch (1st gen, WiFi)"},
{"iPad2,1", "k93ap", 0x04, 0x8940, "iPad 2 (WiFi)", "iPad 2"},
{"iPad2,2", "k94ap", 0x06, 0x8940, "iPad 2 (GSM)", "iPad 2"},
{"iPad2,3", "k95ap", 0x02, 0x8940, "iPad 2 (CDMA)", "iPad 2"},
{"iPad2,4", "k93aap", 0x06, 0x8942, "iPad 2 (WiFi) R2 2012", "iPad 2"},
{"iPad2,5", "p105ap", 0x0a, 0x8942, "iPad mini (WiFi)", "iPad mini"},
{"iPad2,6", "p106ap", 0x0c, 0x8942, "iPad mini (GSM)", "iPad mini"},
{"iPad2,7", "p107ap", 0x0e, 0x8942, "iPad mini (Global)", "iPad mini"},
{"iPad3,1", "j1ap", 0x00, 0x8945, "iPad (3rd gen, WiFi)", "iPad (3rd gen)"},
{"iPad3,2", "j2ap", 0x02, 0x8945, "iPad (3rd gen, CDMA)", "iPad (3rd gen)"},
{"iPad3,3", "j2aap", 0x04, 0x8945, "iPad (3rd gen, GSM)", "iPad (3rd gen)"},
{"iPad3,4", "p101ap", 0x00, 0x8955, "iPad (4th gen, WiFi)",
"iPad (4th gen)"},
{"iPad3,5", "p102ap", 0x02, 0x8955, "iPad (4th gen, GSM)",
"iPad (4th gen)"},
{"iPad3,6", "p103ap", 0x04, 0x8955, "iPad (4th gen, Global)",
"iPad (4th gen)"},
{"iPad4,1", "j71ap", 0x10, 0x8960, "iPad Air (WiFi)", "iPad Air"},
{"iPad4,2", "j72ap", 0x12, 0x8960, "iPad Air (Cellular)", "iPad Air"},
{"iPad4,3", "j73ap", 0x14, 0x8960, "iPad Air (China)", "iPad Air"},
{"iPad4,4", "j85ap", 0x0a, 0x8960, "iPad mini 2 (WiFi)", "iPad mini 2"},
{"iPad4,5", "j86ap", 0x0c, 0x8960, "iPad mini 2 (Cellular)", "iPad mini 2"},
{"iPad4,6", "j87ap", 0x0e, 0x8960, "iPad mini 2 (China)", "iPad mini 2"},
{"iPad4,7", "j85map", 0x32, 0x8960, "iPad mini 3 (WiFi)", "iPad mini 3"},
{"iPad4,8", "j86map", 0x34, 0x8960, "iPad mini 3 (Cellular)",
"iPad mini 3"},
{"iPad4,9", "j87map", 0x36, 0x8960, "iPad mini 3 (China)", "iPad mini 3"},
{"iPad5,1", "j96ap", 0x08, 0x7000, "iPad mini 4 (WiFi)", "iPad mini 4"},
{"iPad5,2", "j97ap", 0x0A, 0x7000, "iPad mini 4 (Cellular)", "iPad mini 4"},
{"iPad5,3", "j81ap", 0x06, 0x7001, "iPad Air 2 (WiFi)", "iPad Air 2"},
{"iPad5,4", "j82ap", 0x02, 0x7001, "iPad Air 2 (Cellular)", "iPad Air 2"},
{"iPad6,3", "j127ap", 0x08, 0x8001, "iPad Pro 9.7-inch (WiFi)",
"iPad Pro 9.7-inch"},
{"iPad6,4", "j128ap", 0x0a, 0x8001, "iPad Pro 9.7-inch (Cellular)",
"iPad Pro 9.7-inch"},
{"iPad6,7", "j98aap", 0x10, 0x8001, "iPad Pro 12.9-inch (1st gen, WiFi)",
"iPad Pro 12.9-inch (1st gen)"},
{"iPad6,8", "j99aap", 0x12, 0x8001,
"iPad Pro 12.9-inch (1st gen, Cellular)"},
{"iPad6,11", "j71sap", 0x10, 0x8000, "iPad (5th gen, WiFi)"},
{"iPad6,11", "j71tap", 0x10, 0x8003, "iPad (5th gen, WiFi)"},
{"iPad6,12", "j72sap", 0x12, 0x8000, "iPad (5th gen, Cellular)"},
{"iPad6,12", "j72tap", 0x12, 0x8003, "iPad (5th gen, Cellular)"},
{"iPad7,1", "j120ap", 0x0C, 0x8011, "iPad Pro 12.9-inch (2nd gen, WiFi)"},
"iPad Pro 12.9-inch (1st gen, Cellular)", "iPad Pro 12.9-inch (1st gen)"},
{"iPad6,11", "j71sap", 0x10, 0x8000, "iPad (5th gen, WiFi)",
"iPad (5th gen)"},
{"iPad6,11", "j71tap", 0x10, 0x8003, "iPad (5th gen, WiFi)",
"iPad (5th gen)"},
{"iPad6,12", "j72sap", 0x12, 0x8000, "iPad (5th gen, Cellular)",
"iPad (5th gen)"},
{"iPad6,12", "j72tap", 0x12, 0x8003, "iPad (5th gen, Cellular)",
"iPad (5th gen)"},
{"iPad7,1", "j120ap", 0x0C, 0x8011, "iPad Pro 12.9-inch (2nd gen, WiFi)",
"iPad Pro 12.9-inch (2nd gen)"},
{"iPad7,2", "j121ap", 0x0E, 0x8011,
"iPad Pro 12.9-inch (2nd gen, Cellular)"},
{"iPad7,3", "j207ap", 0x04, 0x8011, "iPad Pro 10.5-inch (WiFi)"},
{"iPad7,4", "j208ap", 0x06, 0x8011, "iPad Pro 10.5-inch (Cellular)"},
{"iPad7,5", "j71bap", 0x18, 0x8010, "iPad (6th gen, WiFi)"},
{"iPad7,6", "j72bap", 0x1A, 0x8010, "iPad (6th gen, Cellular)"},
{"iPad7,11", "j171ap", 0x1C, 0x8010, "iPad (7th gen, WiFi)"},
{"iPad7,12", "j172ap", 0x1E, 0x8010, "iPad (7th gen, Cellular)"},
{"iPad8,1", "j317ap", 0x0C, 0x8027, "iPad Pro 11-inch (1st gen, WiFi)"},
"iPad Pro 12.9-inch (2nd gen, Cellular)", "iPad Pro 12.9-inch (2nd gen)"},
{"iPad7,3", "j207ap", 0x04, 0x8011, "iPad Pro 10.5-inch (WiFi)",
"iPad Pro 10.5-inch"},
{"iPad7,4", "j208ap", 0x06, 0x8011, "iPad Pro 10.5-inch (Cellular)",
"iPad Pro 10.5-inch"},
{"iPad7,5", "j71bap", 0x18, 0x8010, "iPad (6th gen, WiFi)",
"iPad (6th gen)"},
{"iPad7,6", "j72bap", 0x1A, 0x8010, "iPad (6th gen, Cellular)",
"iPad (6th gen)"},
{"iPad7,11", "j171ap", 0x1C, 0x8010, "iPad (7th gen, WiFi)",
"iPad (7th gen)"},
{"iPad7,12", "j172ap", 0x1E, 0x8010, "iPad (7th gen, Cellular)",
"iPad (7th gen)"},
{"iPad8,1", "j317ap", 0x0C, 0x8027, "iPad Pro 11-inch (1st gen, WiFi)",
"iPad Pro 11-inch (1st gen)"},
{"iPad8,2", "j317xap", 0x1C, 0x8027,
"iPad Pro 11-inch (1st gen, WiFi, 1TB)"},
{"iPad8,3", "j318ap", 0x0E, 0x8027, "iPad Pro 11-inch (1st gen, Cellular)"},