mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +00:00
30 lines
444 B
C
30 lines
444 B
C
|
#ifndef GRAPHICSBAR_H
|
||
|
#define GRAPHICSBAR_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
#include <QToolBar>
|
||
|
#include <QGraphicsView>
|
||
|
|
||
|
class MainWindow;
|
||
|
|
||
|
class GraphicsBar : public QToolBar
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit GraphicsBar(MainWindow *main, QWidget *parent = 0);
|
||
|
QGraphicsView *codeGraphic;
|
||
|
|
||
|
public slots:
|
||
|
void paintEvent(QPaintEvent *event);
|
||
|
void fillData();
|
||
|
|
||
|
private:
|
||
|
MainWindow *main;
|
||
|
|
||
|
public slots:
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // GRAPHICSBAR_H
|