Remove color map sort button, as it is now always automatically sorted

This commit is contained in:
Piers Titus van der Torren 2016-04-06 06:05:22 +02:00 committed by Nyall Dawson
parent 8898d6c6fb
commit 3bd77c72cc
3 changed files with 0 additions and 20 deletions

View File

@ -250,11 +250,6 @@ void QgsSingleBandPseudoColorRendererWidget::on_mNumberOfEntriesSpinBox_valueCha
{
}
void QgsSingleBandPseudoColorRendererWidget::on_mSortButton_clicked()
{
mColormapTreeWidget->sortItems( 0, Qt::AscendingOrder );
}
void QgsSingleBandPseudoColorRendererWidget::on_mClassifyButton_clicked()
{
int bandComboIndex = mBandComboBox->currentIndex();

View File

@ -53,7 +53,6 @@ class GUI_EXPORT QgsSingleBandPseudoColorRendererWidget: public QgsRasterRendere
void on_mAddEntryButton_clicked();
void on_mDeleteEntryButton_clicked();
void on_mNumberOfEntriesSpinBox_valueChanged();
void on_mSortButton_clicked();
void on_mClassifyButton_clicked();
void on_mLoadFromBandButton_clicked();
void on_mLoadFromFileButton_clicked();

View File

@ -239,20 +239,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="mSortButton">
<property name="toolTip">
<string>Sort colormap items</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionArrowDown.png</normaloff>:/images/themes/default/mActionArrowDown.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="mLoadFromBandButton">
<property name="toolTip">