DtkGui
DTK Gui module
|
Public 类型 | |
enum | SystemSoundEffect { SSE_Notifications , SEE_Screenshot , SSE_EmptyTrash , SSE_SendFileComplete , SSE_BootUp , SSE_Shutdown , SSE_Logout , SSE_WakeUp , SSE_VolumeChange , SSE_LowBattery , SSE_PlugIn , SSE_PlugOut , SSE_DeviceAdded , SSE_DeviceRemoved , SSE_Error } |
系统音效的枚举 更多... | |
静态 Public 成员函数 | |
static bool | showFolder (const QString &localFilePath, const QString &startupId=QString()) |
static bool | showFolders (const QList< QString > &localFilePaths, const QString &startupId=QString()) |
static bool | showFolder (const QUrl &url, const QString &startupId=QString()) |
static bool | showFolders (const QList< QUrl > &urls, const QString &startupId=QString()) |
static bool | showFileItemProperty (const QString &localFilePath, const QString &startupId=QString()) |
static bool | showFileItemProperties (const QList< QString > &localFilePaths, const QString &startupId=QString()) |
static bool | showFileItemProperty (const QUrl &url, const QString &startupId=QString()) |
static bool | showFileItemProperties (const QList< QUrl > &urls, const QString &startupId=QString()) |
static bool | showFileItem (const QString &localFilePath, const QString &startupId=QString()) |
static bool | showFileItems (const QList< QString > &localFilePaths, const QString &startupId=QString()) |
static bool | showFileItem (const QUrl &url, const QString &startupId=QString()) |
static bool | showFileItems (const QList< QUrl > &urls, const QString &startupId=QString()) |
static bool | trash (const QString &localFilePath) |
static bool | trash (const QList< QString > &localFilePaths) |
static bool | trash (const QUrl &url) |
static bool | trash (const QList< QUrl > &urls) |
static bool | playSystemSoundEffect (const SystemSoundEffect &effect) |
static bool | playSystemSoundEffect (const QString &name) |
static bool | previewSystemSoundEffect (const SystemSoundEffect &effect) |
static bool | previewSystemSoundEffect (const QString &name) |
static QString | getNameByEffectType (const SystemSoundEffect &effect) |
static QString | errorMessage () |
enum Dtk::Gui::DDesktopServices::SystemSoundEffect |
系统音效的枚举
|
static |
文件管理器相关调用出错时可以通过此接口获取错误信息
|
static |
根据音效名预览系统音效。
[in] | effect | 要获取名称的音效,见枚举 Dtk::Gui::DDesktopServices::SystemSoundEffect |
|
static |
根据音效名播放系统音效。如果系统音效被禁用或者要播放音效被禁用将播放失败
[in] | name | 要播放的音效名称,见 Dtk::Gui::DDesktopServices::getNameByEffectType |
|
static |
播放系统音效。如果系统音效被禁用或者要播放音效被禁用将播放失败
[in] | effect | 要播放的音效,见枚举 Dtk::Gui::DDesktopServices::SystemSoundEffect |
|
static |
根据音效名预览系统音效。
[in] | name | 要播放的音效名称,见 Dtk::Gui::DDesktopServices::getNameByEffectType |
|
static |
系统音效预览。
[in] | effect | 要播放的音效,见枚举 Dtk::Gui::DDesktopServices::SystemSoundEffect |
|
static |
通过文件管理器在父目录中显示并选中文件(目录)
[in] | localFilePath | 要显示(选中)的文件(目录)路径 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器在父目录中显示并选中文件(目录)
[in] | url | 要显示(选中)的文件(目录)QUrl 形式路径 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示多个文件的属性
[in] | localFilePaths | 要显示的文件路径列表 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示多个文件的属性
[in] | urls | 要显示的目录路径 url 列表 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示文件的属性
[in] | localFilePath | 要显示的文件路径 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示文件的属性
[in] | url | 要显示的文件 QUrl 形式路径 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器父目录中显示并选中多个文件(目录)
[in] | localFilePaths | 要显示(选中)的文件(目录)路径列表 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器父目录中显示并选中多个文件(目录)
[in] | urls | 要显示选中)的文件(目录)路径 url 列表 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示目录
[in] | localFilePath | 要显示的目录路径 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示目录
[in] | url | 要显示的目录 QUrl 形式路径 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示多个目录
[in] | localFilePaths | 要显示的目录路径列表 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器显示多个目录
[in] | urls | 要显示的目录路径 url 列表 |
[in] | startupId | 本次启动的id, 默认为空 |
|
static |
通过文件管理器将多个文件移入回收站
[in] | localFilePaths | 要移入回收站的文件路径列表 |
|
static |
通过文件管理器将多个文件移入回收站
[in] | urls | 要移入回收站的文件路径 url 列表 |
|
static |
通过文件管理器将文件移入回收站
[in] | localFilePath | 要移入回收站的文件路径 |
|
static |
通过文件管理器将文件移入回收站
[in] | url | 要移入回收站的文件 url 路径 |