- 博客(6)
- 收藏
- 关注
原创 修改pyqtgraph导出视图背景颜色
def writeImage(self, fileName=None): if fileName is None: self.fileDialog = FileDialog() if PlotItem.lastFileDir is not None: self.fileDialog.setDirectory(PlotItem.lastFileDir) self.fileDialo...
2020-09-25 18:20:51 914
原创 pyqtgraph调节graphItem对象往前排或往后排
如果对象是继承自类GraphicsItem,那么可以通过调节对象在图像场景里Z轴位置实现#往前排列data_item.setZValue(10)#往后排列data_item.setZValue(0)
2020-09-25 15:31:46 406
原创 pyqtgraph 在Opengl模式下开启抗锯齿效果
pyqtgraph 在Opengl模式下开启抗锯齿效果修改pyqtgraph源码文件pyqtgraph/widgets/GraphicsView.py def useOpenGL(self, b=True): if b: if not HAVE_OPENGL: raise Exception("Requested to use OpenGL with QGraphicsView, but QtOpenGL modu.
2020-09-25 14:22:33 882
原创 pyqtgraph中在使用Qspliter时崩溃
def render(self): # Convert data to QImage for display. profile = debug.Profiler() if self.image is None or self.image.size == 0: return if isinstance(self.lut, collections.Callable): lut = self.lut(self.image) els.
2020-08-04 10:40:36 186
原创 WIN7下数字签名无法识别
管理员权限运行cmd输入命令:BCDEDIT -SET LOADOPTIONS DISABLE_INTEGRITY_CHECKSBCDEDIT -SET TESTSIGNING ON
2020-07-02 15:10:03 874
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人