Stefans Mezulis
c9c0375bf4
Fix type error in signal emission
The `CanvasBox.positionChanged` signal expects to receive `x` and `y` as
`int`s, but they were being passed as `float`s, which mangled them on
the receiving signal handler.
This manifested as huge `x` and `y` values for canvas boxes, and when
saving and loading projects all boxes would hit the edge of the canvas
and get placed at the extreme edge.
2 years ago
falkTX
9994ecf44e
splitted is not a word
3 years ago
falkTX
92ba944c10
Fix Qt version checks, allow canvas eyecandy for >= qt5.12
3 years ago
falkTX
eb12242976
Fix frontend a bit for late messages just before closing
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
ed1e66bc97
Improve performance of inline display rendering
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
de999bf479
patchcanvas: Fix some groupos with inline display becoming too small
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
a1141bfea9
patchcanvas: Fix ports text width calculation
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
7ede965819
Some attention to inline display
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
0f53835c6d
Protect jack metadata usage with a mutex; other position fixes
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
62b91cbe9a
Make canvas ports and groups ignore middle mouse clicks
Fixes #1085
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
43a4087d29
Fix canvas groups getting stuck out of screen with last commits
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
c178105a15
First go at backend-side canvas positions; Safer jack callbacks
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
4a1c2630e1
Disable patchcanvas basic eye-candy (box shadow) causes crashes
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
0f10d81c59
Use PORT_TYPE_PARAMETER for CV ports (brown color)
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
97ccc800d6
Horizontally align inline displays
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
7717aa0e47
Fixes and caching for inline displays
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
a0f7944e39
Add experimental setting for inline displays, disabled by default
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
84fdf404d4
More fixes for high-dpi, import a few theme fixes
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
be7137db07
Scale inline displays on zoom
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
0161d0bde6
Trigger initial canvas item update when inlinedisplay is turned on
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
b7922f3dd5
Experimental inline display inside canvas
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
f645715ec8
Pass flag indicating plugin inlinedisplay support to patchcanvas
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
b17256001b
Add "connect" menu to patchbay clients/boxes
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
1c0371cf72
Cleanup, try to fix canvas crash on mouse release
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
b4bc68a1a9
More Qt workarounds in canvas
If other cases cause crash, these might too perhaps
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
4e8e85f512
Split patchcanvas code into multiple files, fix up
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago