简体   繁体   English

PySide IPC带信号/插槽

[英]PySide IPC with signals/slots

I've been trying to figure out if there's any way to manage IPC in PySide and still take advantage of Qt's signals/slots mechanism. 我一直试图弄清楚是否有办法在PySide中管理IPC并仍然利用Qt的信号/插槽机制。 The QtDBus module sounds great, but it doesn't appear to be available in PySide. QtDBus模块听起来很棒,但它似乎在PySide中不可用。 I came across https://wiki.qt.io/PySide_DBus_Integration on the Qt wiki - but that doesn't seem to get me there. 我在Qt wiki上遇到了https://wiki.qt.io/PySide_DBus_Integration - 但这似乎并没有让我在那里。

Any IPC framework supporting signals/slots would really make my day. 支持信号/插槽的任何IPC框架都将成为我的一天。 Has anyone else had this problem - what was the final verdict? 有没有其他人有这个问题 - 最终的判决是什么?

There are three basic IPC solutions [source] : 有三种基本的IPC解决方案[来源]


  • Pipes 管道
  • Sockets (sockets, ZMQ) 插座(插座,ZMQ)
  • System V IPC, like shared memory, message queue, semaphore, ( DBus ) System V IPC,如共享内存,消息队列,信号量,( DBus

IPython uses ZMQ to solve similar problems. IPython使用ZMQ来解决类似的问题。 Here is some nice documentation about that: IPython QT interface 这里有一些很好的文档: IPython QT接口

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM