Ref T441, overlay messages for model set component

This commit is contained in:
Klaus Basan
2018-11-26 06:20:05 +01:00
parent 0002752fa6
commit 4a28b589d8
3 changed files with 30 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
#ifndef BLACKGUI_COMPONENTS_DBMAPPINGCOMPONENTAWARE_H
#define BLACKGUI_COMPONENTS_DBMAPPINGCOMPONENTAWARE_H
#include "blackmisc/statusmessage.h"
#include "blackgui/blackguiexport.h"
#include <QObject>
@@ -38,6 +39,17 @@ namespace BlackGui
//! Destructor
virtual ~CDbMappingComponentAware() {}
//! Copy constructor
CDbMappingComponentAware(const CDbMappingComponentAware &) = default;
//! Copy assignment operator
CDbMappingComponentAware &operator =(const CDbMappingComponentAware &) = default;
//! Overlay messages @{
void showMappingComponentOverlayMessage(const BlackMisc::CStatusMessage &message, int timeoutMs = -1);
void showMappingComponentOverlayHtmlMessage(const BlackMisc::CStatusMessage &message, int timeoutMs = -1);
//! @}
private :
CDbMappingComponent *m_mappingComponent = nullptr; //!< reference to component
};