Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

rotate shortcut

2 posters

Go down  Message [Page 1 of 1]

1rotate shortcut Empty rotate shortcut Tue Jan 31, 2023 12:57 am

bjacquot



is it possible to add keyboard shortcut to rotate components :

maybe this :
just declare rotateCW() as public method in component.h
and for the keyPressEvent method in circuit.cpp add :

   else if( key == Qt::Key_R )
       {
           for( Component* com : m_compList )
           {
               if (com->isSelected()) com->rotateCW();
           }
   }

2rotate shortcut Empty Re: rotate shortcut Tue Jan 31, 2023 5:23 pm

arcachofo

arcachofo

Yes, maybe using Ctrl+r

3rotate shortcut Empty Re: rotate shortcut Tue Jan 31, 2023 5:33 pm

bjacquot



I find it easier with just the R key, but i understand you would have everything using Ctrl

for kicad they use (without Ctrl)
M for move
R for rotate
and so on
i find it easy to use

4rotate shortcut Empty Re: rotate shortcut Tue Jan 31, 2023 5:34 pm

arcachofo

arcachofo

I find it easier with just the R key, but i understand you would have everything using Ctrl
Yes, it's easier to use, but all single keys are used for butons.

bjacquot likes this post

5rotate shortcut Empty Re: rotate shortcut Tue Jan 31, 2023 5:37 pm

bjacquot



ok, didn't see that !
great !

arcachofo likes this post

6rotate shortcut Empty Re: rotate shortcut Tue Jan 31, 2023 5:44 pm

bjacquot



do you want i make a patch, bzr branch ... for this ?

7rotate shortcut Empty Re: rotate shortcut Tue Jan 31, 2023 5:45 pm

arcachofo

arcachofo

Not needed thanks, it is simple enough to modify directly.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum