System provides a platform-specific registry of information that you can store and retrieve. More...
Import Statement: | import Esri.ArcGISExtras 1.1 |
Since: | Esri.ArcGISExtras 1.0 |
Properties
- isOnline : bool
- loggingEnabled : bool
- settings : Settings
- temporaryFolder : FileFolder
- userHomeFolder : FileFolder
- userHomePath : url
Signals
- loggingEnabledChanged()
- onlineStateChanged(bool online)
- userHomePathChanged()
Methods
- string pathVariable(string name)
- string resolvedPath(url pathUrl)
- string resolvedPath(string path)
- url resolvedPathUrl(string pathUrl)
- void setLoggingFilterRules(string rules)
- void setPathVariable(string name, string value)
- void wait(int msecs)
Detailed Description
The System type assists QML apps that need to access system resources, such as:
- Commonly used folders
- Persisted app settings
- Display scale factor
- Logging
Property Documentation
settings : Settings |
Returns the settings read from persisted configuration settings (read-only).
temporaryFolder : FileFolder |
Returns the system's temporary folder as a FileFolder (read-only).
userHomeFolder : FileFolder |
Returns the user's home folder as a FileFolder (read only).
This property may be set indirectly by setting userHomePath.
The user's home folder as a url.
When you set this property, you change the property userHomeFolder.
Signal Documentation
Emitted when loggingEnabled property of this object changes.
Note: The corresponding handler is onLoggingEnabledChanged
.
Emitted when userHomePath and userHomeFolder properties of this object change.
Note: The corresponding handler is onUserHomePathChanged
.
Method Documentation
Returns the value of the path variable associated with name.
Multiple path variables may be defined, each with a unique name identifying it.
See also setPathVariable().
Sets the logging filter rules.
The filters are those defined for QLoggingCategory.
Sets the value of the path variable associated with name to a value.
Multiple path variables may be defined, each with a unique name identifying it.
See also pathVariable().