##// END OF EJS Templates
Removed the visible frame around chart view
Tero Ahola -
r700:4707806c8913
parent child
Show More
@@ -43,6 +43,7 QChartView::QChartView(QWidget *parent) :
43 m_verticalRubberBand(false),
43 m_verticalRubberBand(false),
44 m_horizonalRubberBand(false)
44 m_horizonalRubberBand(false)
45 {
45 {
46 setFrameShape(QFrame::NoFrame);
46 setBackgroundRole(QPalette::Window);
47 setBackgroundRole(QPalette::Window);
47 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
48 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
48 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
49 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
General Comments 0
You need to be logged in to leave comments. Login now