[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] How to use Q_NOREPLY on Pyqt5?
From:       Gabriel de Souza Fedel <gabriel.fedel () lnls ! br>
Date:       2018-04-26 11:14:45
Message-ID: 7aeda736-34a4-a778-67d5-2dcf5b88f75a () lnls ! br
[Download RAW message or body]



On 25-04-2018 13:46, Phil Thompson wrote:
> On 25 Apr 2018, at 5:23 pm, Gabriel de Souza Fedel <gabriel.fedel@lnls.br> wrote:
> > 
> > Hello,
> > 
> > I'm using QtDbus, from PyQt5 and would like to use macro Q_NOREPLY ( \
> > https://doc.qt.io/qt-5.10/qdbusabstractadaptor.html#Q_NOREPLY ) 
> > Someone knows how use it with PyQt5 ?
> 
> You can't. You have to set the mode to NoBlock when making the call.
> 
> Phil
> 
Thank you!

I'm trying to find an way to allow my adaptor doesn't block until some 
operation are running (and then could answer another calls)...
Do you know if there is an way to do this? (prefer using some "dbus 
resource") ?

Or I need to use something like threads or asynchronous programming for 
that?



-- 
Gabriel Fedel
Software de Operação das Linhas de Luz
Laboratório Nacional de Luz Síncrotron – (LNLS)
Centro Nacional de Pesquisa em Energia e Materiais (CNPEM)
gabriel.fedel@lnls.br | +55 (19) 3512 1226
www.lnls.cnpem.br
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic