pyqtgraph/pyqtgraph
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
..
canvas Clean up Errors for CodeQL analyzer 2021-04-23 22:44:29 -07:00
colors/maps Colormap extension (#1424) 2021-01-04 22:01:30 -08:00
console delete some more Qt4 generated templates 2021-01-31 22:11:49 +08:00
dockarea Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
exporters Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
flowchart Fix indentation bug with flowchart 2021-04-25 20:10:54 -07:00
graphicsItems Merge branch 'master' into test-polyline 2021-06-04 21:06:52 -07:00
GraphicsScene specify that ParameterTree needs 2 columns in .ui 2021-04-24 11:21:12 +08:00
icons GraphIcons: Extend and deprecate previous pixmaps (#1534) 2021-02-05 21:09:59 -08:00
imageview Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
metaarray Replace uses of tempfile.mktemp with tempfile.NamedTemporaryFile 2021-05-31 21:06:16 -07:00
multiprocess fix in-library uses of exec_() 2021-05-14 06:16:21 +08:00
opengl Add "GLTextItem" (#1776) 2021-06-05 08:19:54 -07:00
parametertree Merge branch 'master' into merge-test-data 2021-06-02 22:15:46 -07:00
util Move and Update test-data repo into pyqtgraph repo 2021-05-31 21:05:00 -07:00
widgets Suppress non-relevant deprecation warning 2021-05-31 21:06:16 -07:00
__init__.py implement pg.exec() 2021-05-14 06:16:21 +08:00
colormap.py Make plotting with gradients more fun (#1742) 2021-05-06 23:20:21 -07:00
configfile.py Replace uses of tempfile.mktemp with tempfile.NamedTemporaryFile 2021-05-31 21:06:16 -07:00
debug.py Have debug.printExc emits RuntimeWarning 2021-05-31 21:06:16 -07:00
exceptionHandling.py Squashed commit of the following: 2014-08-07 09:03:26 -04:00
frozenSupport.py Added Travis CI support 2014-03-30 02:51:32 -04:00
functions_numba.py add usage of numba (for rescale) (#1695) 2021-04-28 22:29:09 -07:00
functions.py Merge branch 'master' into test-polyline 2021-06-04 21:06:52 -07:00
graphicsWindows.py Add actual deprecation warnings 2021-02-11 21:34:02 -08:00
ordereddict.py Deprecate unused/unnecessary modules (#1576) 2021-02-15 09:52:06 -08:00
pgcollections.py Deprecate unused/unnecessary modules (#1576) 2021-02-15 09:52:06 -08:00
PlotData.py import numpy as np for lines 44 and 51 (#1161) 2020-05-30 08:09:25 -07:00
Point.py Revert Point.angle behavior change (#1806) 2021-05-27 08:51:06 -07:00
ptime.py ptime fix - return precision clock time on py3 2020-07-17 09:53:19 +03:00
python2_3.py Qulogic py3 fixes (#1073) 2019-11-12 08:45:42 -08:00
Qt.py Revert "add QApplication.exec() to Qt5 bindings" 2021-05-14 06:16:21 +08:00
reload.py Remove unreachable code 2021-04-25 21:36:23 -07:00
SignalProxy.py SignalProxy: Correct initialization without slot argument and tests (#1392) 2020-10-13 08:50:22 -07:00
SRTTransform3D.py Use math.radians and math.degrees 2021-04-23 22:43:51 -07:00
SRTTransform.py Revert Point.angle behavior change (#1806) 2021-05-27 08:51:06 -07:00
ThreadsafeTimer.py Fix some warnings 2020-07-13 21:09:31 -07:00
Transform3D.py Fix transform3D for pyside2 2018-05-23 21:30:02 -07:00
units.py add unicode units (#1471) 2021-01-03 14:28:56 -08:00
Vector.py fix: QVector3D has no copy constructor 2021-05-13 08:23:06 +08:00
WidgetGroup.py WidgetGroup.py : PyQt6 was taking PyQt4 codepath 2021-01-23 08:29:51 +08:00