mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
Ref T384, overlay text messages added in frame
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
#ifndef BLACKGUI_OVERLAYMESSAGES_FRAME_H
|
||||
#define BLACKGUI_OVERLAYMESSAGES_FRAME_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/components/textmessagecomponenttab.h"
|
||||
#include "blackgui/overlaymessages.h"
|
||||
#include "blackgui/guiutility.h"
|
||||
#include "blackmisc/pixmap.h"
|
||||
#include "blackmisc/statusmessage.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/network/textmessage.h"
|
||||
#include "blackmisc/pixmap.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
#include <QFrame>
|
||||
@@ -163,6 +163,14 @@ namespace BlackGui
|
||||
WIDGET::repaint();
|
||||
}
|
||||
|
||||
//! \copydoc BlackGui::COverlayMessages::showOverlayImage
|
||||
void showOverlayInlineTextMessage(Components::TextMessageTab tab)
|
||||
{
|
||||
this->initInnerFrame();
|
||||
m_overlayMessages->showOverlayInlineTextMessage(tab);
|
||||
WIDGET::repaint();
|
||||
}
|
||||
|
||||
protected:
|
||||
COverlayMessages *m_overlayMessages = nullptr; //!< embedded QFrame with status messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user