En esta página

Utils::PathListEditor Class

class Utils::PathListEditor

La clase PathListEditor es un control que permite al usuario editar una lista de rutas (de directorios) utilizando los separadores de la plataforma (';', ':'). Más...

Header: #include <PathListEditor>

Funciones públicas

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

Descripción detallada

Se utiliza habitualmente para listas de rutas controladas por variables de entorno, como PATH. Se basa en un objeto ` QPlainTextEdit `, ya que debe permitir una edición cómoda e incluir elementos que no sean de tipo directorio, como

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

Al pegar texto en ella, el separador de la plataforma se sustituirá por caracteres de nueva línea para mayor comodidad.

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.