linuxcnc/lib/python/qtvcp
Jeff Epler a86ac40e4a
Fix incorrect use of glBitmap
The intent of this use of glBitmap is to move the raster position
without drawing anything. However, it may be required to use None
instead of the empty bytes object for this. I couldn't quite verify
this as I don't have an affected system.

The final argument is the 'bitmap' argument. The use of a NULL bitmap
together with nonzero xmove/ymove parameters is explicitly
documented as a valid way to move the raster position
(including to offscreen positions); doing it with a zero byte bitmap
is apparently unsupported in some OpenGL implementation even if the
width×height of the bitmap is 0 pixels.

https://docs.gl/gl3/glBitmap specifically documents that negative width
and height are errors, but doesn't document that a height or width of 0
is invalid.
2023-01-15 20:52:07 -06:00
..
designer qtvcp dependency changes 2022-12-25 14:24:39 +11:00
lib Fix incorrect use of glBitmap 2023-01-15 20:52:07 -06:00
plugins qtvcp: clean up unused code/modules, whitespace, variable assignments 2022-08-27 08:05:59 -04:00
widgets Merge branch '2.9' 2023-01-13 21:16:21 -08:00
__init__.py qtvcp -introduce basic infrastructure 2019-01-18 18:29:19 -08:00
core.py qtvcp -core: fix setting of default angular jog rate 2023-01-12 19:08:32 -08:00
logger.py qtvcp -logger: change the default name to DEFAULT 2023-01-15 18:04:51 -08:00
qt_action.py qtvcp -qt_action: add set jograte slower/faster functions 2023-01-15 18:04:51 -08:00
qt_istat.py qtvcp -qt_istat: pick better linear jog defaults on metric machines 2023-01-15 18:04:51 -08:00
qt_makegui.py qtvcp : add panel instance reference, fix check for preference 2022-08-07 13:52:48 -07:00
qt_makepins.py qtvcp: clean up unused code/modules, whitespace, variable assignments 2022-08-27 08:05:59 -04:00
qt_pstat.py qtvcp -fix error: panels with no handler files 2023-01-06 14:39:33 -08:00
qt_tstat.py removed future print function imports 2021-10-17 16:50:07 +02:00
qtvcp_handler.py QTVCP_handler 2021-01-25 19:17:03 -06:00
README.txt qtvcp -introduce basic infrastructure 2019-01-18 18:29:19 -08:00
test1.ui qtvcp -introduce basic infrastructure 2019-01-18 18:29:19 -08:00

at the moment to use designer one must create links from (hardy),
Wheezy uses slightly different location
/usr/lib/qt4/designer/python/ (linuxcnc plugins)

to:
RIP_folder /lib/python/qtvcp_widgets/widget_plugins/ (linuxcnc plugins)


for testing purposes there are two test files in RIP_folder /lib/python/qtvcp.
test1.ui is for hal only widgets
loadusr qtvcp test1.ui

test2.ui is for testing/interacting with a running linuxcnc session.
test2 requires the handler file, qtvcp_handler to be loaded.
loadusr qtvcp -u qtvcp_handler test2.ui