mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[ui] resize statistical summary columns to content
This commit is contained in:
parent
bf4ba08a40
commit
ca0cb9b868
@ -251,6 +251,8 @@ void QgsStatisticalSummaryDockWidget::updateNumericStatistics()
|
||||
row++;
|
||||
}
|
||||
|
||||
mStatisticsTable->resizeColumnsToContents();
|
||||
|
||||
gathererFinished();
|
||||
}
|
||||
|
||||
@ -259,7 +261,7 @@ void QgsStatisticalSummaryDockWidget::updateStringStatistics()
|
||||
if ( !mGatherer )
|
||||
return;
|
||||
|
||||
QVariantList values = mGatherer->values();//mLayer->getValues( field, ok, selectedOnly );
|
||||
QVariantList values = mGatherer->values();
|
||||
|
||||
QList< QgsStringStatisticalSummary::Statistic > statsToDisplay;
|
||||
QgsStringStatisticalSummary::Statistics statsToCalc = nullptr;
|
||||
@ -288,6 +290,8 @@ void QgsStatisticalSummaryDockWidget::updateStringStatistics()
|
||||
row++;
|
||||
}
|
||||
|
||||
mStatisticsTable->resizeColumnsToContents();
|
||||
|
||||
gathererFinished();
|
||||
}
|
||||
|
||||
@ -411,6 +415,8 @@ void QgsStatisticalSummaryDockWidget::updateDateTimeStatistics()
|
||||
row++;
|
||||
}
|
||||
|
||||
mStatisticsTable->resizeColumnsToContents();
|
||||
|
||||
gathererFinished();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user