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.
37 lines
590 B
C++
37 lines
590 B
C++
#pragma once
|
|
|
|
#include <QVariant>
|
|
|
|
#include "ZxDynamic.h"
|
|
#include "IxDynObj.h"
|
|
|
|
class IxPtyItem;
|
|
class ZxXpfNode;
|
|
|
|
// 单条属性编辑控件
|
|
class IxPtyItemEditor
|
|
: virtual public IxDynObj
|
|
{
|
|
public:
|
|
|
|
// 绑定属性条目
|
|
virtual void bindItem(IxPtyItem *) = 0;
|
|
|
|
// 更新内容
|
|
virtual void updateValue() = 0;
|
|
|
|
// 更改配置
|
|
virtual void setConfig(ZxXpfNode *) = 0;
|
|
|
|
// 激活
|
|
virtual void activate() = 0;
|
|
virtual void deactivate() = 0;
|
|
|
|
// 重置控件
|
|
virtual void resetEditor() = 0;
|
|
|
|
// 双击
|
|
virtual void onDoubleClicked(int n) = 0;
|
|
};
|
|
|