Core::MessageManager Namespace
namespace Core::MessageManagerMessageManager ネームスペースは、General Messages ペインにメッセージを投稿するために使用されます。詳細...
| Header: | #include <coreplugin/messagemanager.h> |
機能
| void | writeDisrupting(const QString &message) |
| void | writeDisrupting(const QStringList &messages) |
| void | writeFlashing(const QString &message) |
| void | writeFlashing(const QStringList &messages) |
| void | writeSilently(const QString &message) |
| void | writeSilently(const QStringList &messages) |
関数のドキュメント
void MessageManager::writeDisrupting(const QString &message)
「message 」を「General Messages 」ペインに書き込み、そのペインを最前面に表示します。
これはユーザーの作業の流れを妨げる可能性があるため、ユーザーがツールを明示的に実行するなど、ユーザーの操作に対する直接的な応答としてのみ使用してください。
writeSilently() およびwriteFlashing()も参照してください 。
void MessageManager::writeDisrupting(const QStringList &messages)
この関数は、MessageManager::writeDisrupting() をオーバーロードしています。
void MessageManager::writeFlashing(const QString &message)
「message 」を「General Messages 」ペインに書き出し、出力ペインのボタンを点滅させます。
これにより、ユーザーの注意を必要とする重要な事象が発生したことをユーザーに通知します。ボタンが絶えず点滅すると煩わしくなるため、特にユーザーが解決できない可能性のある状況では、使用を控えてください。
writeSilently() およびwriteDisrupting()も参照してください 。
void MessageManager::writeFlashing(const QStringList &messages)
この関数は、MessageManager::writeFlashing() をオーバーロードしています。
void MessageManager::writeSilently(const QString &message)
message を、General Messages ペインに、それ以上の操作を行わずに書き込みます。
ユーザーの操作を中断しないため、これがメッセージを投稿する際の推奨される方法です。
writeFlashing() およびwriteDisrupting()も参照してください 。
void MessageManager::writeSilently(const QStringList &messages)
この関数は、MessageManager::writeSilently() をオーバーロードしています。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.