OverviewView
Public Functions
OverviewView(QWidget *parent)
~OverviewView() override
void setData(int baseWidth, int baseHeight, std::unordered_map<ut64, GraphBlock> baseBlocks, DisassemblerGraphView:: baseEdgeConfigurations)
Graph access this function to set minimum set of the data.
Parameters
baseHeigh – height of Graph when it computed the blocks
baseBlocks – computed blocks passed by Graph
baseEdgeConfigurations – computed by DisassamblerGraphview
void centreRect()
void setRangeRect(QRectF rect)
ut64 currentFcnAddr = RVA_INVALID
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.
Public Slots
void refreshView()
scale and center all nodes in, then run update
Signals
-
signal when mouse is pressed or moved so that Graph can refresh its contents corresponded with Overview