GraphView

class GraphView

Public Types

typedef using GraphView::GraphBlock = GraphLayout::GraphBlock
typedef using GraphView::GraphEdge = GraphLayout::GraphEdge

Public Functions

GraphView(QWidget *parent)
~GraphView()
void showBlock(GraphBlock &block, bool anywhere)
void showBlock(GraphBlock *block, bool anywhere)
void showRectangle(const QRect &rect, bool anywhere)

Move view so that area is visible.

Parameters
  • rect -

    Rectangle to show

  • anywhere -

    - set to true for minimizing movement

QPoint getViewOffset() const
void setViewOffset(QPoint offset)
qreal getViewScale() const
void setViewScale(qreal scale)
void center()
void centerX()
void centerY()

Public Members

ut64 currentFcnAddr

keep the current addr of the fcn of Graph Everytime overview updates its contents, it compares this value with the one in Graph if they aren’t same, then Overview needs to update the pixmap cache.

Signal

signal GraphView::viewOffsetChanged
signal GraphView::viewScaleChanged
struct EdgeConfiguration

Public Members

QColor color
bool start_arrow
bool end_arrow
qreal width_scale