ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

8 August 2021
2021-08-08×
8 August 2021
hey guys its me again xd , i'm trying to connect a slider with python, what properties should be used for do this connection ? :c for example when i was connected my button , i used the property "onClicked" , in this case . what should be use?
I have these options
Фотография
click to show
D
I want to receive the values that the slider sends me
bayangtext not yet in the index
Oh seems like you may not have seen @QmlElement in use. Super easy now - you can register the python type with QML and just do: Worker { id: worker forecastSource: "forecast.json" } And then elsewhere in your QML refer to worker.forecast, presuming you set up your Worker class with forecastSource and forecast Properties.
I think we have some examples that show this, but if we don't, I can make one.
I can share my PillCounter code as well.
Ricardotext not yet in the index
? Not sure what your question is? The idea is for nurses to dump a bottle of pills onto a surface above which is an RPi webcam that takes a photo of the surface, feeds into my logic, and displays a result of how many pills it finds.
At first I pictured something just to keep track of use.
So I was thinking that programs that you use to control use of a medicine would somehow work in a unnecessary complex way.
R
But now that you mentioned the use to count over a balcony, it made sense! My bad.
K
This kind of thing doesn't require any medical certifications - to just count things. At least not at my girlfriend's work. If it was keeping track of use that sounds like it would be something very controlled (medical patient privacy stuff, and probably other regulations).
Going slightly back to the QML imports topic: it is indeed a not very clear system. For example, currently I have several QML files with different widgets but they still communicates through the global id properties. Hence, these modules are not truly isolated, such approach just helps not to overflow file with thousands lines of code but doesn't completely separate the code. I don’t fully understand how one file can reach another one trough a such mechanics. JS or Python import system seems more logical than QML one to me. Though, this still can be like this due to my lack of knowledge/biases to other languages and it is an off-topic for this chat, anyway.
U
In two words, what are the main issues preventing the implementation of packaging pipeline? For QML apps. I mean, I remember several years ago I've successfully bundled PyQt5 app (with some graphical assets) via Pyinstaller. I see some worries in this chat from time to time regarding the packaging, what are those particular drawbacks everyone talking about? Is something totally different in the PySide world?
K
D
Фотография
click to show
hey guys, how I change that frame In my group box?
You can change the background with a rectangle with transparent color
B
background : Rectangle { color: "transparent" }
I tried with your code but now everything disappeared xd
sorry ,It's work fine xd
the thing is that I wrote wrong the code
but it's works very well , thank you very much
D
Фотография
click to show
hi everyone , how I change the color of this Dial
Calendar: August 2021
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog