Hi David,
While the guy above me was being mean to you for some unclear reason, he is
not all wrong.

I suggest you should google “Plotting PyQt5” or “PyQt5 and pyqtgraph”. I
remember there are a few very nice tutorials out there. The thing you are
looking for is to embedded a custom widget to your GUI. That custom widget
can be a PlotWidget (which is from pyqtgraph package).

On Mon, 1 Jun 2020 at 7:52 pm, Jerzy Karczmarczuk <
[email protected]> wrote:

> Le 01/06/2020 à 11:16, David Francis a écrit :
>
> Hi, I am new to programming but have managed to design a GUI interface for my 
> project. I would now like to have a graph on my GUI but when I add one it 
> takes over the whole window... is there a way of imbedding a graph into a 
> text box??
>
> 1. A text box is a text box. I wouldn't recommend embedding whatever into
> it.
>
> 2. "takes over the whole window" ?? Did you read the docs concerning
> PlotWidget etc.?
>
> 3. Did you launch *pyqtgraph.examples.run()*, and thoroughly look the
> sources? You will see there some embedding examples
>
> 4. Google is not your foe!
>
>
> https://www.learnpyqt.com/courses/qt-creator/embed-pyqtgraph-custom-widgets-qt-app/
>
>
> https://stackoverflow.com/questions/45872255/embed-a-pyqtgraph-plot-into-a-qt-ui
>
> ==
>
> Sorry for being nasty, but if you are a beginner, and instead of doing
> some work you immediately cry "help!", you will remain a beginner forever.
>
>
> Jerzy Karczmarczuk
> /Caen, France/
>
>
> --
> 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/3300ca3d-a082-a1d8-14d6-ee22bfde86ee%40gmail.com
> <https://groups.google.com/d/msgid/pyqtgraph/3300ca3d-a082-a1d8-14d6-ee22bfde86ee%40gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Thanks & Regards
Anh Tran

-- 
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/CA%2BJyws4em2ob_r8qCp%2Bk2FjwAsntYC6Hy%2BgVuZ0Y232vvmFXZQ%40mail.gmail.com.

Reply via email to