cutter/src/widgets/CodeGraphic.h

26 lines
407 B
C
Raw Normal View History

#ifndef GRAPHICSBAR_H
#define GRAPHICSBAR_H
#include <QToolBar>
class MainWindow;
class QGraphicsView;
class GraphicsBar : public QToolBar
{
Q_OBJECT
public:
explicit GraphicsBar(MainWindow *main, QWidget *parent = 0);
public slots:
void paintEvent(QPaintEvent *event);
void fillData();
private:
MainWindow *main;
QGraphicsView *codeGraphic;
};
#endif // GRAPHICSBAR_H