20 explicit CViewTable(QWidget *parent =
nullptr);
24 virtual int AddView(QWidget *pView)
override;
25 virtual int RemoveView(QWidget *pView)
override;
27 virtual int SetCurrentView(QWidget* pView)
override;
28 virtual void SetWidowsTitle(QWidget* pView,
const QString& szTitle,
const QIcon& icon,
const QString& szToolTip)
override;
29 virtual int SetFullScreen(
bool bFull)
override;
30 int ShowTabBar(
bool bShow);
31 virtual QSize GetDesktopSize()
override;
34 void slotCurrentChanged(
int index);
35 void slotTabCloseRequested(
int index);
37 void slotTabPositionChanged();
39 virtual void slotSystemCombination()
override;
43 QString m_szStyleSheet;
46 QWidget* GetViewer(
int index);
47 int GetViewIndex(QWidget* pView);
51 virtual void resizeEvent(QResizeEvent *event)
override;