Utils::PathListEditor Class
class Utils::PathListEditorLa classe PathListEditor è un controllo che consente all'utente di modificare un elenco di percorsi (di directory) utilizzando il separatore della piattaforma (';', ':'). Altro...
| Header: | #include <PathListEditor> |
Funzioni pubbliche
| QString | fileDialogTitle() const |
| QStringList | pathList() const |
| void | setFileDialogTitle(const QString &l) |
| void | setPathList(const QStringList &l) |
| void | setPathList(const QString &pathString) |
Descrizione dettagliata
Utilizzato tipicamente per elenchi di percorsi controllati da variabili d'ambiente, come PATH. Si basa su un QPlainTextEdit in quanto dovrebbe consentire una modifica comoda e la gestione di elementi non di tipo directory come
"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".
Quando si incolla del testo al suo interno, il separatore di piattaforma verrà sostituito da caratteri di nuova riga per comodità.
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.