Skip to content

Commit

Permalink
Emit changed signal in unit combo box slots
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Mar 12, 2013
1 parent a477956 commit 588ceb9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Expand Up @@ -186,6 +186,7 @@ void QgsSimpleLineSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChange
{
mLayer->setOffsetUnit(( QgsSymbolV2::OutputUnit )index );
}
emit changed();
}

void QgsSimpleLineSymbolLayerV2Widget::on_mDashPatternUnitComboBox_currentIndexChanged( int index )
Expand All @@ -194,6 +195,7 @@ void QgsSimpleLineSymbolLayerV2Widget::on_mDashPatternUnitComboBox_currentIndexC
{
mLayer->setCustomDashPatternUnit(( QgsSymbolV2::OutputUnit )index );
}
emit changed();
}

void QgsSimpleLineSymbolLayerV2Widget::updatePatternIcon()
Expand Down Expand Up @@ -354,6 +356,7 @@ void QgsSimpleMarkerSymbolLayerV2Widget::on_mSizeUnitComboBox_currentIndexChange
if ( mLayer )
{
mLayer->setSizeUnit(( QgsSymbolV2::OutputUnit ) index );
emit changed();
}
}

Expand All @@ -362,6 +365,7 @@ void QgsSimpleMarkerSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChan
if ( mLayer )
{
mLayer->setOffsetUnit(( QgsSymbolV2::OutputUnit ) index );
emit changed();
}
}

Expand Down Expand Up @@ -570,6 +574,7 @@ void QgsMarkerLineSymbolLayerV2Widget::on_mIntervalUnitComboBox_currentIndexChan
{
mLayer->setIntervalUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

void QgsMarkerLineSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChanged( int index )
Expand All @@ -578,6 +583,7 @@ void QgsMarkerLineSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChange
{
mLayer->setOffsetUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

///////////
Expand Down Expand Up @@ -950,6 +956,7 @@ void QgsSvgMarkerSymbolLayerV2Widget::on_mSizeUnitComboBox_currentIndexChanged(
{
mLayer->setSizeUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

void QgsSvgMarkerSymbolLayerV2Widget::on_mBorderWidthUnitComboBox_currentIndexChanged( int index )
Expand All @@ -958,6 +965,7 @@ void QgsSvgMarkerSymbolLayerV2Widget::on_mBorderWidthUnitComboBox_currentIndexCh
{
mLayer->setOutlineWidthUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

void QgsSvgMarkerSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChanged( int index )
Expand All @@ -966,6 +974,7 @@ void QgsSvgMarkerSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChanged
{
mLayer->setOffsetUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

///////////////
Expand Down Expand Up @@ -1032,6 +1041,7 @@ void QgsLineDecorationSymbolLayerV2Widget::on_mWidthUnitComboBox_currentIndexCha
{
mLayer->setWidthUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

/////////////
Expand Down Expand Up @@ -1498,6 +1508,7 @@ void QgsFontMarkerSymbolLayerV2Widget::on_mSizeUnitComboBox_currentIndexChanged(
{
mLayer->setSizeUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}

void QgsFontMarkerSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChanged( int index )
Expand All @@ -1506,6 +1517,7 @@ void QgsFontMarkerSymbolLayerV2Widget::on_mOffsetUnitComboBox_currentIndexChange
{
mLayer->setOffsetUnit(( QgsSymbolV2::OutputUnit ) index );
}
emit changed();
}


Expand Down

0 comments on commit 588ceb9

Please sign in to comment.