<cr1901_modern>
rjo: Hey, did you know that coloring sliders two different colors is REALLY hard (TM) w/ a custom widget. I'll get to that later so you can distinguish max from min when they reverse directions, but that's taking me deep down the Qt Rabbit Hole
<rjo>
cr1901_modern: isn't there a PNG for the slider?
<rjo>
cr1901_modern: OTOH exposing the direction visually is not that important.
<rjo>
cr1901_modern: people can look at the spin boxes. to swap direction they have to do two drags with the mouse anyway.
<rjo>
cr1901_modern: and maybe having the "stop" slider be on top (and thus the only one carrying the selection visual marker) is not that bad...
<cr1901_modern>
rjo: I'm wasn't aware of one? I could probably add one using Stylesheets
<cr1901_modern>
wasn't aware of a PNG*
<rjo>
cr1901_modern: i just vaguely remember seeing the retrievel of a theme's png in some stackoverflow question.
<rjo>
retrieval
<rjo>
but that may have been something else.
<cr1901_modern>
Ahh, I decided not to go that route b/c the person in question was treating a QLabel and the second QSlider, and I didn't feel like that was a proper solution.
<whitequark>
just use a QML style
early` has joined #m-labs
<cr1901_modern>
I guess I could try a stylesheet. I had a reason for avoiding them previously, but I no longer remember what it was. Guess I'll find out
early has quit [*.net *.split]
<cr1901_modern>
Oh wait... it seems QML is something different!
ylamarre has quit [Read error: Connection reset by peer]
ylamarre has joined #m-labs
<whitequark>
the stylesheets are the same
<cr1901_modern>
rjo: In case you are wondering, Qxt creates a dual slider by querying Qt for information about how to draw the slider widget before it actually draws, and then drawing each component of a slider one at a time, including the second slider. The same classes can be used to query whether the mouse is clicked over each widget component.
<cr1901_modern>
I was trying to see if I can use te same classes (QStyle) to change the color, and so far nothing I tried has worked. So I'll try a stylesheet next and see if I can make QStyle happy with it.
ylamarre has quit [Read error: Connection reset by peer]
<rjo>
there are so many places where we try to start subprocesses in similar environments than the parent. why don't we add a little "artiq_start.py" that sets sys.path and then behaves like "python -m". artiq_start would be run by filename (and each subprcess starter needs to determine where "its" artiq_start.py is.
* whitequark
will implement whatever you agree on, just do agree on something
<rjo>
and PYTHONPATH can be tricky imho. you would need to prepend.
<rjo>
sb0___: ok to merge artiq/increase-runtime-size? whitequark: can you imagine the runtime ever growing beyond 512 kB? even with an ocaml+haskel+rust networks stack and corresponding support?
<rjo>
it seems more likely that the flash_sotrage grows a lot and beyond a sector.
<rjo>
and why is the kc705 runtime also that large? it should not have ppp.