widgets/designerplugins.cpp

changeset 264
76a025db4948
parent 256
c6f5de03dc0f
child 269
593545977c5e
equal deleted inserted replaced
263:59b6027b9843 264:76a025db4948
1 #include "designerplugins.h" 1 #include "widgets/designerplugins.h"
2 #include "vec3editor.h" 2 #include "widgets/vec3editor.h"
3 #include "matrixeditor.h" 3 #include "widgets/matrixeditor.h"
4 #include "colorbutton.h" 4 #include "widgets/colorbutton.h"
5 5
6 LDForgeWidgetCollection::LDForgeWidgetCollection(QObject* parent) : 6 LDForgeWidgetCollection::LDForgeWidgetCollection(QObject* parent) :
7 QObject{parent} 7 QObject{parent}
8 { 8 {
9 this->interfaces.append(new Vec3EditorPlugin{this}); 9 this->interfaces.append(new Vec3EditorPlugin{this});
36 return ""; 36 return "";
37 } 37 }
38 38
39 QString Vec3EditorPlugin::includeFile() const 39 QString Vec3EditorPlugin::includeFile() const
40 { 40 {
41 return "vec3editor.h"; 41 return "widgets/vec3editor.h";
42 } 42 }
43 43
44 QIcon Vec3EditorPlugin::icon() const 44 QIcon Vec3EditorPlugin::icon() const
45 { 45 {
46 return {}; 46 return {};
76 return ""; 76 return "";
77 } 77 }
78 78
79 QString MatrixEditorPlugin::includeFile() const 79 QString MatrixEditorPlugin::includeFile() const
80 { 80 {
81 return "matrixeditor.h"; 81 return "widgets/matrixeditor.h";
82 } 82 }
83 83
84 QIcon MatrixEditorPlugin::icon() const 84 QIcon MatrixEditorPlugin::icon() const
85 { 85 {
86 return {}; 86 return {};
117 return ""; 117 return "";
118 } 118 }
119 119
120 QString ColorButtonPlugin::includeFile() const 120 QString ColorButtonPlugin::includeFile() const
121 { 121 {
122 return "colorbutton.h"; 122 return "widgets/colorbutton.h";
123 } 123 }
124 124
125 QIcon ColorButtonPlugin::icon() const 125 QIcon ColorButtonPlugin::icon() const
126 { 126 {
127 return {}; 127 return {};

mercurial