Added a Path list editor widget.

On this occasion, fixed qtcreatorwidgets plugin for lib64.
This commit is contained in:
Friedemann Kleint
2009-05-08 12:21:18 +02:00
parent a1e4421657
commit 8b7ee8298f
6 changed files with 398 additions and 1 deletions

View File

@@ -154,6 +154,17 @@ SubmitFieldWidget_CW::SubmitFieldWidget_CW(QObject *parent) :
{
}
PathListEditor_CW::PathListEditor_CW(QObject *parent) :
QObject(parent),
CustomWidget<Core::Utils::PathListEditor>
(QLatin1String("<utils/pathlisteditor.h>"),
false,
QLatin1String(groupC),
QIcon(),
QLatin1String("Edit a path list variable"))
{
}
// -------------- WidgetCollection
WidgetCollection::WidgetCollection(QObject *parent) :
QObject(parent)
@@ -169,6 +180,7 @@ WidgetCollection::WidgetCollection(QObject *parent) :
m_plugins.push_back(new QtColorButton_CW(this));
m_plugins.push_back(new SubmitEditorWidget_CW(this));
m_plugins.push_back(new SubmitFieldWidget_CW(this));
m_plugins.push_back(new PathListEditor_CW(this));
}
QList<QDesignerCustomWidgetInterface*> WidgetCollection::customWidgets() const