mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
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:
+5
-17
@@ -35,26 +35,14 @@ private:
|
||||
QLineEdit *m_downloadPathEdit;
|
||||
QCheckBox *m_autoUpdateCheck;
|
||||
QComboBox *m_themeCombo;
|
||||
QCheckBox *m_autoRaiseWindow;
|
||||
QCheckBox *m_switchToNewDevice;
|
||||
#ifndef __APPLE__
|
||||
QCheckBox *m_unmount_iFuseDrives;
|
||||
#endif
|
||||
|
||||
// Device Connection
|
||||
QSpinBox *m_connectionTimeout;
|
||||
QCheckBox *m_autoDetectDevices;
|
||||
QCheckBox *m_showDeviceNotifications;
|
||||
|
||||
// Developer Disk Images
|
||||
QCheckBox *m_autoMountImages;
|
||||
QCheckBox *m_autoDownloadImages;
|
||||
QCheckBox *m_verifySignatures;
|
||||
|
||||
// File Operations
|
||||
QCheckBox *m_showHiddenFiles;
|
||||
QCheckBox *m_confirmDeletions;
|
||||
QSpinBox *m_maxDownloads;
|
||||
|
||||
// Advanced
|
||||
QCheckBox *m_enableDebugLogging;
|
||||
QSpinBox *m_logRetention;
|
||||
QCheckBox *m_expertMode;
|
||||
|
||||
// Buttons
|
||||
QPushButton *m_checkUpdatesButton;
|
||||
|
||||
Reference in New Issue
Block a user