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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# pragma once
# include "iGridRowItemSub.h"
// 常规的Sub, 比如层数据
class X_GUI_GRIDPTY_EXPORT iGridRowItemSubNormal :
public iGridRowItemSub
{
Q_OBJECT
public :
explicit iGridRowItemSubNormal ( iGridRowItem * pParent = nullptr ) ;
~ iGridRowItemSubNormal ( ) ;
public :
// 序列化
virtual void onSerialize ( ZxSerializer * ser ) ;
virtual void onDeserialize ( ZxSerializer * ser ) ;
// 控件
virtual void initEditor ( ) ;
virtual void configEditor ( ) ;
virtual void initOtherEditors ( ) ;
virtual bool isInputOk ( ) ;
virtual void setParameter ( iParameter * p ) ;
// 根据当前数据,构造默认的数据体
virtual void defaultSubInfos ( ) ;
// 刷新
// n:数
virtual void freshSubChild ( int n , bool bBySegCount ) ;
// 从外部设置数据
virtual void setAllSubInfos ( QStringList & listTagRows , \
VVecVariant & vvec , \
bool bReadonly = true , \
bool bExpanded = false ) ;
public slots :
protected :
QStringList m_listTagRows ;
// QStringList m_listTagCols;
VVecVariant m_vvecSubInfos ;
} ;