// {BEGIN_LICENSE} /* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ // {END_LICENSE} #include #include #include #include <${Name}Widget.h> namespace ${SanitizedCppName} { ${SanitizedCppName}Widget::${SanitizedCppName}Widget(QWidget* parent) : QWidget(parent) { setWindowTitle(QObject::tr("${Name}")); QVBoxLayout* mainLayout = new QVBoxLayout(this); QLabel* introLabel = new QLabel(QObject::tr("Put your cool stuff here!"), this); mainLayout->addWidget(introLabel, 0, Qt::AlignCenter); QString helpText = QString( "For help getting started, visit the UI Development documentation
or come ask a question in the sig-ui-ux channel on Discord"); QLabel* helpLabel = new QLabel(this); helpLabel->setTextFormat(Qt::RichText); helpLabel->setText(helpText); helpLabel->setOpenExternalLinks(true); mainLayout->addWidget(helpLabel, 0, Qt::AlignCenter); setLayout(mainLayout); } } #include