Skip to content
Permalink
Browse files

add new custom widgets to Qt Designer plugin

  • Loading branch information
3nids committed Aug 20, 2014
1 parent 68bb52f commit eb678e42abb71dccc332b822f0c65d12ee55cd61
@@ -19,10 +19,12 @@

#include "qgscollapsiblegroupboxplugin.h"
#include "qgscolorbuttonplugin.h"
#include "qgscolorbuttonv2plugin.h"
#include "qgsdatadefinedbuttonplugin.h"
#include "qgsfieldcomboboxplugin.h"
#include "qgsfieldexpressionwidgetplugin.h"
#include "qgsmaplayercomboboxplugin.h"
#include "qgsrelationreferencewidgetplugin.h"
#include "qgsscalerangewidgetplugin.h"


@@ -31,10 +33,12 @@ QgisCustomWidgets::QgisCustomWidgets( QObject *parent )
{
mWidgets.append( new QgsCollapsibleGroupBoxPlugin );
mWidgets.append( new QgsColorButtonPlugin );
mWidgets.append( new QgsColorButtonV2Plugin );
mWidgets.append( new QgsDataDefinedButtonPlugin );
mWidgets.append( new QgsFieldComboBoxPlugin );
mWidgets.append( new QgsFieldExpressionWidgetPlugin );
mWidgets.append( new QgsMapLayerComboBoxPlugin );
mWidgets.append( new QgsRelationReferenceWidgetPlugin );
mWidgets.append( new QgsScaleRangeWidgetPlugin );
}

@@ -71,7 +71,7 @@ void QgsRelationReferenceWidgetPlugin::initialize( QDesignerFormEditorInterface

QString QgsRelationReferenceWidgetPlugin::toolTip() const
{
return "Select color";
return "Relation reference";
}

QString QgsRelationReferenceWidgetPlugin::whatsThis() const
@@ -82,7 +82,7 @@ QString QgsRelationReferenceWidgetPlugin::whatsThis() const
QString QgsRelationReferenceWidgetPlugin::domXml() const
{
return QString( "<ui language=\"c++\">\n"
" <widget class=\"%1\" name=\"mColorButton\">\n"
" <widget class=\"%1\" name=\"mRelationReference\">\n"
" <property name=\"geometry\">\n"
" <rect>\n"
" <x>0</x>\n"

0 comments on commit eb678e4

Please sign in to comment.
You can’t perform that action at this time.