Ref T177, addressing some overlay messages frame issues

* use enum for buttons
* removed unused declaration setInnerFrameFactor
* private slots -> private
This commit is contained in:
Klaus Basan
2017-10-30 03:31:16 +01:00
parent 1fda080070
commit 0b388cb103
8 changed files with 59 additions and 78 deletions

View File

@@ -29,7 +29,7 @@
#include <QList>
#include <QObject>
#include <QScopedPointer>
#include <QString>
#include <QMessageBox>
#include <QStringList>
#include <functional>
@@ -185,7 +185,7 @@ namespace BlackGui
bool showOverlayMessagesWithConfirmation(
const BlackMisc::CStatusMessageList &msgs, bool appendOldMessages,
const QString &confirmation, std::function<void()> okLambda,
int defaultButton, bool onlyErrors = false, int timeoutMs = -1);
QMessageBox::StandardButton defaultButton, bool onlyErrors = false, int timeoutMs = -1);
//! Display message
bool showOverlayMessage(const BlackMisc::CStatusMessage &msg, int timeoutMs = -1);