Utils::ProjectIntroPage Class
class Utils::ProjectIntroPageDie Klasse „ProjectIntroPage“ ist die Standard-Assistenten-Seite für ein Projekt, auf der der Benutzer den Namen und den Pfad des Projekts auswählen kann. Mehr...
| Header: | #include <ProjectIntroPage> |
| Inherits: | Utils::WizardPage |
Öffentliche Funktionen
| QString | description() const |
| Utils::FilePath | filePath() const |
| bool | forceSubProject() const |
| QString | projectName() const |
| void | setForceSubProject(bool force) |
| bool | useAsDefaultPath() const |
Öffentliche Slots
| void | setDescription(const QString &description) |
| void | setFilePath(const Utils::FilePath &path) |
| void | setProjectName(const QString &name) |
| void | setUseAsDefaultPath(bool u) |
Ausführliche Beschreibung
Ähnelt der Klasse „ FileWizardPage “, bietet jedoch zusätzliche Funktionen:
- Enthält oben eine Beschriftung zur Anzeige von Einleitungstext.
- Führt eine Validierung in Echtzeit durch (verbunden mit `changed()`) und zeigt Warnungen und Fehler in einem Statusfeld am unteren Rand an (die Seite gilt als vollständig, sobald die Validierung abgeschlossen ist; `validatePage()` ist daher nicht implementiert).
Hinweis: Seien Sie vorsichtig beim Ändern von „projectintropage.ui“. Die Hauptgeometrie muss gelöscht sein und die Einschränkung „ QLayout::SetMinimumSize “ muss im Hauptlayout vorhanden sein, da „ QWizard “ die Seite sonst aufgrund seiner seltsamen Erweiterungs-Hacks zusammenquetscht.
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.