I've made a simple PyQt5 GUI and would like to embed a visualization inside of it. The visualization would be that of CSV data, so nothing too hard. I was wondering if anyone had any suggestions for python visualization libraries that could be embedded inside of a PyQt5 GUI easily?
Related
On a recent project, I've been using PyQt5 designer to make a GUI for a visualization using vpython. As of right now, the vpython visualization is separate from gui and I was wondering if there was a way to get the visualization inside of a QWidget?
Please note that my vpython visualization is currently rendering inside of a local server in my browser
How is it possible to use the py5 tools from library inside a PyQt5 Canvas of a simulation project?
For example, using the py5 sketch as a PyQt5 canvas?
Thank you very much!
Is there any way on using external widgets that are written in C++ in a Python GUI which is made with PyQt5?
I want to use bushuhui qFlightInstruments or merek qFlightInstruments in a GUI which I made for an underwater robot using PyQt5, but I haven't been able to implement this since I don't understand C++.
I'm trying to make a python GUI application that handles some sort of data. Then I expect to make the user capable of manipulating that data using python scripts, form within the GUI, using a script interpreter with the data exposed as pre-existing objects. Pretty much like VBA is embedded in MSWord or the way you can embed python on a C application (see here).
Is there any technique or library to do this?
Has this been achieved in some project before?
One way to do it would be to write a GUI in PyQt, and then embed an iPython console inside the GUI as a GUI widget.
Check out this answer:
Embedding IPython Qt console in a PyQt application
and a couple other suggestions here:
https://github.com/ipython/ipython/issues/9508
A different non-PyQt approach is described here:
https://www.pythoncentral.io/embed-interactive-python-interpreter-console/
I have a python application using PySide, Qt and python. In my application I would like to open and display a pdf document, but have the viewer within the application and not using the default viewer on the operating system.
I have not as of yet been able to find a widget which is capable of doing this or some example code. I have never used these tools before and this is my first Qt & PySide application so I am sure there is a widget which is capable of this but that I am just not aware of it.
I found this post and when I take the sample code I am unable to get any pdf to show and cannot replicate the behaviour of the poster, but I am using python 2.7.3, PySide 1.1.1 so perhaps this is why. The error that I get when trying to run the sample code in the other post is:
QWebInspector: QSettings couldn't read configuration setting [resourceTrackingEnabled].
and the pdfs I would like to render are saved locally, in the same directory as the the python script and not accessible via the web.
Could somebody point me in the direction of some sample code or a Qt widget which I would be able to use to render a pdf?
As an aside, I am not sure that it matters but the pdf will be generated using LaTeX.
Edit --More information--
The program has to run on both Windows and Mac OSX environments but it is just for a personal project which wont be distributed. Using PyQt is not an option as it is not compatible with the python editor that I use and PySide is the requirement. I have read the following link but from what I understood under the Rendering section it said that the 3rd party libraries available worked with C, C++ and Qt not python or PySide but maybe I have misunderstood this?