-
Notifications
You must be signed in to change notification settings - Fork 44
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
Fix common widget Pose #431
Conversation
Signed-off-by: youhy <haoyuan2019@outlook.com>
Codecov Report
@@ Coverage Diff @@
## ign-gui3 #431 +/- ##
=========================================
Coverage 66.12% 66.12%
=========================================
Files 29 29
Lines 3218 3218
=========================================
Hits 2128 2128
Misses 1090 1090 Continue to review full report at Codecov.
|
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.
Left some comments from the original PR to help make it easier to track. This one needs to be addressed as well: #424 (comment)
include/ignition/gui/qml/GzPose.qml
Outdated
@@ -66,6 +66,9 @@ Item { | |||
*/ | |||
signal gzPoseSet(double _x, double _y, double _z, double _roll, double _pitch, double _yaw) | |||
|
|||
// Maximum spinbox value | |||
property double spinMax: Number.MAX_VALUE | |||
|
|||
|
|||
/*** The following are private variables: ***/ | |||
// Show Pose bar (used to control expand) |
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.
Continuing this conversation: #424 (comment)
If the parent is controlling show
, then we should move it out of the private variables
comment
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.
More on this here: #424 (comment)
Signed-off-by: youhy <haoyuan2019@outlook.com>
Signed-off-by: youhy <haoyuan2019@outlook.com>
Signed-off-by: youhy haoyuan2019@outlook.com
Feature patch
Make changes for common widget
GzPose.qml
according to #424Summary
Behavior should be exactly the same as before.
Can also be tested with gz-sim#1571
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.