Rabbit Remote Control
0.0.30
Loading...
Searching...
No Matches
App
Client
View.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef CVIEW_H
4
#define CVIEW_H
5
6
#include <QWidget>
7
#include "Connecter.h"
8
24
class
CView
:
public
QWidget
25
{
26
Q_OBJECT
27
public
:
28
explicit
CView
(QWidget *parent =
nullptr
);
29
virtual
~CView
();
30
32
virtual
int
AddView
(QWidget* pView) = 0;
34
virtual
int
RemoveView
(QWidget* pView) = 0;
36
virtual
QWidget*
GetCurrentView
() = 0;
37
virtual
void
SetWidowsTitle(QWidget* pView,
const
QString& szTitle,
const
QIcon& icon,
const
QString& szToolTip) = 0;
38
virtual
int
SetFullScreen(
bool
bFull) = 0;
39
virtual
QSize GetDesktopSize() = 0;
40
41
public
Q_SLOTS:
42
virtual
void
slotSystemCombination() = 0;
43
44
Q_SIGNALS:
46
void
sigCloseView
(
const
QWidget* pView);
47
void
sigCurrentChanged(
const
QWidget* pView);
48
};
49
50
#endif
// CVIEW_H
CView
The CView class.
Definition
View.h:25
CView::sigCloseView
void sigCloseView(const QWidget *pView)
CView::AddView
virtual int AddView(QWidget *pView)=0
CView::GetCurrentView
virtual QWidget * GetCurrentView()=0
CView::RemoveView
virtual int RemoveView(QWidget *pView)=0
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力