Na tej stronie

Utils::PathListEditor Class

class Utils::PathListEditor

Klasa PathListEditor to kontrolka, która umożliwia użytkownikowi edycję listy ścieżek (katalogów) przy użyciu separatorów platformowych (';', ':'). Więcej...

Header: #include <PathListEditor>

Funkcje publiczne

QString fileDialogTitle() const
QStringList pathList() const
void setFileDialogTitle(const QString &l)
void setPathList(const QStringList &l)
void setPathList(const QString &pathString)

Szczegółowy opis

Zazwyczaj używana do list ścieżek kontrolowanych przez zmienne środowiskowe, takie jak PATH. Opiera się na klasie QPlainTextEdit, ponieważ powinna umożliwiać wygodną edycję oraz obsługę elementów niebędących katalogami, takich jak

"etc/mydir1:$SPECIAL_SYNTAX:/etc/mydir2".

Podczas wklejania tekstu do tej klasy separator platformy zostanie zastąpiony znakami nowego wiersza dla wygody.

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.