You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
656 B
C++
36 lines
656 B
C++
#pragma once
|
|
|
|
#include "iDockBaseWx.h"
|
|
|
|
class ZxTableView;
|
|
class M_GUI_TREE_EXPORT iDockTableView : public iDockBaseWx
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit iDockTableView(const QString& sTitle, QWidget *parent = 0);
|
|
~iDockTableView();
|
|
|
|
// 获取View
|
|
ZxTableView* getTableView(int nIndex);
|
|
int indexOf(ZxTableView* p);
|
|
|
|
// 是否显示toolbar
|
|
void setToolBarVisible(bool );
|
|
|
|
protected:
|
|
virtual QWidget* buildCentrlWx(int nIndex);
|
|
|
|
// 功能按钮
|
|
virtual QHBoxLayout* initToolBars();
|
|
|
|
private:
|
|
|
|
// 是否显示toolbar
|
|
bool m_bShowToolBar;
|
|
|
|
// TableView载体
|
|
QVector<ZxTableView*> m_vecTableViews;
|
|
|
|
};
|