@@ -16,6 +16,8 public: | |||
|
16 | 16 | { |
|
17 | 17 | m_scene = new QGraphicsScene(); |
|
18 | 18 | m_view = new QGraphicsView(parent); |
|
19 | m_view->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | |
|
20 | m_view->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); | |
|
19 | 21 | m_view->setScene(m_scene); |
|
20 | 22 | m_chart = new QChart(); |
|
21 | 23 | m_scene->addItem(m_chart); |
General Comments 0
You need to be logged in to leave comments.
Login now