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.