Tagged Questions
0
votes
0answers
7 views
Xvfb IO Error: client killed
I'm running the following pyqt application on an xvfb server on amazon ec2 ubuntu 12.04, I get the correct ouput from the qt application but I always get the aforementioned error when the app is done. ...
1
vote
1answer
26 views
python program structure and use of global variables
I have a program completed that does the following:
1)Reads formatted data (a sequence of numbers and associated labels) from serial port in real time.
2)Does minor manipulations to data.
3)plots ...
0
votes
0answers
8 views
Function offloaded to PyQt QThread is 2x slower
I've been trying to optimize my application, and although I made the function run on average 10.06 seconds when I profiled it by itself, when it is put on a QThread, it takes around 17-22 seconds.
...
0
votes
2answers
15 views
PyQt - Implement a QAbstractTableModel for display in QTableView
I would like to display a pandas data frame in a PyQt table. I have made some progress with this, but have not been able to correctly derive the Table Model class. Any help with this would be much ...
0
votes
1answer
12 views
Fatal error while compiling PyQt5: Python.h does not exist
I'm trying to install PyQt5 on my Ubuntu 12.04 box. So after downloading it from here I untarred it, ran python configure.py and make. Make however, results in the following:
cd qpy/ && ( ...
0
votes
2answers
22 views
In PyQt, how can I save the items and selected item in a combobox
I populate my combo box and the user selects one of the options. Then they close everything.
At a later date the user may open the window again and it would be tedious to ask them to retype and ...
0
votes
0answers
8 views
How to pass nothing for QFlag options in PyQt
I have a feeling this is going to end up being a dumb question and that I have missed something obvious, but here it goes anyway!
How do I go about providing nothing when it comes to QFlag options in ...
0
votes
0answers
10 views
QRegExpValidator for Validating Windows File Name
Problem: Would like a compact python regex expression for validating a user input file name (not path, just the name of the file) for windows 7, xp, vista. This is the regular expression that would be ...
0
votes
1answer
20 views
Python - matplotlib - PyQT: Copy image to clipboard
I want to copy the current figure of matplotlib to the clipboard:
this code doens't work(for testing purposes, I want to save the bitmap to disk later on I will use it as a bitmap-image. I want to ...
0
votes
2answers
166 views
Python Referencing
I want to read data from a text field. The name of the text field is not defined of found in the other class with methods of reading the text field. The textfield is defined in the Design class. now ...
4
votes
2answers
4k views
How to get the physical interface IP address from an interface
What I have done so far, using PyQt classes:
all_Addresses = QNetworkInterface.allAddresses() #list-of-QHostAddress
for addr in all_Addresses:
print(addr.toString())
Output:
172.16.0.186 - ...
0
votes
0answers
7 views
use web2py to show Qt4/PyQt Widgets
I want to implement a written application in Qt4/PyQt as a web application. For that appliance I have chosen web2py as IDE.
I think there are existing different ways. The first is to create some ...
1
vote
5answers
220 views
Considerations for python gui toolkit for app that queries remote database? [on hold]
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
8 views
I need more attributes on my QStandardItem
I have a QStandardModel and a QStandardItem, but I seem to be unable to enhance my item to be really useful
All I really need are four attributes:
an arbitrary object (say, a numpy ndarray), ...
0
votes
0answers
4 views
PyQt “StackedWidgetView” for QStandardItemModel?
I have a class that inherits QStandardItem, used in a QStandardItemModel, and one of its attributes is a QWidget.
My application basically consists of a QTreeView, allowing you to see what objects ...