I am trying to plot temperature data points according to their time recording. Note: as you have mentioned t is represented without hour, the reason is that temp been collected in hour:second. t is a string representing the date and time in ISO 8601 format (ref: datetime.datetime.isoformat()) and temp is a floating number. The plot should be in a way
Tag: pyside
how to do a pagination bar in PyQT?
I need to paginate data from SQL tables. I cant find any information about pagination in PyQT or Pyside. Can you help me pls? Answer One way to handle pagination is to use the QStackedWidget for emulating the pages themselves, and regular QLabels as the page links. Then you can override each labels mousePressEvent to emit a signal to the
pyside/pyqt how to animate an arc simply?
I’m looking for a solution, to animate this arc from 0 – 360°. I’m relative new to Pyside/Pyqt and I don’t find such a simple solution (only beginner “unfriedly”). I tried it with while loops aswell, but it doesn’t works. At the moment I don’t understand this animation system, but I want to work on it. Answer QPropertyAnimation is used
The Foundry Nuke – Display an animated value on a QLabel
I am currently trying to display a value in a QLabel (QLineEdit would work too) based on a NUKE (or Maya) timeline. I am using Nuke to run the code and I would like to display the value based on the current frame to display something like this: The current frame is 1001. If I change to frame 1002, I
Is it possible to paint a QGraphicsItem inside the paint() method?
I’m creating a subclass of QGraphicsItem, and this subclass has different places that the user can click. My idea is for each component clicked to create a subclass of QGraphicsItem with mousePressEvent replaced. The problem is how can I merge this component into a subclass of QGraphicItem. Here’s the code I’m trying, but I do not know how to show
Signal emitting in Python causes exit code 139
Im trying to make function, which passes 8 values to the progress bars in window app made with QtDesigner. That is there is a function which actually generates this values. I want to execute it every second in order to get theese values and update progress bars which displays values. I combined tutorials about making a graphic app with Python
QtConcurrent in PySide/PyQt
I’m trying to figure out if subclassing QtConcurrent and writing a run method inside it will work: Or is it completely useless? Answer It’s completely useless, because QtConcurrent is a namespace, not a class. Also, neither PyQt nor PySide provide any of the functionality provided by QtConcurrent, because it’s all template-based and therefore impossible to wrap. PS: the PySide documentation