gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Ginkgo-CADx on Windows


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Ginkgo-CADx on Windows
Date: Fri, 22 Jul 2011 14:38:12 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jul 22, 2011 at 01:36:16PM +0200, Hilbert, Sebastian wrote:

> You might want to consider adding Ginkgo menu shortcut to GNUmed on Windows.

We already have it. GNUmed detects which of

        if gmShellAPI.detect_external_binary(binary = 'ginkgocadx')[0]:
                viewer = u'Ginkgo CADx'
        elif os.access('/Applications/OsiriX.app/Contents/MacOS/OsiriX', 
os.X_OK):
                viewer = u'OsiriX'
        elif gmShellAPI.detect_external_binary(binary = 'aeskulap')[0]:
                viewer = u'Aeskulap'
        elif gmShellAPI.detect_external_binary(binary = 'amide')[0]:
                viewer = u'AMIDE'
        elif gmShellAPI.detect_external_binary(binary = 'dicomscope')[0]:
                viewer = u'DicomScope'
        elif gmShellAPI.detect_external_binary(binary = 'xmedcon')[0]:
                viewer = u'(x)medcon'

is installed and links the "DICOM viewer" menu item to that.
The tooltip details which one was detected.

        self.menu_tools.Append(ID_DICOM_VIEWER, _('DICOM viewer'), _('Start 
DICOM viewer (%s) for CD-ROM (X-Ray, CT, MR, etc). On Windows just insert CD.') 
% viewer)

Binaries not in the PATH can't sanely be detected (Windoze
is broken, the sky is blue, what else is new).

> Path is
> 
> C:\Programme\GinkgoCADx\ginkgocadx.exe

Even knowing and hardcoding that won't help all that much
because Windoze localizes path names ...

> BTW the path for FreeDiams is
> 
> C:\Programme\FreeDiams\freediams.exe

Same problem ...

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]