Hi! were you able to embed your pyqtgraph? I'm trying the same with a plot I created using pyqtgraph
On Monday, December 16, 2013 at 6:26:26 AM UTC-6, Su-Shin Ang wrote: > > Hi all, > > I am trying to embed a pyqtgraph, i.e a PlotWidget, into a GraphicsView > window created within qt designer. I followed the steps included in the > documentation: > > "Pyqtgraph’s widgets can be included in Designer’s ui files via the > “Promote To...” functionality: > > 1. In Designer, create a QGraphicsView widget (“Graphics View” under > the “Display Widgets” category). > 2. Right-click on the QGraphicsView and select “Promote To...”. > 3. Under “Promoted class name”, enter the class name you wish to use > (“PlotWidget”, “GraphicsLayoutWidget”, etc). > 4. Under “Header file”, enter “pyqtgraph”. > 5. Click “Add”, then click “Promote”." > > After this, how do I use the methods within the widget? I saw some > suggestions about doing this in the Main Window class? Is that the right > place to do so? If possible, I would really appreciate a code stub, > providing an example of how the widget might be deployed. > > Thanks in advance! > Ed > > > -- 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/7a90d708-f12a-46bb-ba5b-775eab08fe09%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
