Utils::PathListEditor Class
class Utils::PathListEditorA classe PathListEditor é um controle que permite ao usuário editar uma lista de caminhos (de diretórios) utilizando o separador da plataforma (';', ':'). Mais...
| Header: | #include <PathListEditor> |
Funções públicas
| QString | fileDialogTitle() const |
| QStringList | pathList() const |
| void | setFileDialogTitle(const QString &l) |
| void | setPathList(const QStringList &l) |
| void | setPathList(const QString &pathString) |
Descrição detalhada
Normalmente usada para listas de caminhos controladas por variáveis de ambiente, como PATH. Ela se baseia em um editor de lista ( QPlainTextEdit ), pois deve permitir uma edição prática e incluir elementos que não sejam do tipo diretório, como
"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".
Ao colar texto nela, o separador de plataforma será substituído por caracteres de nova linha por conveniência.
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.