Since this seems to be a common issue and there doesn't seem to be a single 
document walking through the entire process, I put together a simple 
example and an explanation of the steps involved in embedding pyqtgraph 
plots in a PyQt UI.

https://github.com/ixjlyons/embed-pyqtgraph-tutorial

If you need more details and/or better explanations of the steps involved, 
feel free to open an issue.

On Wednesday, July 20, 2016 at 12:11:34 PM UTC-7, Sean Bellefeuille wrote:
>
> Hi everyone,
> I was wondering if someone could help me out. Similarly to the other posts 
> I am trying to build graphs for my GUI application. I have been using 
> designer and I used the graphics view. I converted my code to and I can now 
> edit it but I know that I have to add my graph somewhere in here and don't 
> know where to add it. I was wondering if anyone had any example or could 
> walk me through how to add a graph to a GUI.
>
> Thank you!
>
> Sean
>
> On Thursday, August 30, 2012 at 8:51:30 AM UTC-4, Mike wrote:
>>
>> Hi,
>>
>> I am writing a program to analyse series of images (using the great ROI 
>> classes). I would like write a full application with a menu bar with menu 
>> items. I think that I need to embed pyqtgraph within pyqt4 to achieve this. 
>> Are there any examples of doing this? 
>>
>> There is mention in the docs about using pyqt designer, but i thought 
>> there may be some code to do this. Most of the pyqtgraph examples have the 
>> following lines:
>>
>> app = QtGui.QApplication([])
>> w   = pg.GraphicsWindow(size=(800,800), border=True)
>>
>> but looking at the pyqt examples, i need to write a MainWindow class and 
>> a class to show an image. How would I go about this? Do I have the right 
>> approach?
>>
>> Cheers,
>> Mike
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/abbaf89c-7384-4f68-a5ad-149e17379388%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to