Re: Notifying users during long tasks.

2007-09-12 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Abdelrazak Younes ha scritto: Yes, and this doesn't have to change to do what you envision. I had once a patch that used the forkedcall mechanism that is used for graphics conversion (and for instant preview). As you probably know, graphics are converted

Re: Notifying users during long tasks.

2007-09-12 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Abdelrazak Younes ha scritto: Yes, and this doesn't have to change to do what you envision. I had once a patch that used the forkedcall mechanism that is used for graphics conversion (and for instant preview). As you probably know, graphics are converted

Re: Notifying users during long tasks.

2007-09-11 Thread Helge Hafting
Tommaso Cucinotta wrote: Hi all, I'd like to know what is the most suitable way to notify users of the progress made during possibly long tasks, in LyX. The standard way would be to create a new thread, so to exit the Qt callback that started the long task, adding a progress bar or similar and

Re: Notifying users during long tasks.

2007-09-11 Thread Tommaso Cucinotta
Helge Hafting ha scritto: If you di this - please make that a progress bar (or similiar) inside the main window - _not_ a popup thing. :-) Ok, guess smth. besides (or embedded into) the status bar. Despite the appearence, I guess the main problem is that LyX has a single thread design. So, if

Re: Notifying users during long tasks.

2007-09-11 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Helge Hafting ha scritto: If you di this - please make that a progress bar (or similiar) inside the main window - _not_ a popup thing. :-) Ok, guess smth. besides (or embedded into) the status bar. Despite the appearence, I guess the main problem is that LyX has a

Re: Notifying users during long tasks.

2007-09-11 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Yes, and this doesn't have to change to do what you envision. I had once a patch that used the forkedcall mechanism that is used for graphics conversion (and for instant preview). As you probably know, graphics are converted asynchronously before they are shown on

Re: Notifying users during long tasks.

2007-09-11 Thread Helge Hafting
Tommaso Cucinotta wrote: Hi all, I'd like to know what is the most suitable way to notify users of the progress made during possibly long tasks, in LyX. The standard way would be to create a new thread, so to exit the Qt callback that started the long task, adding a progress bar or similar and

Re: Notifying users during long tasks.

2007-09-11 Thread Tommaso Cucinotta
Helge Hafting ha scritto: If you di this - please make that a progress bar (or similiar) inside the main window - _not_ a popup thing. :-) Ok, guess smth. besides (or embedded into) the status bar. Despite the appearence, I guess the main problem is that LyX has a single thread design. So, if

Re: Notifying users during long tasks.

2007-09-11 Thread Abdelrazak Younes
Tommaso Cucinotta wrote: Helge Hafting ha scritto: If you di this - please make that a progress bar (or similiar) inside the main window - _not_ a popup thing. :-) Ok, guess smth. besides (or embedded into) the status bar. Despite the appearence, I guess the main problem is that LyX has a

Re: Notifying users during long tasks.

2007-09-11 Thread Tommaso Cucinotta
Abdelrazak Younes ha scritto: Yes, and this doesn't have to change to do what you envision. I had once a patch that used the forkedcall mechanism that is used for graphics conversion (and for instant preview). As you probably know, graphics are converted asynchronously before they are shown on

Notifying users during long tasks.

2007-09-10 Thread Tommaso Cucinotta
Hi all, I'd like to know what is the most suitable way to notify users of the progress made during possibly long tasks, in LyX. The standard way would be to create a new thread, so to exit the Qt callback that started the long task, adding a progress bar or similar and updating it periodically,

Re: Notifying users during long tasks.

2007-09-10 Thread Andre Poenitz
On Mon, Sep 10, 2007 at 04:04:51PM +0200, Tommaso Cucinotta wrote: Hi all, I'd like to know what is the most suitable way to notify users of the progress made during possibly long tasks, in LyX. The standard way would be to create a new thread, so to exit the Qt callback that started the

Notifying users during long tasks.

2007-09-10 Thread Tommaso Cucinotta
Hi all, I'd like to know what is the most suitable way to notify users of the progress made during possibly long tasks, in LyX. The standard way would be to create a new thread, so to exit the Qt callback that started the long task, adding a progress bar or similar and updating it periodically,

Re: Notifying users during long tasks.

2007-09-10 Thread Andre Poenitz
On Mon, Sep 10, 2007 at 04:04:51PM +0200, Tommaso Cucinotta wrote: > Hi all, > > I'd like to know what is the most suitable way to notify users of > the progress made during possibly long tasks, in LyX. > > The standard way would be to create a new thread, so to exit > the Qt callback that