You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
417 B
C++

#ifndef QTPGRAPHICSVIEW_H
#define QTPGRAPHICSVIEW_H
#include <QtWidgets\qgraphicsview.h>
#include <QtWidgets\qgraphicsscene.h>
#include <QtCore\qjsonobject.h>
class QTpGraphicsView : public QGraphicsView
{
Q_OBJECT
public:
QTpGraphicsView(QWidget * parent = 0, const QJsonObject& jObj = QJsonObject());
~QTpGraphicsView();
private:
QGraphicsScene* m_pScene;
};
#endif // QTPGRAPHICSVIEW_H