mavlink/qgroundcontrol — pull request #1075 by DonLakeFlyer (2014-12-04 23:07:12+00:00)
Title: Flight mode setup

Important Note: This code uses the new Qt QLoggingCategory support: http://qt-project.org/doc/qt-5/qloggingcategory.html. I'll be moving towards using this everywhere. There is an example qtlogging.ini file which disables all logging checked in at the root. You'll need to put this in the appropriate place on your machine per the QLoggingCategory docs. By default all logs display. I'll update the readme as well as post a note to the google group.

Flight Mode Setup...
Missing:
- Better than nasty looking visuals
- Live switch display from radio
- Won't get along well with custom switch configuration. Nothing too bad will happen, but if you start trying to change things you won't be allowed to assign multiple switches to the same channel.

Implemented:
- RC Calibration must be done prior to Flight Mode Setup. If not, entire widget is disable. I'll work on better visuals for that. Text says what will happen in this case, but non-obvious.
- Mode Switch is required
- You are not allowed to re-use an already mapped channel.
- Unit Test to test all of the above