Skip to content
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

Merged
merged 3 commits into from
Aug 8, 2017

Conversation

jaxxzer
Copy link
Collaborator

@jaxxzer jaxxzer commented May 12, 2017

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.

screenshot 2017-05-12 12 03 17

@DonLakeFlyer
Copy link
Contributor

Need to noodle on this a bit.

@DonLakeFlyer
Copy link
Contributor

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.

@jaxxzer
Copy link
Collaborator Author

jaxxzer commented May 25, 2017

Right on.

@DonLakeFlyer
Copy link
Contributor

@jaxxzer Can you rebase and then I'll take a look again and hopefully merge.

@jaxxzer jaxxzer force-pushed the vehicle-health-alert branch from 2d0a86b to b25fa29 Compare August 3, 2017 18:45
@jaxxzer
Copy link
Collaborator Author

jaxxzer commented Aug 3, 2017

@DonLakeFlyer done.


property bool _warningsViewed: false

MouseArea {
Copy link
Contributor

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

Copy link
Contributor

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.

@DonLakeFlyer DonLakeFlyer merged commit 42a2e61 into mavlink:master Aug 8, 2017
@jaxxzer jaxxzer deleted the vehicle-health-alert branch August 10, 2017 18:04
@jaxxzer
Copy link
Collaborator Author

jaxxzer commented Aug 10, 2017

Thanks. @DonLakeFlyer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants