Utils::PathListEditor Class
class Utils::PathListEditorPathListEditor 类是一个控件,允许用户使用平台分隔符(';'、':')编辑(目录)路径列表。更多内容...
| Header: | #include <PathListEditor> |
公共函数
| QString | fileDialogTitle() const |
| QStringList | pathList() const |
| void | setFileDialogTitle(const QString &l) |
| void | setPathList(const QStringList &l) |
| void | setPathList(const QString &pathString) |
详细说明
通常用于由环境变量(如 PATH)控制的路径列表。它基于QPlainTextEdit ,因为它应允许方便地进行编辑,并支持非目录类型的元素,例如
"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".
将文本粘贴到其中时,出于方便考虑,平台分隔符将被换行符替换。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.