Hi Oliver
for me the hard sensitivity adjustment of the panning is also sometimes
a problem. A little to fast move to the border throws me often to a
complete new region.
So I took your advice and tried to find a solution:
I factorized the respective statement in IMouse::panCanvas():
int d = (SENSITIVE_FRAME - pos.x()) * PanSensitivity;
This was a fast and may be not the best solution but it provide
satisfactory results for me.
I dont think that this is a general solution for everyone, some people
may estimate the severe sensitivity, so I propose to make it adjustable
via a submenu in the main windows View menu.
I implemented a proposal into a copy of the current version (today,
11:50) and now send a patch to you together with the sources to add.
Please review the changes and tell me your opinion.
I introduced the files
CPanningSetup.cpp/h, IPanningSetup.ui and a new icon for the Setup
Panning Menu Entry :-)
and I modified
IMouse.cpp/h, CMainWindow.cpp, IMainWindow.ui, CMakeLists.txt
For lack of a better idea I defined the PanSensitivity factor as a
static variable in IMouse to be able to change its value whenever the
"Setup Panning" menu is instantiated.
PanSensitivity is 1 by default, so there is no effect without a
different adjustment by the user.
Herbert
Post by Oliver EichlerHi Gunther
this is a feature. When drawing a route/track/area a mouse click will
trigger one of the selected functions. Thus it can't be used to grab
and move the map. But the automatic panning is not just on/off. The
more you move the mouse to the border the faster it will get. So you
can control it yourself with a little fine motion control.
If you think you can do it better have a look at
voidIMouse::panCanvas(constQPoint&pos)
and provide a better code.
HTH
Oliver
Post by teq2When I start to define a track or a route the map is automatically moved
(panning) when I move the mouse to the border of the map window.
As I also have some problems with Mouse focus with my installation I
would ask the question whether this is a bug or a feature? If this is a
feature: can it be disabled?
Moving the mouse a bit to fast towards the border of the map results in
a very quick panning leading to crashes of qmapshack.
Thanks
Gunther
----------------------------------------------------------------------------
Post by teq2-- _______________________________________________
Qlandkartegt-users mailing list
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users