Python+PyQt4, QGraphicsScene too small
i want to create a QGraphicsScene and show it in a QGraphicsView. The problem is that my scene is a very small line (2mm-length) ) so i only see pixels in the QGraphicsView-Widget. Is there a way to change the size of the scene so it fits perfect in the GraphicsView-Widget(which has a static size).
I have found the answer: self.graphicsView=QGraphicsView() self.graphicsView.scale(100.0,100.0) Now I can see small objects in my graphicsView.
How to read webpages that are without .htm* extension using Python?
can I use python's 'socket' module to connect to a wireless ethernet host?
Requests VS Urllib 2 [closed]
Call python class from another Python script
How can I use BeautifulSoup to get a few contents that comes after a specific text on a page?
Reinstall python 2.7.12 and python 3.5.2
How to keep chrome browser window open after selenium script finishes on python
Outlook email attachment downloader (Date range)
Create array based on conditional logic of values in other arrays in Python
Python qt - TableWidget update MySQL
Getting black plots with plt.imshow after multiplying image array by a scalar
Updating a value in a Pandas dataframe seems to update all dataframes
4 entry box nummeric keypad
os.walk for loop not executing [duplicate]
python matplotlib polar plot
Django - not showing properly one of my tables in template