File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
#include " qgscollapsiblegroupboxplugin.h"
21
21
#include " qgscolorbuttonplugin.h"
22
+ #include " qgscolorbuttonv2plugin.h"
22
23
#include " qgsdatadefinedbuttonplugin.h"
23
24
#include " qgsfieldcomboboxplugin.h"
24
25
#include " qgsfieldexpressionwidgetplugin.h"
25
26
#include " qgsmaplayercomboboxplugin.h"
27
+ #include " qgsrelationreferencewidgetplugin.h"
26
28
#include " qgsscalerangewidgetplugin.h"
27
29
28
30
@@ -31,10 +33,12 @@ QgisCustomWidgets::QgisCustomWidgets( QObject *parent )
31
33
{
32
34
mWidgets .append ( new QgsCollapsibleGroupBoxPlugin );
33
35
mWidgets .append ( new QgsColorButtonPlugin );
36
+ mWidgets .append ( new QgsColorButtonV2Plugin );
34
37
mWidgets .append ( new QgsDataDefinedButtonPlugin );
35
38
mWidgets .append ( new QgsFieldComboBoxPlugin );
36
39
mWidgets .append ( new QgsFieldExpressionWidgetPlugin );
37
40
mWidgets .append ( new QgsMapLayerComboBoxPlugin );
41
+ mWidgets .append ( new QgsRelationReferenceWidgetPlugin );
38
42
mWidgets .append ( new QgsScaleRangeWidgetPlugin );
39
43
}
40
44
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ void QgsRelationReferenceWidgetPlugin::initialize( QDesignerFormEditorInterface
71
71
72
72
QString QgsRelationReferenceWidgetPlugin::toolTip () const
73
73
{
74
- return " Select color " ;
74
+ return " Relation reference " ;
75
75
}
76
76
77
77
QString QgsRelationReferenceWidgetPlugin::whatsThis () const
@@ -82,7 +82,7 @@ QString QgsRelationReferenceWidgetPlugin::whatsThis() const
82
82
QString QgsRelationReferenceWidgetPlugin::domXml () const
83
83
{
84
84
return QString ( " <ui language=\" c++\" >\n "
85
- " <widget class=\" %1\" name=\" mColorButton \" >\n "
85
+ " <widget class=\" %1\" name=\" mRelationReference \" >\n "
86
86
" <property name=\" geometry\" >\n "
87
87
" <rect>\n "
88
88
" <x>0</x>\n "
You can’t perform that action at this time.
0 commit comments