blob: 28f19ab852da4499479964f211091466fddf531f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QCoreApplication>
#include <QWizardPage>
namespace Utils { class FilePath; }
namespace Designer {
class FormClassWizardParameters;
class FormClassWizardGenerationParameters;
namespace Internal {
class NewClassWidget;
class FormClassWizardPage : public QWizardPage
{
public:
FormClassWizardPage();
~FormClassWizardPage() override;
bool isComplete () const override;
bool validatePage() override;
void setClassName(const QString &suggestedClassName);
void setFilePath(const Utils::FilePath &);
Utils::FilePath filePath() const;
// Fill out applicable parameters
void getParameters(FormClassWizardParameters *) const;
FormClassWizardGenerationParameters generationParameters() const;
void setGenerationParameters(const FormClassWizardGenerationParameters &gp);
static bool lowercaseHeaderFiles();
private:
void slotValidChanged();
bool m_isValid = false;
Designer::Internal::NewClassWidget *m_newClassWidget;
};
} // namespace Internal
} // namespace Designer
|