widgets/designerplugins.cpp

changeset 348
98776f54a8d0
parent 347
5c655cc006de
child 349
673b8dffbe14
equal deleted inserted replaced
347:5c655cc006de 348:98776f54a8d0
1 #include "widgets/designerplugins.h" 1 #include "widgets/designerplugins.h"
2 #include "widgets/vec3editor.h" 2 #include "widgets/vec3editor.h"
3 #include "widgets/matrixeditor.h" 3 #include "widgets/matrixeditor.h"
4 #include "widgets/colorbutton.h" 4 #include "widgets/coloredit.h"
5 5
6 PluginCollection::PluginCollection(QObject* parent) : 6 PluginCollection::PluginCollection(QObject* parent) :
7 QObject{parent} 7 QObject{parent}
8 { 8 {
9 this->interfaces.append(new Vec3EditorPlugin{this}); 9 this->interfaces.append(new Vec3EditorPlugin{this});
97 } 97 }
98 98
99 99
100 QString ColorButtonPlugin::name() const 100 QString ColorButtonPlugin::name() const
101 { 101 {
102 return "ColorButton"; 102 return "ColorEdit";
103 } 103 }
104 104
105 QString ColorButtonPlugin::group() const 105 QString ColorButtonPlugin::group() const
106 { 106 {
107 return CMAKE_PROJECT_NAME; 107 return CMAKE_PROJECT_NAME;
117 return ""; 117 return "";
118 } 118 }
119 119
120 QString ColorButtonPlugin::includeFile() const 120 QString ColorButtonPlugin::includeFile() const
121 { 121 {
122 return "widgets/colorbutton.h"; 122 return "widgets/coloredit.h";
123 } 123 }
124 124
125 QIcon ColorButtonPlugin::icon() const 125 QIcon ColorButtonPlugin::icon() const
126 { 126 {
127 return {}; 127 return {};

mercurial