id 942897553Never liked JS either but in the context of QML i find it quite helpful, like it doesn't "get in the way"
Studying a little more before going to sleep and blaming the achol on my blood stream, on click event was not returning the expected index from the Array used as a model on the combobox.
Before turning off the computer I copy and pasted that array on my browser console: JS will use THE SAME INDEX FOR EQUAL NUMBERS ON THAT ARRAY!
So: [2,4,6,6,9] -- if you do findIndex it will return only the first result.... 🙃🙃🙃
Unless there's another method for this.
Keith KyzivatCan you update the regexp when you know the values?
I thought about creating "on the go" the pattern, but not sure if that would rok.
рI |qHey 👋
I’m trying to style a QLineEdit with a stylesheet. When the QLineEdit is active an outer border appears. Can anyone help me understand how to access it for styling?
I’ve tried
QLineEdit:hover
QLineEdit:focus
QLineEdit:active
QLineEdit:inactive
None worked
figured it out. probably macOS specific setAttribute(QtCore.Qt.WA_MacShowFocusRect, 0)
рI |qHey 👋
I’m trying to style a QLineEdit with a stylesheet. When the QLineEdit is active an outer border appears. Can anyone help me understand how to access it for styling?
I’ve tried
QLineEdit:hover
QLineEdit:focus
QLineEdit:active
QLineEdit:inactive
None worked
This is definitely something that happens only on MacOS
id 942897553the combobox is one of those widgets that i find to be much easier to customize when used as a QWidget (c++/pyqt) rather than from QML
I'm almost regretting using Qml for this small project, to be honest. Also, I think I will use another widget instead of the combos.
RicardoHave I dreamed someone asked here about communication between 2 different GUIs?
My general guidance is Qt Remote Objects, but really, there's a million ways you can do it.
Keith KyzivatMy general guidance is Qt Remote Objects, but really, there's a million ways you can do it.
Sure thing! I'm not sure if someone posted and removed, but I'd say it would be possible to use sockets, perhaps. I never needed to do these types of communication, so I'm just using my common sense.