-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Rework vehicle sensors_health alert #5135
Rework vehicle sensors_health alert #5135
Conversation
Need to noodle on this a bit. |
I think this is pretty close to something I'm happy with. But I'm going to wait till after 3.2 goes out to merge and/or change user model with small tweaks. |
Right on. |
@jaxxzer Can you rebase and then I'll take a look again and hopefully merge. |
2d0a86b
to
b25fa29
Compare
@DonLakeFlyer done. |
|
||
property bool _warningsViewed: false | ||
|
||
MouseArea { |
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.
Could you use a QGCMouseArea for this? This will cause it to automatically expand in size on touch systems. You set fillItem instead of doing an anchors.fill
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.
I'm going to merge and just change it over myself after the fact.
Thanks. @DonLakeFlyer |
I think that automatically switching the page in the instrument panel every time the sensors_health flag changes is heavy-handed and obnoxious.
This pr changes the behavior to show a warning icon opposite the gearthingy beneath the attitude indicator. Click the warning icon to quickly switch to the sensors health page. The warning icon goes away until another sensors_health bit changes.