Merge with features_quality_side_bar

This commit is contained in:
jfmcarreira committed 2014-06-28 23:25:03 +01:00
1 parent 28c09969ce
commit 0212913b5c
8 files changed
+435 -154

No files matched your search

+3 -3
View File
@@ -269,7 +269,7 @@ FramePropertiesSideBar::FramePropertiesSideBar( QWidget* parent, Bool *pbIsPlayi
// -------------------------------------------------------------
histogramWidget = new HistogramWidget( 256, 140 );
histogramWidget = new HistogramWidget( 256, 100 );
histogramWidget->setOptions( HistogramWidget::BlinkComputation | HistogramWidget::SelectMode | HistogramWidget::ShowLumaChannel );
histogramWidget->setWhatsThis( tr( "<p>This is the histogram drawing of "
"the selected image channel" ) );
@@ -484,11 +484,11 @@ Void FramePropertiesSideBar::setSelection( const QRect &selectionArea )
if( selectionArea.isValid() )
{
histogramWidget->stopHistogramComputation();
//histogramWidget->updateSelectionData( new PlaYUVerFrame(m_pcFrame selectionArea));
histogramWidget->updateSelectionData( new PlaYUVerFrame(m_pcFrame));
histogramWidget->updateSelectionData( new PlaYUVerFrame(m_pcFrame, selectionArea));
fullImageButton->show();
selectionImageButton->show();
selectionImageButton->click();
slotRenderingChanged( HistogramWidget::ImageSelectionHistogram );
}
else
{