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.

65 lines
1.8 KiB
C

/**
*
* @file FITKTreeWidgetOperator.h
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-10-08
*
*/
#ifndef _FITK_TREEWIDGET_OPERATOR_H___
#define _FITK_TREEWIDGET_OPERATOR_H___
#include "FITKAbstractOperator.h"
class QTreeWidget;
class QTreeWidgetItem;
namespace Core
{
/**
* @brief
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-10-08
*/
class FITKCoreAPI FITKTreeWidgetOperator : public FITKAbstractOperator
{
public:
/**
* @brief Construct a new FITKTreeWidgetOperator object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-10-08
*/
explicit FITKTreeWidgetOperator() = default;
/**
* @brief Destroy the FITKTreeWidgetOperator object
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-10-08
*/
virtual ~FITKTreeWidgetOperator() = 0;
/**
* @brief
* @param[i] w
* @param[i] item
* @param[i] col
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-10-08
*/
virtual void on_itemClicked(QTreeWidget* w, QTreeWidgetItem* item, int col = 0);
/**
* @brief
* @param[i] w
* @param[i] item
* @param[i] col
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-10-08
*/
virtual void on_itemDoubleClicked(QTreeWidget* w, QTreeWidgetItem* item, int col = 0);
private:
};
}
#endif