widgets/designerplugins.cpp

changeset 254
b7b29cb82360
parent 253
8b994c917f69
child 256
c6f5de03dc0f
equal deleted inserted replaced
253:8b994c917f69 254:b7b29cb82360
14 return this->interfaces; 14 return this->interfaces;
15 } 15 }
16 16
17 QString Vec3EditorPlugin::name() const 17 QString Vec3EditorPlugin::name() const
18 { 18 {
19 return "Vec3Editor"; 19 return "VectorInput";
20 } 20 }
21 21
22 QString Vec3EditorPlugin::group() const 22 QString Vec3EditorPlugin::group() const
23 { 23 {
24 return "LDForge"; 24 return "LDForge";
49 return false; 49 return false;
50 } 50 }
51 51
52 QWidget* Vec3EditorPlugin::createWidget(QWidget* parent) 52 QWidget* Vec3EditorPlugin::createWidget(QWidget* parent)
53 { 53 {
54 return new Vec3Editor{{0, 0, 0}, parent}; 54 return new VectorInput{{0, 0, 0}, parent};
55 } 55 }
56 56
57 QString MatrixEditorPlugin::name() const 57 QString MatrixEditorPlugin::name() const
58 { 58 {
59 return "MatrixEditor"; 59 return "MatrixEditor";

mercurial