mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 21:05:34 +08:00
Improved samples and debugging information
* DBus test for CSimulatedAircraft * Output of metatypes in GUI/core * Changed output from qDebug() to QTextStream * Variant test for CSimulatedAircraft
This commit is contained in:
@@ -96,7 +96,7 @@ namespace BlackMiscTest
|
||||
{
|
||||
qtout << "-------------" << endl;
|
||||
qtout << "Qt audio devices" << endl;
|
||||
BlackSound::CSoundGenerator::printAllQtSoundDevices();
|
||||
BlackSound::CSoundGenerator::printAllQtSoundDevices(qtout);
|
||||
}
|
||||
else if (line.startsWith("level"))
|
||||
{
|
||||
@@ -105,6 +105,10 @@ namespace BlackMiscTest
|
||||
refreshSubscriptionSeverities();
|
||||
qtout << "Changed level to " << CStatusMessage::severityToString(messageSeverity) << endl;
|
||||
}
|
||||
else if (line.startsWith("meta"))
|
||||
{
|
||||
BlackMisc::displayAllUserMetatypesTypes(qtout);
|
||||
}
|
||||
else if (line.startsWith("log"))
|
||||
{
|
||||
line.replace("log", "");
|
||||
@@ -124,7 +128,8 @@ namespace BlackMiscTest
|
||||
qtout << " log + context + [e]nabled / [d]isabled" << endl;
|
||||
qtout << " contexts: app / aud / net / own (aircraft) / set / sim / all" << endl;
|
||||
qtout << " examples: logappd, lognete, logsimd, logalle" << endl;
|
||||
qtout << "3) all . commands can be used, e.g. .com1 127.35" << endl;
|
||||
qtout << "3) display metadata data: meta" << endl;
|
||||
qtout << "4) all . commands can be used, e.g. .com1 127.35" << endl;
|
||||
qtout << endl;
|
||||
}
|
||||
else if (line.startsWith("."))
|
||||
|
||||
Reference in New Issue
Block a user