aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/designer/cpp/formclasswizardparameters.h
blob: 6ab878b2bdbfb7393fee61534933f1be80471a82 (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include <utils/filepath.h>

#include <QMetaType>

namespace Designer {
/* Parameters passed to generate the code part of a form class.
 * Code generation using the parameters is provided as an invokable
 * service by QtDesignerFormClassCodeGenerator.
 * Thus, the parameters class must not have linkage. */

class FormClassWizardParameters
{
public:
    QString uiTemplate;
    QString className;
    Utils::FilePath path;
    QString sourceFile;
    QString headerFile;
    QString uiFile;
    bool usePragmaOnce = false;
};
} // namespace Designer

Q_DECLARE_METATYPE(Designer::FormClassWizardParameters)