IntroPage.cpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include "IntroPage.h"
  9. #include <QVBoxLayout>
  10. namespace ROS2
  11. {
  12. IntroPage::IntroPage(QWizard* parent)
  13. : QWizardPage(parent)
  14. {
  15. setTitle(QObject::tr("Introduction"));
  16. m_label = new QLabel(QObject::tr("This wizard allows you to build a robot prefab out of URDF description file."
  17. " Before processing, please, make sure that all necessary assets that are"
  18. " used by URDF file are processed by Asset Processor."
  19. " Open 3D Engine can only use files in its internal"
  20. " <a href=\"https://www.o3de.org/docs/user-guide/assets/asset-types/\">format</a>."
  21. " The tool (Asset Processor) allows processing source assets (e.g, meshes, textures)"
  22. " to its supported internal format. To learn more about asset processors click"
  23. " <a href=\"https://www.o3de.org/docs/user-guide/assets/asset-processor/\">here</a>."
  24. " URDF Importer will find correct meshes in product assets during import."));
  25. m_label->setTextFormat(Qt::RichText);
  26. m_label->setOpenExternalLinks(true);
  27. m_label->setWordWrap(true);
  28. QVBoxLayout* layout = new QVBoxLayout;
  29. layout->addWidget(m_label);
  30. setLayout(layout);
  31. }
  32. } // namespace ROS2