wolfhece 2.1.56__py3-none-any.whl → 2.1.57__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wolfhece/PyDraw.py +40 -8
- wolfhece/apps/version.py +1 -1
- {wolfhece-2.1.56.dist-info → wolfhece-2.1.57.dist-info}/METADATA +1 -1
- {wolfhece-2.1.56.dist-info → wolfhece-2.1.57.dist-info}/RECORD +7 -7
- {wolfhece-2.1.56.dist-info → wolfhece-2.1.57.dist-info}/WHEEL +0 -0
- {wolfhece-2.1.56.dist-info → wolfhece-2.1.57.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.1.56.dist-info → wolfhece-2.1.57.dist-info}/top_level.txt +0 -0
wolfhece/PyDraw.py
CHANGED
@@ -8134,10 +8134,17 @@ class WolfMapViewer(wx.Frame):
|
|
8134
8134
|
ttsize = self.mytooltip.GetSize()
|
8135
8135
|
self.mytooltip.position(pos + posframe + (ttsize[0] / 2. + 15, 15))
|
8136
8136
|
else:
|
8137
|
+
|
8137
8138
|
self.mytooltip.SetWindowStyle(wx.DEFAULT_FRAME_STYLE)
|
8138
8139
|
width, height = self.GetSize()
|
8139
|
-
|
8140
|
-
self.
|
8140
|
+
|
8141
|
+
if self.IsFullScreen():
|
8142
|
+
posframe[0] += width - self.mytooltip.GetSize()[0] - 10
|
8143
|
+
else:
|
8144
|
+
if shiftdown:
|
8145
|
+
posframe[0] += width
|
8146
|
+
posframe[1] -= 50
|
8147
|
+
self.mytooltip.position(posframe)
|
8141
8148
|
|
8142
8149
|
self.mytooltip.Show(True)
|
8143
8150
|
|
@@ -8418,10 +8425,19 @@ class WolfMapViewer(wx.Frame):
|
|
8418
8425
|
'CTRL+Shift+F4': _('Particle system : choose the step based on time'),
|
8419
8426
|
'SPACE': _('Particle system : pause/resume animation'),
|
8420
8427
|
|
8428
|
+
'Left Click and move': _('Drawing : translate the view'),
|
8429
|
+
'Mouse wheel click and move': _('Drawing : translate the view'),
|
8430
|
+
'Mouse wheel': _('Drawing : zoom in/out - centered on the middle of the canvas'),
|
8431
|
+
'Mouse wheel + Space Bar': _('Drawing : zoom in/out - centered on the mouse position'),
|
8432
|
+
'z, Z': _('Drawing : zoom out/in - centered on the middle of the canvas'),
|
8433
|
+
'Touchpad 2 fingers': _('Drawing : zoom in/out - centered on the middle of the canvas'),
|
8434
|
+
'CTRL + z': _('Drawing : Autoscale only on active array'),
|
8435
|
+
'CTRL + Z': _('Drawing : Autoscale only on active vector'),
|
8436
|
+
|
8437
|
+
'Arrow keys': _('Drawing : lateral movements'),
|
8438
|
+
|
8421
8439
|
'F5': _('Drawing : autoscale'),
|
8422
8440
|
'F7': _('Drawing : refresh'),
|
8423
|
-
'Z': _('Drawing : zoom in'),
|
8424
|
-
'z': _('Drawing : zoom out'),
|
8425
8441
|
'Arrows': _('Drawing : lateral movements'),
|
8426
8442
|
'c or C': _('Drawing : copy canvas to Clipboard wo axes'),
|
8427
8443
|
'CTRL+C': _('Drawing : copy canvas to Clipboard as Matplotlib image'),
|
@@ -8437,9 +8453,12 @@ class WolfMapViewer(wx.Frame):
|
|
8437
8453
|
'n or N': _('Arrays : node-by-node selection'),
|
8438
8454
|
'b or B': _('Arrays : temporary vector selection'),
|
8439
8455
|
'v or V': _('Arrays : activated vector selection - inner zone'),
|
8456
|
+
|
8440
8457
|
'r': _('Arrays : reset the selection'),
|
8441
|
-
'R': _('Arrays : reset
|
8442
|
-
|
8458
|
+
'R': _('Arrays : reset the selection and the associated dictionnary'),
|
8459
|
+
|
8460
|
+
'1,2...9': _('Arrays : transfer the selection to the associated dictionary - key 1 to 9'),
|
8461
|
+
|
8443
8462
|
'i': _('Arrays : 2D interpolation based on the selection on the current matrix'),
|
8444
8463
|
'CTRL+C': _('Arrays : Set copy source and current selection to clipboard as string'),
|
8445
8464
|
'CTRL+X': _('Arrays : Crop the active array using the active vector and make a copy'),
|
@@ -8468,7 +8487,7 @@ class WolfMapViewer(wx.Frame):
|
|
8468
8487
|
txt += curgroup + '\n'
|
8469
8488
|
for curkey, curval in shortcuts.items():
|
8470
8489
|
if curgroup in curval:
|
8471
|
-
txt += '\t' + curkey + ' : ' + curval + '\n'
|
8490
|
+
txt += '\t' + curkey + ' : ' + curval.split(':')[1] + '\n'
|
8472
8491
|
txt += '\n'
|
8473
8492
|
return txt
|
8474
8493
|
|
@@ -8487,7 +8506,7 @@ class WolfMapViewer(wx.Frame):
|
|
8487
8506
|
sizer.Add(multiline, 1, wx.EXPAND)
|
8488
8507
|
|
8489
8508
|
frame.SetSizer(sizer)
|
8490
|
-
|
8509
|
+
frame.SetIcon(self.GetIcon())
|
8491
8510
|
frame.SetAutoLayout(True)
|
8492
8511
|
frame.Layout()
|
8493
8512
|
|
@@ -8804,6 +8823,19 @@ class WolfMapViewer(wx.Frame):
|
|
8804
8823
|
|
8805
8824
|
logging.info(_('Selection/Values pasted'))
|
8806
8825
|
|
8826
|
+
elif key == ord('Z'):
|
8827
|
+
|
8828
|
+
if ctrldown:
|
8829
|
+
if shiftdown:
|
8830
|
+
if self.active_vector is not None:
|
8831
|
+
self.zoom_on_vector(self.active_vector, canvas_height= self.canvas.GetSize()[1])
|
8832
|
+
else:
|
8833
|
+
logging.warning(_('No active vector to zoom on !'))
|
8834
|
+
else:
|
8835
|
+
if self.active_array is not None:
|
8836
|
+
self.zoom_on_array(self.active_array, canvas_height= self.canvas.GetSize()[1])
|
8837
|
+
else:
|
8838
|
+
logging.warning(_('No active array to zoom on !'))
|
8807
8839
|
else:
|
8808
8840
|
if key == wx.WXK_DELETE:
|
8809
8841
|
self.removeobj()
|
wolfhece/apps/version.py
CHANGED
@@ -7,7 +7,7 @@ wolfhece/ManageParams.py,sha256=EeuUI5Vvh9ixCvYf8YShMC1s1Yacc7OxOCN7q81gqiQ,517
|
|
7
7
|
wolfhece/Model1D.py,sha256=uL1DJVmDI2xVSE7H6n3icn3QbsPtTHeg8E-6wkDloKw,476914
|
8
8
|
wolfhece/PyConfig.py,sha256=FB8u0belXOXTb03Ln6RdVWvMgjzi3oGPCmw2dWa3lNg,8332
|
9
9
|
wolfhece/PyCrosssections.py,sha256=FnmM9DWY_SAF2EDH9Gu2PojXNtSTRF4-aYQuAAJXBh4,112771
|
10
|
-
wolfhece/PyDraw.py,sha256=
|
10
|
+
wolfhece/PyDraw.py,sha256=42kZbude0BSlpMfLPtcsUeYeCqzMj8AXVb5VuCHTK68,404422
|
11
11
|
wolfhece/PyGui.py,sha256=oBIBpgBQRR_XXucKE5-RFrtqKj0DRg9VlUCRo8Mzalc,105009
|
12
12
|
wolfhece/PyGuiHydrology.py,sha256=f60E8K9eGTnRq5RDF6yvt-ahf2AYegwQ9t25zZ2Mk1A,14946
|
13
13
|
wolfhece/PyHydrographs.py,sha256=jwtSNMMACwarxrtN1UeQYth99UNrhwPx1IGgUwcooHA,3774
|
@@ -72,7 +72,7 @@ wolfhece/apps/check_install.py,sha256=SG024u18G7VRLKynbp7DKD1jImtHwuWwN4bJWHm-YH
|
|
72
72
|
wolfhece/apps/curvedigitizer.py,sha256=Yps4bcayzbsz0AoVc_dkSk35dEhhn_esIBy1Ziefgmk,5334
|
73
73
|
wolfhece/apps/isocurrent.py,sha256=dagmGR8ja9QQ1gwz_8fU-N052hIw-W0mWGVkzLu6C7I,4247
|
74
74
|
wolfhece/apps/splashscreen.py,sha256=SrustmIQeXnsiD-92OzjdGhBi-S7c_j-cSvuX4T6rtg,2929
|
75
|
-
wolfhece/apps/version.py,sha256=
|
75
|
+
wolfhece/apps/version.py,sha256=_LHTN6KB7_RiP0O4AhyTlsUdSaJH41BhhjQ7nNU0TWs,388
|
76
76
|
wolfhece/apps/wolf.py,sha256=j_CgvsL8rwixbVvVD5Z0s7m7cHZ86gmFLojKGuetMls,729
|
77
77
|
wolfhece/apps/wolf2D.py,sha256=4z_OPQ3IgaLtjexjMKX9ppvqEYyjFLt1hcfFABy3-jU,703
|
78
78
|
wolfhece/apps/wolf_logo.bmp,sha256=ruJ4MA51CpGO_AYUp_dB4SWKHelvhOvd7Q8NrVOjDJk,3126
|
@@ -283,8 +283,8 @@ wolfhece/ui/wolf_multiselection_collapsiblepane.py,sha256=8PlMYrb_8jI8h9F0_EagpM
|
|
283
283
|
wolfhece/ui/wolf_times_selection_comparison_models.py,sha256=ORy7fz4dcp691qKzaOZHrRLZ0uXNhL-LIHxmpDGL6BI,5007
|
284
284
|
wolfhece/wintab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
285
285
|
wolfhece/wintab/wintab.py,sha256=8A-JNONV6ujgsgG3lM5Uw-pVgglPATwKs86oBzzljoc,7179
|
286
|
-
wolfhece-2.1.
|
287
|
-
wolfhece-2.1.
|
288
|
-
wolfhece-2.1.
|
289
|
-
wolfhece-2.1.
|
290
|
-
wolfhece-2.1.
|
286
|
+
wolfhece-2.1.57.dist-info/METADATA,sha256=DslVY-yNMyENi7ZMy3_8ZLIWIFU2Eua2Jdw4Z9eGEjg,2541
|
287
|
+
wolfhece-2.1.57.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
288
|
+
wolfhece-2.1.57.dist-info/entry_points.txt,sha256=Q5JuIWV4odeIJI3qc6fV9MwRoz0ezqPVlFC1Ppm_vdQ,395
|
289
|
+
wolfhece-2.1.57.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
|
290
|
+
wolfhece-2.1.57.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|