CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::CTreeModelNode类 参考
+ 类 BUI::CTreeModelNode 继承关系图:

Public 成员函数

 CTreeModelNode ()
 
 ~CTreeModelNode ()
 
void SetCellVisable (BOOL show)
 设置集合竞价右键菜单组显示类型
 
void SetCellMatched (BOOL matched)
 func是一个普通成员函数
 
void SetClickAction (std::shared_ptr< IActionNotify > action)
 
void SetExpandRect (int x, int y, int w, int h)
 
BOOL PtInExpandRect (POINT pt)
 
BOOL IsVisable (UINT mask) const
 
int NodeDepth () const
 
void OnTranslateLanguage ()
 
BOOL IsHasChild ()
 
- Public 成员函数 继承自 BUI::CheckBoxMode
 CheckBoxMode ()
 
 ~CheckBoxMode ()
 
void SetCheckState (SelectState state)
 
SelectState CheckState () const
 
void SetCheckBoxRect (int x, int y, int w, int h)
 
BOOL PtInCheckBox (POINT pt) const
 
RECT CheckBoxRect () const
 
void SetCheckBoxAction (std::shared_ptr< IActionNotify > &action)
 
- Public 成员函数 继承自 BUI::CTreeRowCell
 CTreeRowCell ()
 
 ~CTreeRowCell ()
 
UINT Size () const
 
void Clear ()
 
void AppendDataCell (std::shared_ptr< CNodeSpanCell > &cell)
 
BOOL InsertDataCell (int column, std::shared_ptr< CNodeSpanCell > &cell)
 
void RemoveDataCell (int column)
 
CNodeSpanCellGetSubCell (int col)
 
void OnAllocNodeCell (int nCol, int count)
 
void OnDeleteCol (int nCol, int count)
 
void OnNodeCollapsed ()
 
void OnSetNodeRect (int col, int x, int y, int w, int h)
 
void OnDrawTreeCell (int col, ISurface *pSurface, RECT rcCell, const GColor &color_text, UINT textAlignFlag)
 
BOOL SetCellSelected (int start, int end, BOOL bSelt)
 

Public 属性

RECT rc_row
 
RECT rc_expand
 
BOOL is_collapsed
 
UINT visable_flag
 
int context_x
 
int row_y
 
int depth
 
int line_number
 
ItemState m_state
 
CTreeModelNodeprev
 
CTreeModelNodenext
 
CTreeModelNodeparent
 
CTreeModelNodefirst_child
 
CTreeModelNodelast_child
 
CTreeModelNodeprev_sibling
 
CTreeModelNodenext_sibling
 
std::shared_ptr< IActionNotifyclick_action
 

额外继承的成员函数

- Protected 属性 继承自 BUI::CheckBoxMode
RECT m_rc_checkbox
 
SelectState m_check_state
 
std::shared_ptr< IActionNotifym_checkbox_action
 
- Protected 属性 继承自 BUI::CTreeRowCell
std::vector< std::shared_ptr< CNodeSpanCell > > m_rowOfcells
 

构造及析构函数说明

◆ CTreeModelNode()

BUI::CTreeModelNode::CTreeModelNode ( )

◆ ~CTreeModelNode()

BUI::CTreeModelNode::~CTreeModelNode ( )

成员函数说明

◆ IsHasChild()

BOOL BUI::CTreeModelNode::IsHasChild ( )

◆ IsVisable()

BOOL BUI::CTreeModelNode::IsVisable ( UINT  mask) const

◆ NodeDepth()

int BUI::CTreeModelNode::NodeDepth ( ) const

◆ OnTranslateLanguage()

void BUI::CTreeModelNode::OnTranslateLanguage ( )

◆ PtInExpandRect()

BOOL BUI::CTreeModelNode::PtInExpandRect ( POINT  pt)

◆ SetCellMatched()

void BUI::CTreeModelNode::SetCellMatched ( BOOL  matched)

func是一个普通成员函数

参数
a[in] param a
b[in, out] param b
c[out] output
返回
int
返回值
1: result1; 2 : result2;
参见
f()

◆ SetCellVisable()

void BUI::CTreeModelNode::SetCellVisable ( BOOL  show)

设置集合竞价右键菜单组显示类型

返回
void
参数
show
Date Version Author Description
2019-11-17 1.0 wangh 内容

◆ SetClickAction()

void BUI::CTreeModelNode::SetClickAction ( std::shared_ptr< IActionNotify action)

◆ SetExpandRect()

void BUI::CTreeModelNode::SetExpandRect ( int  x,
int  y,
int  w,
int  h 
)

类成员变量说明

◆ click_action

std::shared_ptr<IActionNotify> BUI::CTreeModelNode::click_action

◆ context_x

int BUI::CTreeModelNode::context_x

◆ depth

int BUI::CTreeModelNode::depth

◆ first_child

CTreeModelNode* BUI::CTreeModelNode::first_child

◆ is_collapsed

BOOL BUI::CTreeModelNode::is_collapsed

◆ last_child

CTreeModelNode* BUI::CTreeModelNode::last_child

◆ line_number

int BUI::CTreeModelNode::line_number

◆ m_state

ItemState BUI::CTreeModelNode::m_state

◆ next

CTreeModelNode* BUI::CTreeModelNode::next

◆ next_sibling

CTreeModelNode* BUI::CTreeModelNode::next_sibling

◆ parent

CTreeModelNode* BUI::CTreeModelNode::parent

◆ prev

CTreeModelNode* BUI::CTreeModelNode::prev

◆ prev_sibling

CTreeModelNode* BUI::CTreeModelNode::prev_sibling

◆ rc_expand

RECT BUI::CTreeModelNode::rc_expand

◆ rc_row

RECT BUI::CTreeModelNode::rc_row

◆ row_y

int BUI::CTreeModelNode::row_y

◆ visable_flag

UINT BUI::CTreeModelNode::visable_flag
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有