Utils::ProjectIntroPage Class
class Utils::ProjectIntroPageLa classe ProjectIntroPage è la pagina standard della procedura guidata per un progetto, che consente all'utente di scegliere il nome e il percorso. Altro...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Funzioni pubbliche
| QString | description() const |
| Utils::FilePath | filePath() const |
| bool | forceSubProject() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| bool | useAsDefaultPath() const |
Slot pubblici
| void | setDescription(const QString &description) |
| void | setFilePath(const Utils::FilePath &path) |
| void | setProjectName(const QString &name) |
| void | setUseAsDefaultPath(bool u) |
Descrizione dettagliata
È simile a FileWizardPage, ma offre funzionalità aggiuntive:
- Contiene un'etichetta descrittiva nella parte superiore per la visualizzazione di un testo introduttivo.
- Esegue la convalida al volo (collegata a changed()) e visualizza avvisi ed errori in un'etichetta di stato nella parte inferiore (la pagina è completa una volta convalidata interamente; validatePage() non è quindi implementata).
Nota: prestare attenzione quando si modifica projectintropage.ui. La geometria principale deve essere svuotata e deve essere presente il vincolo QLayout::SetMinimumSize sul layout principale; in caso contrario, QWizard la comprimerà a causa dei suoi strani trucchi di espansione.
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.