-2
votes
1answer
15 views

How to display login windows before display main windows

Good Morning, i'm developing an app in PyQt, my problem is, that i have develop the main window and from that i run the login window, what i like to do now is, when running the program, the login ...
0
votes
1answer
9 views

pyqt4: Making Qtableview reflect the changes after calling QStandardItem.setData

I'm trying to build a gui using pyqt4 and am having trouble updating fields on a Qtableview Here's my code: table=QTableView(myqMainWindow) model=QStandardItemModel(0,1,table) item1= ...
-1
votes
0answers
51 views

PyQt: “ValueError: unknown API 'QString'”

After searching, I've given up, and came here for an answer(if it is possible). First of all, I must say I have little to no experience with Linux and Python. The problem: I must port a program made ...
0
votes
0answers
22 views

Python PyQt4 Qtabwidget position west and horizontal text alignment [duplicate]

How do i make my QTabWidget 's texts to display horizontally when i set the position of QTabWiget to 2 (west - left side of the screen)? After looking around, someone stated that it could be done ...
0
votes
1answer
17 views

PyQt multiple tablewidgets and tabwidgets

My objective is to display 10 or more QTabWidget in a single QMainWindow, each tab holding a unique QLabel and QTableWidget. Something like this: Even though i managed to get the intended result by ...
0
votes
1answer
21 views

What tool to simulate rfid events on windows (python-win32 compatible?)

I'm building a medical application that should respond to a RFID card scan (and pop up some information). I'm using PyQT to build this, btw. Could someone tell me what tool to use to simulate rfid ...
1
vote
0answers
35 views

PySide with PyQwt

I have a app that using PyQt/PyQwt, now I want to transform the PyQt to PySide but I don't know if PyQwt can work with PySide, it seems PyQwt is binded with PyQt. So is there a way that allow me to ...
0
votes
0answers
32 views

Simplifying a QPainterPath to an outline

I'm creating a custom drawing application using a QGraphicsScene in PySide - I want to be able to draw complex shapes and have the user interact with them via mouse. To accomplish this I created a ...
0
votes
0answers
32 views

QGIS form without button: where to link my logic?

QGIS 2.0 has changed the visualisation of a form opened from the attribute table: now the form is opened in the same windows and all the buttons (Ok, Cancel) disappear... It seems that these button ...
0
votes
1answer
13 views

Tkinter .focus_set() equivalent in PyQt4

I have a Qlineedit widget which i will use to accept the username. It will be displayed as soon as user launch the application. I want the Qlineedit widget ready for typing (ie, with cursor already in ...
0
votes
2answers
42 views

Programmatically Toggle a Python PyQt QPushbutton

Is it possible to programmatically toggle a QPushButton? I have a checkable QPushButton that a user presses to start a process. When the process is done, how can the button's state be changed to ...
0
votes
2answers
60 views

PyQt4: Conventional multithreaded UI over Signal/Slot mechanism?

Anyone who has worked with Multithreaded PyQt4 apps? I was just wondering if the inbuilt signal/slot mechanism coupled with QtThread of PyQt4 framework has any benefit over the standard Python threads ...
1
vote
1answer
33 views

Why does itemAt() not always find QGraphicsItem

Consider this extremely simple example in which you can drag a square around a QGraphicsScene (using PyQt, C++ users read self as this) import sys from PyQt4 import QtGui, QtCore class ...
1
vote
0answers
33 views

What methods are called when I drag within a QGraphicsScene

I would like to be able to drag instances of QGraphicsItem around in a QGraphicsScene and invoke custom code when the user stops dragging. I can make the graphics items draggable with the following ...
0
votes
0answers
24 views

repeatingly using subprocess.popen

I need to repeatingly check for a value that is delivered by the system, so I have to use subprocess.popen out off my application. I make it this way and it works: def check(self): ...

15 30 50 per page