CmSceneWindowFactory.cpp 566 B

12345678910111213141516171819202122232425262728
  1. #include "CmSceneWindowFactory.h"
  2. #include "CmQtSceneWindow.h"
  3. namespace CamelotEditor
  4. {
  5. QtEditorWindow* SceneWindowFactory::create(QWidget* parent)
  6. {
  7. return new QtSceneWindow(parent);
  8. }
  9. const QString& SceneWindowFactory::getWindowName() const
  10. {
  11. static QString name = "Scene";
  12. return name;
  13. }
  14. const QString& SceneWindowFactory::getMenuCategory() const
  15. {
  16. static QString name = "Windows";
  17. return name;
  18. }
  19. const QString& SceneWindowFactory::getMenuItemName() const
  20. {
  21. static QString name = "Scene";
  22. return name;
  23. }
  24. }