Questions tagged [pyside]

Questions about using PySide, a Python Qt bindings project.

The PySide project provides LGPL-licensed Python bindings for the Qt cross-platform application and UI framework. PySide Qt bindings allow both free open source and proprietary software development and ultimately aim to support all of the platforms as Qt itself.

3517 questions
1
vote
0 answers

Pyside GPIO popup window Beaglebone Black

So I am trying to have a pop up warning window when a GPIO pin on the Beagleboard is set to high. I have code that works easily in the console using the BBIO Library given my Adafruit. However when using the same logic applied to the pyside library,…
1
vote
1 answer

PySide: reset cursor pos to 0 when clicking in QLineEdit in with input-mask

I'm trying to use a QLineEdit for input of six numbers with an input-mask, but the problem is that when the user clicks in the line-edit, the cursor position is exactly where you click. I'm struggling to make sure it resets the position to the…
1
vote
1 answer

pyside pyqt4 conflict in ipython when running morphotester.py

Trying to run a package in canopy, when I run the package it causes a conflict as pyside appears to be the default whereas the package calls for pyqt4, how can I disable pyside in Ipython, or otherwise deal with the issue? %run…
Tom Lynch
  • 183
  • 1
  • 1
  • 7
1
vote
1 answer

Trigger Close Event for Tabs in PySide QTabWidget

I've written 3 separate widgets and each one contains a'closeEvent'. However the close events are NOT triggered when the widgets are placed as tabs inside the MainWindow. How can I emit a signal to properly fire the 'closeEvent' for each tab when…
JokerMartini
  • 5,674
  • 9
  • 83
  • 193
1
vote
1 answer

Installation of Pyside1.2.4 on Redhat Linux version6.8

I am trying to install Pyside1.2.4 on RHEL 6.8. When I run the setup.py install I get the following error message Failed to find cmake. Please specify cmake with cmake --parameter. Any help would be welcome Regards
Mahesh N.S
  • 11
  • 2
1
vote
1 answer

How to access current QComboBox data inside QTreeWidget

I'm using PySide on this one. I can't seem to access the current text in a combo box that's embedded in a tree widget. What I can get is the current text from the last combo box created. One note, in my main program these combo boxes will be…
Berkyjay
  • 158
  • 1
  • 1
  • 10
1
vote
1 answer

Importing QtGui from pyqtgraph.Qt as *

I am trying to insert a graph in my PySide GUI using pyqtgraph. Objective: keep using wildcard imports for PySide while obeying pyqtgraphs import rules. Apparently, PySide.QtCore and PySide.QtGui needs to be imported through pyqtgraph for the…
Michael Molter
  • 1,296
  • 2
  • 14
  • 37
1
vote
0 answers

QtDesigner widget events not firing

So I am trying to make a label in PySide Qt which, when resized will run my function, I am making the GUI in QtDesigner. The problem is if I make the label through QtDesigner and then try to do: self.window.myLabel.resizeEvent = my_event Then…
1
vote
2 answers

PySide or PyQT SQLite support in Ubuntu

I am running Ubuntu 10.04 Lucid and am developing a application in QT using Python. Today I tried to create a database binding to a SQLite database via QtSQL.QAddDatabase and got the following error: QSqlDatabase: QSQLITE driver not…
Veles
  • 1,512
  • 4
  • 14
  • 28
1
vote
1 answer

Portable PySide libraries?

Is there any way to execute python with pyside on a computer that has only python installed? I need to distribute a simple tool on a lot of computers and we can't install pyside everywhere.
Darkgaze
  • 2,280
  • 6
  • 36
  • 59
1
vote
1 answer

PyQt allowed enumeration values and strings

In PySide I can get the dictionary with possible/allowed enumerator values and their string representations by using values attribute. For example: QtWidgets.QMessageBox.StandardButton.values.items(). How to achieve the same in PyQt4/PyQt5? Is that…
1
vote
1 answer

PyQtGraph not working after move from 32 bit to 64 bit

I've needed to move from 32bit to 64bit Python, and have run into a problem with pyqtgraph plotting. Even the simplest examples are displaying the same behaviour (SimplePlot.py for instance, from the examples folder) Running SimplePlot.py shows the…
mrscruff
  • 47
  • 1
  • 5
1
vote
1 answer

Qt Cross Application Styling Issues

I am writing PySide tools that run within other 3rd party applications. The same tool will run in multiple applications and should be styled consistently across these. The problem I have is, these applications are sometimes using QT themselves and…
1
vote
1 answer

How to use nameFilters with QDirIterator?

In PySide, when I use QDirIterator, how I can filter on files by name? In the documentation, it talks about the parameter nameFilters: https://srinikom.github.io/pyside-docs/PySide/QtCore/QDirIterator.html But when I try it, it doesn't filter the…
JuanPablo
  • 23,792
  • 39
  • 118
  • 164
1
vote
0 answers

Couldn't build PySide2 in mingW

This is second day I'm working on building PySide2 I couldn't build PySide2 via mingW on windows.( with regard to developer orders) Sources and system: Windows 10 x64 Qt 5.6.1 prebuilt : (qt-opensource-windows-x86-mingw492-5.6.1-1.exe) mingw 4.9.2…
Seyfi
  • 1,832
  • 1
  • 20
  • 35