Utils::ProjectIntroPage Class
class Utils::ProjectIntroPageKlasa ProjectIntroPage je standardna početna stranica čarobnjaka za projekt, koja korisniku omogućuje odabir naziva i putanje. Više...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Javne funkcije
| QString | description() const |
| Utils::FilePath | filePath() const |
| bool | forceSubProject() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| bool | useAsDefaultPath() const |
Javne utore
| void | setDescription(const QString &description) |
| void | setFilePath(const Utils::FilePath &path) |
| void | setProjectName(const QString &name) |
| void | setUseAsDefaultPath(bool u) |
Detaljan opis
Izgleda slično kao FileWizardPage, ali pruža dodatnu funkcionalnost:
- Sadrži gornju oznaku za prikaz uvoda.
- Obavlja validaciju u hodu (povezanu s changed()) i prikazuje upozorenja i pogreške u oznaci statusa na dnu (stranica je dovršena kada je u potpunosti validirana, stoga validatePage() nije implementirana).
Napomena: Budite oprezni pri mijenjanju projectintropage.ui. Mora imati očišćenu glavnu geometriju i QLayout::SetMinimumSize ograničenje na glavnom rasporedu, inače će ga QWizard stisnuti zbog svojih čudnih trikova za proširenje.
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.