I've been experimenting with improving the performance of PyQtGraph.. specifically I'd like to instantiate my Widget, and pass it it a pipe. Is there a way to do that without creating a custom class that extends both a pyqt widget and multiprocessing? For example, this inherits from ONLY Qt, class MainWindowReceiver(QtWidgets.QMainWindow): def __init__(self, *args, **kwargs): super(MainWindowReceiver, self).__init__(*args, **kwargs) And can be instantiated without passing any argument: main = MainWindowReceiver() main.show() However, if I create a class that inherits from both PyQt AND multiprocessing, class MainWindowReceiver(QtWidgets.QMainWindow , mp.Process): #super(Process, self).__init__(*args, **kwargs) then NONE of these work: out_pipe = mp.Pipe() p1 = MainWindowReceiver(out_pipe) #doesn't work p1 = MainWindowReceiver(pipe=out_pipe) #doesn't work p1 = MainWindowReceiver(,pipe=out_pipe) #doesn't work p1.show() How would the class be constructed, such that instantiation only requires the pipe argument? Alternatively, how would you pass a pipe WITHOUT multiple inheritance?
A very clear presentation. At least 4 stars!😍🤩🤪🤑!
Please keep this coming! I'm still pretty new to pyqt/pyside and i really want to know how to properly make a flexible UI
Excellent video. Cristal clear instructions.
pls complete the series !
Man, I really loved your video and the way you explain it. Please, keep it going.
a link to this playlist should have been in description... or create a seperate playlist for pyqt5
I can't find the playlist on you're profile, what's the name
Hi...is PYQT good for a whiteboard desktop app?
Thank you so much for this tutorial!
Please I'm looking for the next video after this
I've been experimenting with improving the performance of PyQtGraph.. specifically I'd like to instantiate my Widget, and pass it it a pipe.
Is there a way to do that without creating a custom class that extends both a pyqt widget and multiprocessing?
For example, this inherits from ONLY Qt,
class MainWindowReceiver(QtWidgets.QMainWindow):
def __init__(self, *args, **kwargs):
super(MainWindowReceiver, self).__init__(*args, **kwargs)
And can be instantiated without passing any argument:
main = MainWindowReceiver()
main.show()
However, if I create a class that inherits from both PyQt AND multiprocessing,
class MainWindowReceiver(QtWidgets.QMainWindow , mp.Process):
#super(Process, self).__init__(*args, **kwargs)
then NONE of these work:
out_pipe = mp.Pipe()
p1 = MainWindowReceiver(out_pipe) #doesn't work
p1 = MainWindowReceiver(pipe=out_pipe) #doesn't work
p1 = MainWindowReceiver(,pipe=out_pipe) #doesn't work
p1.show()
How would the class be constructed, such that instantiation only requires the pipe argument?
Alternatively, how would you pass a pipe WITHOUT multiple inheritance?
Hello, I suggest you to ask these types of questions on Stackoverflow
where is vertical layout video
in his course
Christian hello! this voice I can recognize!
Very nice, thanks.
Yeah, but PyQt wants you to pay at least $550 to get their GPL license to distribute their software as well as sharing your code.