玉兔远程控制
0.1.0-bate11
Toggle main menu visibility
载入中...
搜索中...
未找到
App
Client
ViewSplitterContainer.h
1
// Author: Kang Lin <kl222@126.com>
2
3
#ifndef VIEWSPLITTERCONTAINER_H
4
#define VIEWSPLITTERCONTAINER_H
5
6
#include <QWidget>
7
#include "TitleBar.h"
8
#include "ParameterApp.h"
9
13
class
CViewSplitterContainer :
public
QFrame
14
{
15
Q_OBJECT
16
public
:
17
explicit
CViewSplitterContainer(QWidget* pView,
CParameterApp
* pPara);
18
virtual
~CViewSplitterContainer();
19
20
QWidget* GetView();
21
void
SetPrompt(
const
QString& szPrompt);
22
int
SetVisibleTab(
bool
bVisible);
23
bool
GetVisibleTab();
24
25
Q_SIGNALS:
26
void
sigFouceIn(QWidget *pView);
27
public
Q_SLOTS:
28
void
slotTabPositionChanged();
29
private
Q_SLOTS:
30
void
slotCustomContextMenuRequested(
const
QPoint &pos);
31
32
Q_SIGNALS:
33
void
sigCloseView(
const
QWidget* pView);
34
35
private
:
36
RabbitCommon::CTitleBar* m_pTab;
37
QWidget* m_pView;
38
CParameterApp
* m_pParameterApp;
39
40
// QWidget interface
41
protected
:
42
virtual
void
closeEvent(QCloseEvent *event)
override
;
43
virtual
bool
eventFilter(QObject *watched, QEvent *event)
override
;
44
};
45
46
#endif
// VIEWSPLITTERCONTAINER_H
CParameterApp
定义
ParameterApp.h:10
作者:康林 (kl222@126.com)
版权所有(c) 康林工作室 保留所有权力