Utils::ProjectIntroPage Class
class Utils::ProjectIntroPageКлас ProjectIntroPage — це стандартна сторінка майстра для проекту, яка дозволяє користувачеві вибрати його ім’я та шлях. Детальніше...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Публічні функції
| QString | description() const |
| Utils::FilePath | filePath() const |
| bool | forceSubProject() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| bool | useAsDefaultPath() const |
Публічні слоти
| void | setDescription(const QString &description) |
| void | setFilePath(const Utils::FilePath &path) |
| void | setProjectName(const QString &name) |
| void | setUseAsDefaultPath(bool u) |
Детальний опис
Схожий на клас « FileWizardPage », але надає додаткові можливості:
- Містить у верхній частині мітку опису для відображення вступного тексту.
- Виконує перевірку на льоту (пов’язану з changed()) та відображає попередження й помилки у мітці стану внизу (сторінка вважається завершеною після повної перевірки, тому validatePage() не реалізовано).
Примітка: Будьте обережні під час зміни файлу projectintropage.ui. У нього має бути очищена основна геометрія та обмеження QLayout::SetMinimumSize у головному макеті, інакше QWizard стисне його через свої дивні хаки розширення.
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.