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();
}
}
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();
}
}