Changeset - 3f00e674e822
[Not reviewed]
barplot
0 1 0
Hasan Yavuz Ă–ZDERYA - 8 years ago 2017-10-07 09:35:29
hy@ozderya.net
show barplot at minimum size
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -283,12 +283,15 @@ void PlotManager::showBarPlot(bool show)
 
    if (show)
 
    {
 
        Q_ASSERT(barPlot == NULL);
 

	
 
        barPlot = new BarPlot(_channelMan, _splitter);
 
        barPlot->darkBackground(darkBackgroundAction.isChecked());
 
        barPlot->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
 
        _splitter->setStretchFactor(0, 1);
 
        _splitter->setStretchFactor(1, 0);
 
    }
 
    else
 
    {
 
        Q_ASSERT(barPlot != NULL);
 

	
 
        delete barPlot;
0 comments (0 inline, 0 general)