##// END OF EJS Templates
Use window's palette for chart view by default
Tero Ahola -
r664:bbf0ad86a73c
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 setBackgroundRole(QPalette::Window);
46 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
47 setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
47 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
48 setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
48 setScene(m_scene);
49 setScene(m_scene);
General Comments 0
You need to be logged in to leave comments. Login now