[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] PyQt help
From:       David Boddie <david () boddie ! org ! uk>
Date:       2019-03-29 22:53:34
Message-ID: 1717848.O4yin6ZpGM () aurora
[Download RAW message or body]

On Wed Mar 27 04:12:51 GMT 2019, binsha s wrote:

>    *Forward multiple:* Plot graphs from the current set till the last set
>    in the array. ie forward play from current graph till last graph.(Works,
>    but when it reaches the last graph it exit from the app)
>    -

It can be confusing to use event loops in the way you are using them.
The danger is that the application's event loop will terminate.

My general advice would be to use only the event loop provided by
QApplication and write a widget that only includes the minimum needed
to show the dataset passed as an index.

Then add methods to step forward and backward.

Then think about adding methods to step forward and backward automatically,
using a QTimer.singleShot to queue the next dataset.

You will then be well on the way to implementing what you are asking for.

David
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic