Skip to content
Permalink
Browse files

Open inline

  • Loading branch information
nyalldawson committed Dec 18, 2020
1 parent 24549f0 commit 59e9c63949eeb0f1b34e7cf800b2df997b9f61c0
Showing with 10 additions and 0 deletions.
  1. +8 −0 src/gui/layout/qgslayoutlegendwidget.cpp
  2. +2 −0 src/gui/layout/qgslayoutlegendwidget.h
@@ -1632,6 +1632,14 @@ QgsLayoutLegendNodeWidget::QgsLayoutLegendNodeWidget( QgsLayoutItemLegend *legen
connect( mColumnSplitBehaviorComboBox, qgis::overload<int>::of( &QComboBox::currentIndexChanged ), this, &QgsLayoutLegendNodeWidget::columnSplitChanged );

connect( mColorRampLegendWidget, &QgsColorRampLegendNodeWidget::widgetChanged, this, &QgsLayoutLegendNodeWidget::colorRampLegendChanged );

connectChildPanel( mColorRampLegendWidget );
}

void QgsLayoutLegendNodeWidget::setDockMode( bool dockMode )
{
mColorRampLegendWidget->setDockMode( dockMode );
QgsPanelWidget::setDockMode( dockMode );
}

void QgsLayoutLegendNodeWidget::labelChanged()
@@ -190,6 +190,8 @@ class GUI_EXPORT QgsLayoutLegendNodeWidget: public QgsPanelWidget, private Ui::Q

QgsLayoutLegendNodeWidget( QgsLayoutItemLegend *legend, QgsLayerTreeNode *node, QgsLayerTreeModelLegendNode *legendNode, int originalLegendNodeIndex, QWidget *parent = nullptr );

void setDockMode( bool dockMode ) override;

private slots:

void labelChanged();

0 comments on commit 59e9c63

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