Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+44
@@ -0,0 +1,44 @@
|
||||
#include "lts_dummy_widget.h"
|
||||
|
||||
#include <LtsUtilsGui/LtsUtilsGuiDds/dds_vector_to_pixmap.h>
|
||||
|
||||
#include <QIcon>
|
||||
//#include <QLabel>
|
||||
#include <QEvent>
|
||||
#include <QDebug>
|
||||
|
||||
|
||||
namespace LtsMultiMonitor
|
||||
{
|
||||
|
||||
FullscreenVideoDummyWidget::FullscreenVideoDummyWidget()
|
||||
{
|
||||
setWindowIcon(LtsUtils::iconFromSvg(QStringLiteral(":/style/mobile_video.svg")));
|
||||
setWindowTitle(tr("Fullscreen Video Helper"));
|
||||
|
||||
// QLabel *x = new QLabel;
|
||||
// x->setPixmap(windowIcon().pixmap(QSize(100, 100)));
|
||||
// x->show();
|
||||
}
|
||||
|
||||
|
||||
void FullscreenVideoDummyWidget::hideVideo()
|
||||
{
|
||||
qWarning() << "FullscreenVideoDummyWidget::hideVideo()";
|
||||
emit signalHideVideo();
|
||||
}
|
||||
|
||||
void FullscreenVideoDummyWidget::showVideo()
|
||||
{
|
||||
emit signalShowVideo();
|
||||
}
|
||||
|
||||
|
||||
bool FullscreenVideoDummyWidget::event(QEvent *event)
|
||||
{
|
||||
if (event->type() == QEvent::Type::Show)
|
||||
assert(false);
|
||||
return QWidget::event(event);
|
||||
}
|
||||
|
||||
} // namespace LtsMultiMonitor
|
||||
Reference in new issue
Block a user