Inherited from UIProxy,
Inherited by NULL
Friend class NULL
Description
Members
Public interface
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
void
listProperty(TypeID type,const XItem * item,TypeID domainType )
void
changeProperty(const XItem * item, ulong cid, const QVariant * v)
-
QTimer m_pTimer
PreObjectTreeHandler * m_pObjectTreeHdl
PreUIProxy(MainFrame * frame,XDocument * doc)
function: 构造函数
parameters:
[i]MainFrame * frame: 主框架指针
[i]XDocument * doc: 文档指针
return value: 无
~PreUIProxy()
function: 析构函数
parameters: NULL
return value: 无
bool onApplicationEvent(EventTypeID et, XWord param)
ulong getItemCommandID(int type, const XItem * pi)
function:
parameters:
[i]int type:
[i] const XItem * pi:
return value:
virtual void onCmdCommit()
function: 命令提交之后完成视图的切换
parameters: NULL
return value: 无
virtual void onDocLoaded()
function:
parameters: NULL
return value:
virtual void activate()
function: 将该界面代理激活
parameters: NULL
return value: 无
virtual void deactivate()
function: 将该界面代理停用
parameters: NULL
return value: 无
XRender * getRender()
function: 获取图形渲染器
parameters: NULL
return value: 图形渲染器指针
bool isCommandEnabled(ulong cid)
void listProperty(TypeID type,const XItem * item,TypeID domainType )
function: 列举对象树节点属性
parameters:
[i]TypeID type: 节点类型
[i] const XItem * item:数据对象指针
[i] TypeID domainType: 数据对象所属域
return value: 无
void changeProperty(const XItem * item, ulong cid, const QVariant * v)
function: 修改对象属性
parameters:
[i]const XItem * item: 数据对象指针
[i] ulong cid: 修改属性所用到的命令ID
[i] const QVariant * v: 属性值
return value: 无