mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
6f2607fc3c
- DockWidgets inherit from base class and implement the interface - Move setup/refresh code from MainWindow to widgets - Remove unused/uneeded members - Use helper functions - Fix compiler/cppcheck warnings - Cleanup headers
26 lines
407 B
C++
26 lines
407 B
C++
#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
|