MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Q_LOGGING_CATEGORY

Function Q_LOGGING_CATEGORY

Src/FrmScroll.cpp:8–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "FrmScroll.h"
7
8static Q_LOGGING_CATEGORY(log, "Client.FrmScroll")
9CFrmScroll::CFrmScroll(CFrmViewer *pView, QWidget *parent) : QScrollArea(parent)
10{
11 qDebug(log) << Q_FUNC_INFO;
12 //setFocusPolicy(Qt::NoFocus);
13 if(pView)
14 {
15 setWidget(pView);
16 pView->show();
17 bool check = connect(pView,
18 SIGNAL(sigMouseMoveEvent(QMouseEvent*)),
19 this,
20 SLOT(slotMouseMoveEvent(QMouseEvent*)));
21 Q_ASSERT(check);
22 }
23 setAlignment(Qt::AlignCenter);
24 //setBackgroundRole(QPalette::Dark);
25 setWidgetResizable(false);
26 slotSetAdaptWindows(GetViewer()->GetAdaptWindows());
27}
28
29CFrmScroll::~CFrmScroll()
30{

Callers

nothing calls this directly

Calls 1

GetAdaptWindowsMethod · 0.45

Tested by

no test coverage detected