Photo preview in external viewer

Tomaz Canabrava tcanabrava at kde.org
Fri Jun 27 05:58:09 PDT 2014


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
<sergey.starosek at gmail.com> 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
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>


More information about the subsurface mailing list