sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
Mon_ has joined #m-labs
Mon_ is now known as Guest42395
Guest42395 has quit [Quit: This computer has gone to sleep]
Mon_1 has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
Mon_1 has quit [Quit: This computer has gone to sleep]
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 245 seconds]
ylamarre has joined #m-labs
ylamarre1 has quit [Ping timeout: 245 seconds]
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 260 seconds]
ylamarre1 has quit [Ping timeout: 260 seconds]
ylamarre has joined #m-labs
fengling has joined #m-labs
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 260 seconds]
sb0 has quit [Read error: Connection reset by peer]
<cr1901_modern>
sb0: It's going okay. As of right now, I have the axis linked to a pyqtgraph viewbox. When the axis is moved (for whatever reason- zoom in, zoom out, slider reached edge of view), it will send a signal to a widget that holds the sliders to recalculate their position.
<cr1901_modern>
Additionally, spinboxes will receive this signal to update their contents.
<cr1901_modern>
I'm trying to use a TickSliderItem in pyqtgraph to implement the sliders themselves, but *may* have run into a potential problem. I'll explain it after I find more info.
* cr1901_modern
holds that thought for the time being.
<cr1901_modern>
Okay TickSliderItem is probably not the best idea b/c no matter what it's going to be scaled by viewbox transformations. A subclassed Region Of Interest (ROI) is probably better.
<rjo>
cr1901_modern: are you sure you need or want to build this on top of pyqtgraph?
fengling has quit [Quit: WeeChat 1.2]
<cr1901_modern>
rjo: The "free axis scaling" of viewbox is nice. I suppose it's just another layer of potential bugs tho
<cr1901_modern>
"free" as in "I don't have to reimplement 1800 lines of QTransform management
sb0 has joined #m-labs
<cr1901_modern>
rjo: Additionally, pyqtgraph fixes bugs w/ PyQt and Qt
ylamarre1 has quit [Quit: ylamarre1]
<sb0>
cr1901_modern, can you put your code into a repos for rapid testing/review?
<sb0>
cr1901_modern, what qt/pyqt bugs have you seen worked around exactly?
<cr1901_modern>
sb0: Will do. And none personally, but I've needed to look at the pyqtgraph source to figure out how objects interact with each other. Viewbox.py in particular needs to work around a bug to ensure that during paint, transformations get correctly applied
<cr1901_modern>
as mentioned in the comments
<cr1901_modern>
I can remove the pyqtgraph dependency if you wish. It's not required. Just makes things easier.
<cr1901_modern>
sb0: Are you trying to remove all pyqtgraph dependencies?
Mon_ has joined #m-labs
Mon_ is now known as Guest94426
<sb0>
cr1901_modern, potentially. with the new display system, only the display processes, not the top-level GUI, will really use pyqtgraph
<sb0>
the only part the top level GUI will need is the docking system, which isn't too great, so maybe we will replace it at some point
Guest94426 has quit [Client Quit]
<cr1901_modern>
sb0: By display processes, you mean the "add display" functionality in the datasets dock, correct?
<sb0>
cr1901_modern, what i described on the mailing list
<sb0>
cr1901_modern, subprocesses managing plots
Mon_1 has joined #m-labs
<cr1901_modern>
Looking for the post now (it would be nice if mailman had a search feature)
<sb0>
it was recent... and doesn't impact the scan widget btw
<sb0>
the basic idea is one independent GUI subprocess per plot/display
<cr1901_modern>
sb0: I can't find it on the m-labs mailing list from the titles. But yes, whether it impact the widget is what I wanted to know. QGraphics Framework by itself- without PyQt- should provide enough support to get this done.
<cr1901_modern>
s/PyQt/pytqtgraph/
Mon_1 has quit [Quit: This computer has gone to sleep]
Mon_1 has joined #m-labs
Mon_1 has quit [Client Quit]
<whitequark>
sb0: ping
<sb0>
whitequark, pong
fengling has joined #m-labs
fengling has quit [Client Quit]
Mon_ has joined #m-labs
Mon_ is now known as Guest47010
Guest47010 has quit [Client Quit]
FabM has joined #m-labs
<rjo>
cr1901_modern: for me the first question was: can you do it with the existing widgets (qxt etc) or do you need a canvas and draw more or less everything?
Mon_ has joined #m-labs
Mon_ is now known as Guest38880
Guest38880 has quit [Quit: This computer has gone to sleep]
Mon_1 has joined #m-labs
Mon_1 has quit [Client Quit]
rohitksingh has joined #m-labs
<cr1901_modern>
rjo: The widget could *possibly* be done with qxt
sb0 has quit [Read error: Connection reset by peer]
cr1901_modern1 has joined #m-labs
cr1901_modern1 is now known as cr1901_modern
Mon_ has joined #m-labs
Mon_ is now known as Guest67845
Guest67845 has quit [Quit: This computer has gone to sleep]
Mon_ has joined #m-labs
Mon_ is now known as Guest10259
Guest10259 has quit [Quit: This computer has gone to sleep]
Mon_ has joined #m-labs
Mon_ is now known as Guest19964
Guest19964 has quit [Quit: This computer has gone to sleep]
Mon_1 has joined #m-labs
sb0 has joined #m-labs
sj_mackenzie has joined #m-labs
Mon_1 has quit [Quit: This computer has gone to sleep]
Gurty has quit [Ping timeout: 246 seconds]
Gurty has joined #m-labs
Gurty has quit [Changing host]
Gurty has joined #m-labs
mithro has quit [Ping timeout: 245 seconds]
robtaylor has joined #m-labs
mithro has joined #m-labs
Mon_ has joined #m-labs
Mon_ is now known as Guest36626
Guest36626 has quit [Quit: This computer has gone to sleep]
Mon_ has joined #m-labs
Mon_ is now known as Guest82569
Guest82569 has quit [Quit: This computer has gone to sleep]
rohitksingh has quit [Ping timeout: 260 seconds]
rohitksingh has joined #m-labs
Mon_ has joined #m-labs
Mon_ is now known as Guest46300
Guest46300 has quit [Client Quit]
rohitksingh has quit [Ping timeout: 256 seconds]
rohitksingh has joined #m-labs
sb0 has quit [Ping timeout: 260 seconds]
sb0 has joined #m-labs
ylamarre has joined #m-labs
sj_mackenzie has quit [Remote host closed the connection]