Provides methods to access common desktop services.
More...
#include <desktopservices.h>
Provides methods to access common desktop services.
Similar to QDesktopServices
, but respecting the workspace settings (e.g. custom PDF viewer). In addition, the cursor is automatically changed to a waiting spinner while opening an external application.
- See also
- https://doc.qt.io/qt-5/qdesktopservices.html
◆ DesktopServices() [1/3]
◆ DesktopServices() [2/3]
◆ DesktopServices() [3/3]
◆ ~DesktopServices()
◆ openUrl()
bool openUrl |
( |
const QUrl & |
url | ) |
const |
|
noexcept |
◆ openWebUrl()
bool openWebUrl |
( |
const QUrl & |
url | ) |
const |
|
noexcept |
◆ openLocalPath()
bool openLocalPath |
( |
const FilePath & |
filePath | ) |
const |
|
noexcept |
◆ downloadAndOpenResourceAsync()
void downloadAndOpenResourceAsync |
( |
const WorkspaceSettings & |
settings, |
|
|
const QString & |
name, |
|
|
const QString & |
mediaType, |
|
|
const QUrl & |
url, |
|
|
QPointer< QWidget > |
parent |
|
) |
| |
|
staticnoexcept |
◆ operator=()
◆ openDirectory()
bool openDirectory |
( |
const FilePath & |
filePath | ) |
const |
|
privatenoexcept |
◆ openLocalPathWithCommand()
bool openLocalPathWithCommand |
( |
const FilePath & |
filePath, |
|
|
const QStringList & |
commands |
|
) |
| const |
|
privatenoexcept |
◆ openUrlFallback()
bool openUrlFallback |
( |
const QUrl & |
url | ) |
const |
|
privatenoexcept |
◆ showWaitCursor()
◆ mSettings
◆ mParent
QPointer<QWidget> mParent |
|
private |
The documentation for this class was generated from the following files: