Utils::PathListEditor Class
class Utils::PathListEditorTřída PathListEditor je ovládací prvek, který uživateli umožňuje upravovat seznam cest (k adresářům) s použitím oddělovačů dané platformy (';',':'). Více...
| Header: | #include <PathListEditor> |
Veřejné funkce
| QString | fileDialogTitle() const |
| QStringList | pathList() const |
| void | setFileDialogTitle(const QString &l) |
| void | setPathList(const QStringList &l) |
| void | setPathList(const QString &pathString) |
Podrobný popis
Obvykle se používá pro seznamy cest řízené proměnnými prostředí, jako je například PATH. Je založena na třídě QPlainTextEdit, protože by měla umožňovat pohodlnou úpravu a prvky jiného typu než adresáře, jako je
"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".
Při vkládání textu do něj bude oddělovač platforem pro větší pohodlí nahrazen znaky nového řádku.
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.