Core::MessageManager Namespace
namespace Core::MessageManagerProstor jmen MessageManager slouží k zveřejňování zpráv v panelu „ General Messages “. Více...
| Header: | #include <coreplugin/messagemanager.h> |
Funkce
| 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) |
Dokumentace funkcí
void MessageManager::writeDisrupting(const QString &message)
Zapíše hodnotu ` message ` do panelu ` General Messages ` a přenese tento panel do popředí.
To může přerušit pracovní postup uživatele, proto tuto funkci používejte pouze jako přímou reakci na akci uživatele, například na explicitní spuštění nástroje.
Viz také writeSilently() a writeFlashing().
void MessageManager::writeDisrupting(const QStringList &messages)
Tato funkce přepisuje metodu ` MessageManager::writeDisrupting()`.
void MessageManager::writeFlashing(const QString &message)
Zapíše hodnotu ` message ` do panelu ` General Messages ` a rozbliká tlačítko výstupního panelu.
Tím se uživateli oznámí, že došlo k něčemu důležitému, co by mohlo vyžadovat jeho pozornost. Používejte tuto funkci s rozvahou, protože neustálé blikání tlačítka je nepříjemné, zejména pokud se jedná o situaci, kterou uživatel nemusí být schopen vyřešit.
Viz také writeSilently() a writeDisrupting().
void MessageManager::writeFlashing(const QStringList &messages)
Tato funkce přepisuje metodu ` MessageManager::writeFlashing()`.
void MessageManager::writeSilently(const QString &message)
Zapíše soubor „ message “ do panelu „ General Messages “ bez jakékoli další akce.
Toto je preferovaný způsob odesílání zpráv, protože neruší uživatele.
Viz také writeFlashing() a writeDisrupting().
void MessageManager::writeSilently(const QStringList &messages)
Tato funkce přepisuje metodu ` 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.