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 "ZxCompoundTool.h"
class ZxSimpleTool;
/// 箭头工具.
/// 含单选, 多选, 框选, 编辑, 移动, 右键菜单等
class I_PLOTBASE_EXPORT ZxArrowTool : public ZxCompoundTool
{
Q_OBJECT
public:
ZxArrowTool();
// 针对对象索引调整增加一些接口
// 注意:针对 m_vecSubTools 进行操作
// 交换两个Tool的索引顺序
bool swapTools(ZxSimpleTool* pTool1, ZxSimpleTool* pTool2);
// Tool索引移至最后(也就是说,遍历时,最后一个才检测)
bool moveToolToLast(ZxSimpleTool* pTool);
// Tool索引移至最前面(也就是说,遍历时,第一个检测)
bool moveToolToFirst(ZxSimpleTool* pTool);
};