Skip to content

Commit

Permalink
Remove invert check box from glow effect widget, was never hooked up
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 8, 2015
1 parent af6f467 commit 88976c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
1 change: 0 additions & 1 deletion src/gui/effects/qgspainteffectwidget.cpp
Expand Up @@ -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 );
Expand Down
26 changes: 1 addition & 25 deletions src/ui/effects/widget_glow.ui
Expand Up @@ -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>
Expand All @@ -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">
Expand Down Expand Up @@ -298,7 +291,6 @@
<tabstop>radioColorRamp</tabstop>
<tabstop>mRampComboBox</tabstop>
<tabstop>mButtonEditRamp</tabstop>
<tabstop>mInvertCheckBox</tabstop>
<tabstop>mBlendCmbBx</tabstop>
<tabstop>mDrawModeComboBox</tabstop>
</tabstops>
Expand Down Expand Up @@ -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.