Changeset - 60b1d4871c81
[Not reviewed]
show-symbols
0 1 0
Hasan Yavuz Ă–ZDERYA - 9 years ago 2016-08-30 10:08:32
hy@ozderya.net
update symbol brush on background change
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/plot.cpp
Show inline comments
 
@@ -166,6 +166,7 @@ void Plot::darkBackground(bool enabled)
 
        sZoomer.setPickerPen(QPen(Qt::black));
 
        legend.setTextPen(QPen(Qt::black));
 
    }
 
    updateSymbols();
 
    replot();
 
}
 

	
 
@@ -254,7 +255,7 @@ void Plot::updateSymbols()
 
            if (symbolSize)
 
            {
 
                symbol = new QwtSymbol(QwtSymbol::Ellipse,
 
                                       QBrush(Qt::white),
 
                                       canvasBackground(),
 
                                       curve->pen(),
 
                                       QSize(symbolSize, symbolSize));
 
            }
0 comments (0 inline, 0 general)