#flex-dev Logs

Jan 25 2025

#flex-dev Calendar

04:23 AM JT-Cave: morning
09:06 AM Tom_L: you must have missed my comment on the divide thing
09:12 AM JT-Cave: must have
09:13 AM JT-Cave: I'm going nuts trying to show an image on a QScrollBar buttons
09:13 AM Tom_L: it's in your pm
09:14 AM Tom_L: is QScrollBar image doable?
09:15 AM JT-Cave: I want to replace the arrows with images
09:15 AM Tom_L: is the image in the resource file?
09:16 AM Tom_L: https://www.qtcentre.org/threads/58395-QScrollBar-background-image
09:17 AM Tom_L: may not be possible
09:18 AM Tom_L: https://stackoverflow.com/questions/70919150/how-to-embed-images-in-pyqt5-qscrollbar-elements
09:42 AM JT-Cave: The left-arrow and right-arrow have a solid grey border with a white background. As an alternative, you could also embed the image of an arrow.
09:42 AM JT-Cave: https://doc.qt.io/qt-6/stylesheet-examples.html
09:42 AM JT-Cave: in the qscrollbar example
09:49 AM JT-Cave: got it finally... seems to be a cornfusion in the docs about where to put RESOURCES = resources.py
09:51 AM Tom_L: i thought[DISPLAY]
09:55 AM Tom_L: that's where mine is unless you moved it recently
10:04 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/resources.html
10:04 AM JT-Cave: bottom of page
10:05 AM JT-Cave: but if you ain't looked yet it's already fixed :)
10:06 AM * JT-Cave goes to put the wheels back on the C8 after cleaning them...
10:07 AM JT-Cave: https://pasteboard.co/jHSO4sck0w69.png
10:07 AM JT-Cave: left arrow is mine right is stock
10:17 AM Tom_L: good for a touch screen
10:18 AM Tom_L: hope you made 4 arrows and added them to a resource.py file and images folder
10:27 AM JT-Shop: I added 16 arrows 128x128, 80x80, 50x50 and 30x30
10:37 AM JT-Shop: they are in images/images3