Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
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
24class CView : public QWidget
25{
26 Q_OBJECT
27public:
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
41public Q_SLOTS:
42 virtual void slotSystemCombination() = 0;
43
44Q_SIGNALS:
46 void sigCloseView(const QWidget* pView);
47 void sigCurrentChanged(const QWidget* pView);
48};
49
50#endif // CVIEW_H
The CView class.
Definition View.h:25
void sigCloseView(const QWidget *pView)
virtual int AddView(QWidget *pView)=0
virtual QWidget * GetCurrentView()=0
virtual int RemoveView(QWidget *pView)=0