1
2
3 try:
4 import wxversion
5 import wx
6 except ImportError:
7 from wxPython import wx
8
9 from Gnumed.wxpython import gmPlugin_Patient, images_gnuMedGP_Toolbar, gmCryptoText
10
11 ID_CRYPTO = wxNewId ()
12
13 -class gmCrypto (gmPlugin_Patient.wxPatientPlugin):
14 """
15 Plugin to encapsulate the cryptowidget
16 """
18 return 'Test cryptowidget'
19
21 return ('view', '&Crypto')
22
24 return wxBitmapFromXPMData([
25 "16 16 2 1",
26 " c None",
27 ". c #ED0B47",
28 " ",
29 " ",
30 " ",
31 " . ",
32 " . . ",
33 " . .",
34 " ........... .",
35 " ........... .",
36 " .. .. . .",
37 " .. .. . . ",
38 " .. .. . ",
39 " .. .. ",
40 " ",
41 " ",
42 " ",
43 " "])
44
47