keyboard shortcut customisation and mouse buttons setting

Feel free to ask any question here
Post Reply
flaenen
Posts: 7
Joined: Tue Aug 01, 2017 7:49 am

keyboard shortcut customisation and mouse buttons setting

Post by flaenen »

Hello,

I was wandering if there is a way to set custom keyboard shortcuts, to launch some Tools that we may use frequently.
Also, if the mouse could be adapted a bit. For example, if we can choose with which button we do the rotation (left, middle or right), and which button triggers translation...

Thank you
flaenen
Posts: 7
Joined: Tue Aug 01, 2017 7:49 am

Re: keyboard shortcut customisation and mouse buttons setting

Post by flaenen »

Sorry, to precise a bit my question : when I talk about rotation and translation, I mean rotation and translation of the camera, not the models.
daniel
Site Admin
Posts: 7332
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: keyboard shortcut customisation and mouse buttons setting

Post by daniel »

1) Nope, it's not possible to define custom shortcuts (and it wouldn't be very easy to implement, so I don't think it will be possible in a near future)

2) It's maybe a little bit easier, however there's not a big emergency for this feature so I'll simply add it to the TODO list (which is already huge: see https://github.com/CloudCompare/CloudCo ... C/TODO.txt)
Daniel, CloudCompare admin
sylloge
Posts: 1
Joined: Sun May 17, 2020 12:26 pm

Re: keyboard shortcut customisation and mouse buttons setting

Post by sylloge »

I understand custom shortcuts won't happen

the menu item I'd like has a tool tip but I can't find the icon
all my toolbars are on

qCC/ui_templates/mainWindow.ui

<action name="actionExportCloudInfo">
<property name="text">
<string>Export cloud info</string>
</property>
<property name="toolTip">
<string>Export cloud info to a CSV file (name, size, barycenter, scalar fields info, etc.)</string>
</property>
</action>

Or, is it a simple change to edit some config files to add a shortcut and rebuild the windows source for myself
I dabble in python a little

Regards
daniel
Site Admin
Posts: 7332
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: keyboard shortcut customisation and mouse buttons setting

Post by daniel »

You can indeed use Qt Designer, select the action and assign a shortcut to it (hopefully one that has not been used so far).

And then recompile CC. Or make a PR so that it's integrated in the code base and included in the next release.
Daniel, CloudCompare admin
Post Reply