1
vote
2answers
513 views

How to make QDIalog auto-resize to the size of its content?

I'm using PyQt4. I want to show a QTableWidget in a QDialog, and here's the code I use: w = QDialog() layout = QGridLayout() tw = QTableWidget(w) ... code to setup tw ... ...
0
votes
1answer
11 views

Load file into QwebView

I need to create function to create advertisement here: http://www.motosale.com.ua/?add=zap In this adv. should be image. I have decided to create QWebView and insert each field by javascript. But i ...
1
vote
1answer
174 views

Best library for rendering and zooming SVG

I've just started to work with python, so I need someone with experience to point me in right direction. I've made a simple GUI using QT-Designer and when I click the button I want it to load and ...
1
vote
1answer
25 views

Does closing a GUI in PyQt4 destroy its children Qobjects by default

I'm trying to make a GUI that used QTimer to create a state machine, but when ever I close the GUI window the timer continues. I think I'm properly making the object that creates my Qtimer a child of ...
0
votes
1answer
9 views

Returning proper state of radio button in PyQt when it's set in the initialization of the GUI

I have a default_layout function that sets certain items in the GUI to certain states. One of these items is a radio box: radio_algo_a_star. This is how it's set: ...
0
votes
3answers
83 views

Very basic OO: changing attribute of a method

I'm certain this has been asked a million times, but it's difficult to search for something when you don't know the correct terminology :( I'm attempting (again... I've never understood OO, since I ...
0
votes
0answers
13 views

How can I pass a widget as an argument in a function in Pyqt?

I have a function that moves up the selected item in two tables that I have.Until now I am using the answer from here to get the appropriate widget and do the following: def move_up(self): ...
0
votes
2answers
54 views

Considerations for python gui toolkit for app that queries remote database?

I know this question has been asked before but those questions typically lack specific details and result in answers that say something like "It depends what you are trying to do..." so the main gist ...
0
votes
0answers
12 views

Change index of QStackedWidget in pyqt

I have a QListWidget and a QStackedWidget. The QListWidget shows the name of the Widget in the QStackedWidget. In the QListWidget you can rearrange the order of the Widgets via drag and drop. So my ...
1
vote
1answer
73 views
+50

Optimising Python QT apps on retina displays

Qt interfaces currently look horrible on a retina display as they scale up.Its possible to use an Info.Plist for a complied application but does anyone have a solution for dynamic python such as ...
0
votes
1answer
19 views

QtableWidget date field not showing up correctly? QtCore to Python data type conversion?

I'm filling a QTableWidget with data that I read from a QDialog. The data is all sorts; dates, bools, ints, mostly strings. I do the following lines of codes for every value I need to insert into the ...
0
votes
1answer
37 views

How to select an area and fill it with a grid in PyQt?

I've to output few points in an interactively selected region of an image. I'm not familiar with PyQt to select the appropriate elements for the task. Please suggest the right way to do it. Currently, ...
0
votes
1answer
21 views

Multiple Qt instances that need to be called later

So I'm trying to write a continuous data acquisition program that collects voltages from several channels at the same time at a frequency of 10Hz, writes them into a file, puts them in an array to ...
0
votes
0answers
20 views

System path error with PyQt and Py2exe

My Problem: I have this problem where if I try to run py2exe on my python file that uses Pyqt/Pyside I get the following error when trying to run the EXE generated in ...
1
vote
1answer
36 views

Qt - Overlay QGraphicsView over vlc video

I have some troubles to implement VLC player to my project. I need overlay video with QgraphicsView (basicaly canvas) so I be able to draw things. I've tried to do it this way: Point winId pointer ...

1 2 3 4 5 130
15 30 50 per page