Utils::PathListEditor Class
class Utils::PathListEditorRazred PathListEditor je nadzorni element, ki uporabniku omogoča urejanje seznama poti (do map) z uporabo ločil, ki jih predpisuje platforma (';', ':'). Več...
| Header: | #include <PathListEditor> |
Javne funkcije
| QString | fileDialogTitle() const |
| QStringList | pathList() const |
| void | setFileDialogTitle(const QString &l) |
| void | setPathList(const QStringList &l) |
| void | setPathList(const QString &pathString) |
Podroben opis
Običajno se uporablja za sezname poti, ki jih nadzorujejo spremenljivke okolja, kot je PATH. Temelji na razredu » QPlainTextEdit «, saj naj bi omogočal priročno urejanje in elemente, ki niso tipa imenika, kot je
"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".
Pri vstavljanju besedila vanj bo ločilo platforme zaradi lažjega dela nadomeščeno z znaki nove vrstice.
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.