Utils::ProjectIntroPage Class
class Utils::ProjectIntroPageLa clase ProjectIntroPage es la página estándar del asistente para un proyecto, que permite al usuario elegir su nombre y ruta. Más...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Funciones públicas
| QString | description() const |
| Utils::FilePath | filePath() const |
| bool | forceSubProject() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| bool | useAsDefaultPath() const |
Ranuras públicas
| void | setDescription(const QString &description) |
| void | setFilePath(const Utils::FilePath &path) |
| void | setProjectName(const QString &name) |
| void | setUseAsDefaultPath(bool u) |
Descripción detallada
Es similar a ` FileWizardPage`, pero ofrece funcionalidades adicionales:
- Contiene una etiqueta descriptiva en la parte superior para mostrar un texto introductorio.
- Realiza una validación en tiempo real (vinculada a changed()) y muestra advertencias y errores en una etiqueta de estado en la parte inferior (la página se considera completa una vez validada por completo; por lo tanto, validatePage() no está implementada).
Nota: Ten cuidado al modificar projectintropage.ui. Debe tener la geometría principal borrada y la restricción « QLayout::SetMinimumSize » en el diseño principal; de lo contrario, QWizard lo comprimirá debido a sus extraños trucos de expansión.
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.