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:
Klaus Basan
2016-01-08 00:37:04 +01:00
parent 46336e9cce
commit c0b66d93f1
5 changed files with 174 additions and 6 deletions

View File

@@ -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);