summaryrefslogtreecommitdiff
path: root/grc/gui/canvas/flowgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* cmake: replace deprecated distutilsVolker Schroer2021-12-201-1/+1
| | | | | | | | | | | * gnuradio: replace deprecated distutils Check if python packaging is available Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com> * Add packaging requirement Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
* grc: pep8 formattingJosh Morman2021-11-241-27/+39
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* grc: Fix desync when dragging blockDavid Winter2021-07-091-4/+10
| | | | | | | | This commit fixes what's basically a broken numerical integration in the block dragging code, leading to a position desynchronization between mouse pointer and block. Signed-off-by: David Winter <david.winter@analog.com>
* grc : fix block can move outside top and left boundaryChristophe SEGUINOT2021-04-061-1/+16
| | | | | | * gui : fix block can move outside top and left boundary Signed-off-by: Christophe Seguinot <christophe.seguinot@univ-lille.fr> Co-authored-by: Sebastian Koslowski <sebastian.koslowski@gmail.com>
* grc: Don't draw disabled and hidden blocks, even if they are selectedHåkon Vågsether2021-01-131-1/+3
| | | | Signed-off-by: Håkon Vågsether <hauk142@gmail.com>
* grc: fix pylint C0330: wrong hanging indentationClayton Smith2020-10-201-1/+1
|
* grc: fix pylint C0326: wrong number of spacesClayton Smith2020-10-201-2/+2
|
* grc: remove sixClayton Smith2020-10-051-2/+0
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-1/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* grc: draw selected elements lastSebastian Koslowski2020-05-281-0/+3
|
* grc: auto-shift colliding blocks when pastingSebastian Koslowski2020-05-281-1/+6
|
* grc: fix pasting connections when block were renamed (fixes #3499)Sebastian Koslowski2020-05-281-14/+11
|
* grc: iterate all selected blocks when changing port type (fixes #3500)Sebastian Koslowski2020-05-281-2/+2
| | | | previously the first hit terminated further processing
* Update license header to SPDX formatdevnulling2020-01-271-13/+2
|
* grc: Fix drag style block connection with auto-hide port labelsCMorin2020-01-031-2/+2
|
* grc: include comments in flowgraph extent calculation (fixes #2854)Sebastian Koslowski2019-11-011-5/+11
| | | | | previously the extent (upper left und lower right bounding points) only included blocks, ports and connections.
* grc: restore copy/paste behaviorJosh Morman2019-07-191-2/+8
| | | | | | | | | Restores the gnuradio 3.7 copy/paste behavior where the variable name is changed to x_# of the copied block if the name is in conflict. The issue in 3.8 was that blocks always got copied as variable_# even when there was no conflict in naming Fixes #2614
* Fix for misc. documentation + trivial typosluz.paz2019-07-171-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
* grc: add busports back into 3.8Josh Morman2019-07-151-1/+7
| | | | | | | | Bus ports had not been added back in since the refactor of grc Hopefully this fully enables busports though there are still some issues with the gr-fec flowgraphs Fixes #2277
* grc: Restore right click menu. Fixes #2062Brennan Ashton2018-11-021-4/+32
|
* Merge branch 'python3_fix' into python3_mergeAndrej Rode2018-06-231-2/+2
|\
| * Merge branch 'merges/next' into merges/python3Sebastian Koslowski2017-10-261-2/+2
| |
* | Fixed pasting blocks from clipboardHåkon Vågsether2018-03-221-27/+16
|/
* grc: added yaml/mako supportSebastian Koslowski2017-06-291-13/+11
| | | | Includes basic converter from XML/Cheetah to YAML/Mako based block format.
* grc: gtk3: drag to connectSebastian Koslowski2017-01-111-11/+45
|
* grc: gtk3: curved connectionsSebastian Koslowski2017-01-111-8/+6
|
* grc: gtk3: reimplemented custom bg colors for param entry boxesSebastian Koslowski2017-01-111-0/+1
|
* grc: gtk3: fix block layout sizes when zoomingSebastian Koslowski2017-01-111-5/+4
|
* grc: gtk3: fix canvas extent after zoomingSebastian Koslowski2017-01-061-8/+5
|
* grc: gtk3: fix multi-block moveSebastian Koslowski2016-09-231-10/+11
|
* grc: refactor: Cleaned up importsSeth Hitefield2016-09-221-1/+2
|
* grc: refactor: move drawables in subpackageSebastian Koslowski2016-09-131-0/+754