Utils::ProjectIntroPage Class
class Utils::ProjectIntroPageA classe ProjectIntroPage é a página padrão do assistente para um projeto, permitindo que o usuário escolha seu nome e caminho. Mais...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Funções públicas
| QString | description() const |
| Utils::FilePath | filePath() const |
| bool | forceSubProject() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| bool | useAsDefaultPath() const |
Slots públicos
| void | setDescription(const QString &description) |
| void | setFilePath(const Utils::FilePath &path) |
| void | setProjectName(const QString &name) |
| void | setUseAsDefaultPath(bool u) |
Descrição detalhada
É semelhante à classe ` FileWizardPage`, mas oferece funcionalidades adicionais:
- Contém um rótulo de descrição na parte superior para exibir um texto introdutório.
- Realiza validação em tempo real (ligada à função changed()) e exibe avisos e erros em um rótulo de status na parte inferior (a página está completa quando totalmente validada; portanto, a função validatePage() não está implementada).
Observação: Tenha cuidado ao alterar o arquivo projectintropage.ui. A geometria principal deve estar desmarcada e a restrição ` QLayout::SetMinimumSize ` deve estar definida no layout principal; caso contrário, o ` QWizard ` irá comprimi-lo devido aos seus estranhos truques de expansão.
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.