Rabbit Remote Control 0.0.30
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members

The CViewTable class. More...

#include <ViewTable.h>

Inheritance diagram for CViewTable:
CView

Public Member Functions

 CViewTable (QWidget *parent=nullptr)
 
virtual int AddView (QWidget *pView) override
 
virtual int RemoveView (QWidget *pView) override
 
virtual QWidget * GetCurrentView () override
 
virtual void SetWidowsTitle (QWidget *pView, const QString &szTitle, const QIcon &icon, const QString &szToolTip) override
 
virtual int SetFullScreen (bool bFull) override
 
int ShowTabBar (bool bShow)
 
virtual QSize GetDesktopSize () override
 
- Public Member Functions inherited from CView
 CView (QWidget *parent=nullptr)
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event) override
 

Private Slots

void slotCurrentChanged (int index)
 
void slotTabCloseRequested (int index)
 
void slotTabPositionChanged ()
 
virtual void slotSystemCombination () override
 

Private Member Functions

QWidget * GetViewer (int index)
 
int GetViewIndex (QWidget *pView)
 

Private Attributes

QTabWidget * m_pTab
 
QString m_szStyleSheet
 
MainWindowm_pMainWindow
 

Additional Inherited Members

- Public Slots inherited from CView
virtual void slotSystemCombination ()=0
 
- Signals inherited from CView
void sigCloseView (const QWidget *pView)
 
void sigCurrentChanged (const QWidget *pView)
 

Detailed Description

The CViewTable class.

Definition at line 15 of file ViewTable.h.

Constructor & Destructor Documentation

◆ CViewTable()

static App View Table Record CViewTable::CViewTable ( QWidget *  parent = nullptr)
explicit

Definition at line 17 of file ViewTable.cpp.

◆ ~CViewTable()

CViewTable::~CViewTable ( )
virtual

Definition at line 55 of file ViewTable.cpp.

Member Function Documentation

◆ AddView()

int CViewTable::AddView ( QWidget *  pView)
overridevirtual
Note
QWidget* pView must is same as CConnecter::GetViewer()

Implements CView.

Definition at line 91 of file ViewTable.cpp.

◆ GetCurrentView()

QWidget * CViewTable::GetCurrentView ( )
overridevirtual
Note
The return QWidget* must is same as CConnecter::GetViewer()

Implements CView.

Definition at line 179 of file ViewTable.cpp.

◆ GetDesktopSize()

QSize CViewTable::GetDesktopSize ( )
overridevirtual

Implements CView.

Definition at line 194 of file ViewTable.cpp.

◆ GetViewer()

QWidget * CViewTable::GetViewer ( int  index)
private

Definition at line 159 of file ViewTable.cpp.

◆ GetViewIndex()

int CViewTable::GetViewIndex ( QWidget *  pView)
private

Definition at line 167 of file ViewTable.cpp.

◆ RemoveView()

int CViewTable::RemoveView ( QWidget *  pView)
overridevirtual
Note
QWidget* pView must is same as CConnecter::GetViewer()

Implements CView.

Definition at line 106 of file ViewTable.cpp.

◆ resizeEvent()

void CViewTable::resizeEvent ( QResizeEvent *  event)
overrideprotectedvirtual

Definition at line 186 of file ViewTable.cpp.

◆ SetFullScreen()

int CViewTable::SetFullScreen ( bool  bFull)
overridevirtual

Implements CView.

Definition at line 136 of file ViewTable.cpp.

◆ SetWidowsTitle()

void CViewTable::SetWidowsTitle ( QWidget *  pView,
const QString &  szTitle,
const QIcon &  icon,
const QString &  szToolTip 
)
overridevirtual

Implements CView.

Definition at line 115 of file ViewTable.cpp.

◆ ShowTabBar()

int CViewTable::ShowTabBar ( bool  bShow)

Definition at line 153 of file ViewTable.cpp.

◆ slotCurrentChanged

void CViewTable::slotCurrentChanged ( int  index)
privateslot

Definition at line 62 of file ViewTable.cpp.

◆ slotSystemCombination

void CViewTable::slotSystemCombination ( )
overrideprivatevirtualslot

Definition at line 82 of file ViewTable.cpp.

◆ slotTabCloseRequested

void CViewTable::slotTabCloseRequested ( int  index)
privateslot

Definition at line 68 of file ViewTable.cpp.

◆ slotTabPositionChanged

void CViewTable::slotTabPositionChanged ( )
privateslot

Definition at line 75 of file ViewTable.cpp.

Member Data Documentation

◆ m_pMainWindow

MainWindow* CViewTable::m_pMainWindow
private

Definition at line 43 of file ViewTable.h.

◆ m_pTab

QTabWidget* CViewTable::m_pTab
private

Definition at line 41 of file ViewTable.h.

◆ m_szStyleSheet

QString CViewTable::m_szStyleSheet
private

Definition at line 42 of file ViewTable.h.


The documentation for this class was generated from the following files: