mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Follow up of Ref T154, overlay messages can be appended and cleared
* changed signatures * aligned naming to showOverlayMessage, ...
This commit is contained in:
committed by
Mathew Sutcliffe
parent
ab65039ca4
commit
6c3a0243ab
@@ -76,14 +76,18 @@ namespace BlackGui
|
||||
|
||||
//! Show multiple messages with confirmation bar
|
||||
void showOverlayMessagesWithConfirmation(
|
||||
const BlackMisc::CStatusMessageList &messages,
|
||||
const QString &confirmationMessage,
|
||||
std::function<void()> okLambda,
|
||||
int defaultButton = QMessageBox::Cancel,
|
||||
int timeOutMs = -1);
|
||||
const BlackMisc::CStatusMessageList &messages,
|
||||
bool appendOldMessages,
|
||||
const QString &confirmationMessage,
|
||||
std::function<void()> okLambda,
|
||||
int defaultButton = QMessageBox::Cancel,
|
||||
int timeOutMs = -1);
|
||||
|
||||
//! Clear the overlay messages
|
||||
void clearOverlayMessages();
|
||||
|
||||
//! Show multiple messages
|
||||
void showOverlayMessages(const BlackMisc::CStatusMessageList &messages, int timeOutMs = -1);
|
||||
void showOverlayMessages(const BlackMisc::CStatusMessageList &messages, bool appendOldMessages = false, int timeOutMs = -1);
|
||||
|
||||
//! Show single message
|
||||
void showOverlayMessage(const BlackMisc::CStatusMessage &message, int timeOutMs = -1);
|
||||
|
||||
Reference in New Issue
Block a user