mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #568, allow to confirm (OK/CANCEL) in overlay window
So we can display status messages in the same step and decide what to do
This commit is contained in:
@@ -38,6 +38,13 @@ namespace BlackGui
|
||||
//! Hide the inner frame
|
||||
void hideStatusMessagesFrame();
|
||||
|
||||
//! \copydoc COverlayMessages::showMessagesWithConfirmation
|
||||
void showMessagesWithConfirmation(const BlackMisc::CStatusMessageList &messages,
|
||||
const QString &confirmationMessage,
|
||||
std::function<void()> okLambda,
|
||||
int defaultButton = QMessageBox::Cancel,
|
||||
int timeOutMs = -1);
|
||||
|
||||
public slots:
|
||||
//! \copydoc COverlayMessages::showMessages
|
||||
void showMessages(const BlackMisc::CStatusMessageList &messages, int timeOutMs = -1);
|
||||
|
||||
Reference in New Issue
Block a user