Skip to content
Permalink
Browse files

Remove invert check box from glow effect widget, was never hooked up

  • Loading branch information
nyalldawson committed Oct 8, 2015
1 parent af6f467 commit 88976c22243d57a1f0a5f41e479fef0488a3dce3
Showing with 1 addition and 26 deletions.
  1. +0 −1 src/gui/effects/qgspainteffectwidget.cpp
  2. +1 −25 src/ui/effects/widget_glow.ui
@@ -469,7 +469,6 @@ void QgsGlowWidget::initGui()
radioColorRamp->setChecked( mEffect->colorType() == QgsGlowEffect::ColorRamp );
mRampComboBox->setEnabled( mEffect->colorType() == QgsGlowEffect::ColorRamp );
mButtonEditRamp->setEnabled( mEffect->colorType() == QgsGlowEffect::ColorRamp );
mInvertCheckBox->setEnabled( mEffect->colorType() == QgsGlowEffect::ColorRamp );
mDrawModeComboBox->setDrawMode( mEffect->drawMode() );

blockSignals( false );
@@ -135,7 +135,7 @@
</widget>
</item>
<item row="4" column="1" colspan="2">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,0">
<layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0">
<item>
<widget class="QgsColorRampComboBox" name="mRampComboBox"/>
</item>
@@ -152,13 +152,6 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="mInvertCheckBox">
<property name="text">
<string>Invert</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="5" column="1" colspan="2">
@@ -298,7 +291,6 @@
<tabstop>radioColorRamp</tabstop>
<tabstop>mRampComboBox</tabstop>
<tabstop>mButtonEditRamp</tabstop>
<tabstop>mInvertCheckBox</tabstop>
<tabstop>mBlendCmbBx</tabstop>
<tabstop>mDrawModeComboBox</tabstop>
</tabstops>
@@ -352,21 +344,5 @@
</hint>
</hints>
</connection>
<connection>
<sender>radioColorRamp</sender>
<signal>toggled(bool)</signal>
<receiver>mInvertCheckBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>64</x>
<y>156</y>
</hint>
<hint type="destinationlabel">
<x>506</x>
<y>156</y>
</hint>
</hints>
</connection>
</connections>
</ui>

0 comments on commit 88976c2

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