Rabbit Remote Control
0.0.34
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
23
class
CView
:
public
QWidget
24
{
25
Q_OBJECT
26
public
:
27
explicit
CView
(QWidget *parent =
nullptr
);
28
virtual
~CView
();
29
31
virtual
int
AddView
(QWidget* pView) = 0;
33
virtual
int
RemoveView
(QWidget* pView) = 0;
35
virtual
QWidget*
GetCurrentView
() = 0;
36
virtual
int
SetCurrentView(QWidget* pView) = 0;
37
virtual
void
SetWidowsTitle(QWidget* pView,
const
QString& szTitle,
38
const
QIcon& icon,
const
QString& szToolTip) = 0;
39
virtual
int
SetFullScreen(
bool
bFull) = 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:24
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) 康林工作室 保留所有权力