Qt之QDesktopServices 和 QStandardPaths
来源:互联网 发布:淘宝买微博小号的店铺 编辑:程序博客网 时间:2024/05/22 05:05
QDesktopServices不仅可以打开本地浏览器,而且还可以打开本地文件(夹)等,可以获取桌面、我的文档、Home等目录
1、打开浏览器网页
2、打开本地文件(夹)、可执行程序等
3、获取桌面、我的文档、Home等目录的路径
QStandardPaths::standardLocations 获得各种路径。
QCoreApplication::applicationDirPath() 获得可执行文件的路径。
0 0
- Qt之QDesktopServices 和 QStandardPaths
- Qt之QDesktopServices
- Qt之QDesktopServices
- Qt之QDesktopServices
- Qt调用任意文件、QDesktopServices::openUrl奇异问题
- Qt中QDesktopServices::openUrl()函数的简单使用
- 使用Qt打开外部文件,调用外部程序(QDesktopServices,QUrl ,QProcess,QProcess)
- 系统目录获取---QStandardPaths
- QStandardPaths 获得系统特定目录
- Qt 之 QLineEdit 和 QRegExp
- 【Qt】之 QTreeView和QFileSystemModel
- Qt之ignore()和accept()
- Qt之线程和QObject
- QT之信号和槽
- Qt之Threads和QObjects
- Qt之QSpinBox和QDoubleSpinBox
- Qt之QDateEdit和QTimeEdit
- Qt之QHttpPart和QHttpMultiPart
- 详解.NET内存管理机制与垃圾回收
- C#转C++的一点分享
- AD转换
- Ural 1991 The battle near the swamp
- Balanced Binary Tree(Java代码没过,什么原因???)
- Qt之QDesktopServices 和 QStandardPaths
- UVA 297 Quadtrees
- rm/mkdir/rmdir
- 如何将16进制字符串转换为Int32类型
- 优先队列用法
- Matlab聚类分析(Cluster Analyses)
- hdu 4902
- The first day in the simple world.
- OPC简介