Ogi Moore
c3dba791d1
Make equivalent to #807
2021-09-07 20:28:57 -07:00
Ogi Moore
0cfc9cd440
Add GLGradientLegendItem to pyqtgraph
...
Huge thank you to @feketeimre for the initial PR for this feature
Thank you to @pijyoi for re-implementing with no changes needed to
GLViewWidget and supporting QOpenGLWidget vs. QGLWidget.
2021-07-30 20:19:27 -07:00
shikishima-TasakiLab
f13002b251
Add "GLTextItem" ( #1776 )
...
* Add GLTextItem
* Fixed DocString.
* Delete unnecessary function.
* Add `from .items.GLTextItem import *`
* Add an example.
* [Combines two `isinstance()` into one.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046120 )
* [Combines two `isinstance()` into one.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046120 )
* [The long code has been broken up into separate lines.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046234 )
* [Moved `pos`, `color`, `text`, and `font` to the `__init__` method.](https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633047216 )
* Add `import initExample` and fix `mkQApp().exec_()` to `pg.exec()` (https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046878 , https://github.com/pyqtgraph/pyqtgraph/pull/1776#discussion_r633046781 )
* Fix `pg.exec()` to `pg.mkQApp().exec()`
* Revert "Fix `pg.exec()` to `pg.mkQApp().exec()`"
This reverts commit 67d397d803
.
* Remove type-hints.
* Fix `glColor4d(float(self.color[0]), float(self.color[1]), float(self.color[2]), float(self.color[3]))` to `glColor4d(*self.color)`
* Add `value = fn.glColor(value)`
* Remove debug print.
* Add GLGridItem and GLAxisItem
* Remove if-check for "color" argument
* Draw text without using GLUT.
* Divide the text position by the device pixel ratio
* Fixed bare exceptions to ValueError and TypeError.
* Add 'GLTextItem.py' to utils.py.
* Fixed a bare exception to ArgumentErrror.
* Add `__all__ = ['GLTextItem']`
2021-06-05 08:19:54 -07:00
Luke Campagnola
7777240d89
exporters, multiprocess, opengl
2013-12-23 09:46:54 -05:00
Luke Campagnola
b50b94908f
pyqtgraph, .exporters, and .opengl now use static imports
2013-12-21 23:26:02 -05:00
Guillaume Poulin
f2d0991102
Minor fixes for py3k
2013-07-04 05:52:16 +08:00
Luke Campagnola
af59296231
Reorganized directory structure to be more standard
...
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00