Commit Graph

19 Commits

Author SHA1 Message Date
karliss
c2a7fd85a4
Transfer zoom events from overview to main graph. () 2019-07-22 22:28:11 +03:00
Itay Cohen
f9f8e90ac6
Improve Graph Overview Fill and node Colors () 2019-06-05 14:28:05 +03:00
karliss
7bc4dd06bc Always enter mouse drag mode when clicking on overview widget. ()
Fixes .
2019-05-16 14:17:38 +02:00
karliss
13d7de8fae Invalidate overview graph cache when changing color. ()
Fixes .
2019-05-06 10:30:48 +02:00
Florian Märkl
7eb62a976c
Refactor Refresh and Display of Overview () 2019-04-14 14:18:24 +02:00
Florian Märkl
65850d6aee
Replace GraphView::useCache with dirty flag () 2019-04-08 08:59:16 +02:00
karliss
cb51496e4f Separate graph layout code from GraphView. ()
* Separate graph layout code from GraphView.

* Remove formatting and grid layout specific code from GraphLayout.

* Copy edge styles from from main graph view to overview.
2019-04-04 08:54:42 +03:00
xarkes
71ed30a604
Fixed overview basic block highlighting () 2019-03-26 12:07:17 +01:00
Anton Krasnokutskiy
e096f3ee4a DisassemblerGraphView zooming fix ()
* Zooming of DisassemblerGraphView now works to cursor instead of top left corner.

* formatting fix.

* Fix refactor bug.
2019-03-23 10:21:06 +02:00
Vanellope
0be50ac36f Overview optimization ()
* Overview optimization
* Better cache algorithm
* Fix a bug of the multiple graphs
2019-03-12 09:37:10 +02:00
xarkes
ab27e09b91 Splitted Cutter.h and moved everything in core ()
Sometimes it is not necessary to include the whole Cutter.h file
Hence, it's been splitted so you can include only what you require
E.g. #include "core/CutterCommon.h" to have access to the common types
2019-02-22 17:50:45 +01:00
xarkes
a93c5e225f Added a BasicBlock highlighting API 2019-02-21 22:57:26 +01:00
Vanellope
4a9b6182f5 Fix a bug which causes segfault when adding another Graph () 2019-02-19 15:56:50 +00:00
Vanellope
f8cebe0e30 Graph scrolling forever ()
* Replace scroll algorithm with just using offset

* WIP

* Text is now shown properly on each node

* WIP

* Scaling well WIP

* Fix positioning for Graph

* Overview properly displays Rect WIP

* Rect in overview moves along with the mouse WIP

* Overview rect properly moves WIP

* mouse properly moves WIP

* in middle of fixing resizing WIP

* scaling issue WIP

* Properly zooms

* almost done

* Edge width fixed for the overview

* Fixed a small bug

* Clean up
2019-02-16 17:17:11 +00:00
Vanellope
1a132ecf83 Fix an wrong positioning of the rect of Overview ()
* Fix an wrong positioning of the rect of Overview

* Fix commenting and a resizing issue
2019-02-07 20:39:37 +00:00
Vanellope
85a57f9e17 Proper fix for the infinite loop that had occurred to the Overview () 2019-02-03 08:54:28 +01:00
Vanellope
f5709830b9 Fix graph zoom for overview () 2019-01-31 13:14:15 +01:00
xarkes
8c6db6e3bb Fixed infinite recursion in OverviewView ()
It was calling itself at the end of the function
instead of calling the parent's mousePressEvent
function.
2019-01-27 10:55:53 +02:00
Vanellope
b25afecc2c Graph Overview ()
Added a Graph Overview
2019-01-24 18:13:04 +01:00