#include "Q3DWidgetFactory.h" #include "Pixhawk3DWidget.h" QPointer Q3DWidgetFactory::get(const std::string& type) { if (type == "PIXHAWK") { return QPointer(new Pixhawk3DWidget); } else { return QPointer(new Q3DWidget); } }