Utils::PathListEditor Class
class Utils::PathListEditorKlassen PathListEditor er et kontrolelement, der giver brugeren mulighed for at redigere en liste over (mappe-)stier ved hjælp af platformens separator (';',':'). Mere...
| Header: | #include <PathListEditor> |
Offentlige funktioner
| QString | fileDialogTitle() const |
| QStringList | pathList() const |
| void | setFileDialogTitle(const QString &l) |
| void | setPathList(const QStringList &l) |
| void | setPathList(const QString &pathString) |
Detaljeret beskrivelse
Bruges typisk til sti-lister, der styres af miljøvariabler, såsom PATH. Den er baseret på en QPlainTextEdit, da den skal muliggøre bekvem redigering og elementer, der ikke er af mappe-typen, såsom
"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".
Når der indsættes tekst i den, erstattes platformseparatoren af linjeskiftstegn for nemheds skyld.
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.