Re: Printing/Exporting statistics

2021-06-29 Thread Robert Helling via subsurface
Hi,

> On 28. Jun 2021, at 17:11, Berthold Stoeger  
> wrote:
> 
> Indeed, that was one of my concerns when porting the original QGraphicsScene
> code to QtQuick/QSG (which, for the records, is the worst API I have ever
> used). My plan back then was to build alternative frontends, e.g. for tabular/
> textual presentations like the ones we already have and also for printing.
> Concerning printing, I wasn't sure about the best way to do it. PDF? TeX? SVG?
> QGraphicsScene?

as Willem writes, you can always to a screen shot so this is not very urgent 
(even though that is then bound to the screen resolution). Depending on what 
you intend to do with it, PDF would probably best for printing while some pixel 
based format would be best to post on social media and the like. In an ideal 
world where every program knows how to handle it, SVG would be preferable since 
it is resolution independent.

For text/data output, I guess, csv would be most useful for further processing. 
Although I personally like using it, TeX output (you could spit out a TeX 
table) has the usual disadvantage that you need to install a huge software 
package to be able to make use of it if you have not done so already. And yes, 
besides the electronic version of my log, I print each dive using the TeX 
export to keep a paper log as well. Except I have not really dived in recent 
months.

Best
Robert


signature.asc
Description: Message signed with OpenPGP
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Printing/Exporting statistics

2021-06-28 Thread Willem Ferguson via subsurface

On 2021/06/28 14:05, Robert Helling via subsurface wrote:

Hi,

a couple of days ago, I had the idea that it might be useful if the user could 
print the statistics plots or export those as images. But I could not figure 
out how to do that. The profile can be rendered as a QImage but the statistics 
uses GL functionality and I don’t understand to use those (except a simple 
screen shot). Am I missing something?

Best
Robert


___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


I do that with screen capture. Easy, saves as .png file. Or do you have 
something else in mind?


Kind regards,

willem



--
This message and attachments are subject to a disclaimer.

Please refer to 
http://upnet.up.ac.za/services/it/documentation/docs/004167.pdf 
 for
full 
details.
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Printing/Exporting statistics

2021-06-28 Thread Berthold Stoeger via subsurface
Hi Robert,

On Montag, 28. Juni 2021 14:05:38 CEST Robert Helling via subsurface wrote:

> a couple of days ago, I had the idea that it might be useful if the user
> could print the statistics plots or export those as images. But I could not
> figure out how to do that. The profile can be rendered as a QImage but the
> statistics uses GL functionality and I don’t understand to use those
> (except a simple screen shot). Am I missing something?

Indeed, that was one of my concerns when porting the original QGraphicsScene 
code to QtQuick/QSG (which, for the records, is the worst API I have ever 
used). My plan back then was to build alternative frontends, e.g. for tabular/
textual presentations like the ones we already have and also for printing. 
Concerning printing, I wasn't sure about the best way to do it. PDF? TeX? SVG? 
QGraphicsScene?

Berthold


___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface