Sergey,

A good way to do this is to proper separate the widgets and create a
'pictureFileSelected(const QString& s)'
signal and connect this signal to the mainwindow.

MainTab must die and become proper widgets, I'll try to do that in the
following days. the code there is already too much cluttered.

Tomaz


On Fri, Jun 27, 2014 at 9:37 AM, Sergey Starosek
<[email protected]> wrote:
> As requested by Trac tickets #496 and #548:
>
> double click on photo will launch external viewer by the means of
> QDesktopServices::openURL().
> What I personally dislike is launching external process from MainTab (while
> MainWindow is a proper place). Unfortunately I have no idea how to connect
> signal from DivePictureWidget to MainWindow.
>
> Tested both on Linux and Windows platforms.
>
> Sergey
>
>
> _______________________________________________
> subsurface mailing list
> [email protected]
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to