-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the possibility to rotate a single feature (line or polygon) #5737
base: master
Are you sure you want to change the base?
Conversation
qsavoye
commented
Oct 15, 2024
•
edited
Loading
edited
I just remove some submodules depency that I do not had to commit previously, sorry for the incovenient. |
@qsavoye , hey there, thanks for this contribution, it's fantastic! I'll get to review it ASAP (I've been a bit under the weather this week). One thing I can already see as a need here is to change the icon to use a stock one from Google's material symbols & icons library: https://fonts.google.com/icons?icon.query=rotate -- that'll insure the style matches the rest of the app. |
@qsavoye , oh, one question: you are aware that the processing toolbox (new feature in QField 3.4) has a rotate algorithm. Is there a reason why you wouldn't be using that instead? |
@nirvn It's more a question of user experience. I tried the processing toolbox for rotation on my Iphone, the parameter window hides a big part of the map canvas, which can be unpleasant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qsavoye , hey there, sorry for the delayed review, it's been one of those months :)
This would make a great feature for QField's next release (3.5). Let me know if you have questions on the review comments.
@qsavoye , thanks for addressing the review. Will merge as soon as the CIs turn green. Thanks for this contribution 🙏 |
@nirvn I think my there was an update between the current master and and the master where i start these pull request on file multifeaturelistmodelbase.cpp in canRotateSelection function if ( !vlayer || vlayer->readOnly() || !( vlayer->dataProvider()->capabilities() & QgsVectorDataProvider::ChangeGeometries ) || vlayer->customProperty( QStringLiteral( "QFieldSync/is_geometry_locked" ), false ).toBool() ) must be replace to if ( !vlayer || vlayer->readOnly() || !( vlayer->dataProvider()->capabilities() & Qgis::VectorProviderCapability::ChangeGeometries ) || vlayer->customProperty( QStringLiteral( "QFieldSync/is_geometry_locked" ), false ).toBool() ) Do you see other change which can block the merge ? |
@qsavoye , no, if that's fixed, I think we can merge. There was indeed a QGIS core library update which did change a couple of enum keys, inc. this one. |
@qsavoye , can you resolve the conflict too? |