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.
AppFlow/GUIDialog/GUIGeometryDialog/CompFaceGroupSelectWidget.h

169 lines
4.5 KiB
C

/**
*
* @file CompFaceGroupSelectWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*
*/
#ifndef CompFaceGroupSelectWidget_H
#define CompFaceGroupSelectWidget_H
#include <QWidget>
#include <QLineEdit>
namespace Ui {
class CompFaceGroupSelectWidget;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
class CompFaceGroupSelectWidget :public QWidget
{
Q_OBJECT;
public:
/**
* @brief Construct a new Comp Face Group Select Widget object
* @param[i] parent My Param doc
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
CompFaceGroupSelectWidget(QWidget* parent);
/**
* @brief Destroy the Comp Face Group Select Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
~CompFaceGroupSelectWidget();
/**
* @brief init
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void init();
/**
* @brief Set the Name object
* @param[i] name My Param doc
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void setName(QString name);
/**
* @brief Get the Name object
* @return QString name
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
QString getName();
/**
* @brief
* @param[i] pos
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void setData(int pos, QVariant value);
/**
* @brief
* @param[i] pos
* @return QVariant
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
QVariant data(int pos);
/**
* @brief
* @param[i] type
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void setSelect(bool type);
/**
* @brief
* @param[i] row
* @param[i] clo
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void setCurrentPos(int row, int clo);
/**
* @brief Get the Current Pos object
* @return QPair<int, int>
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
QPair<int, int> getCurrentPos();
/**
* @brief
* @param[i] isEdit
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
void setIsEdit(bool isEdit);
signals:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void sigEditNameStart();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void sigEditNameFinish();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void sigOkClicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void sigCancelClicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void sigDeleteClicked();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
Ui::CompFaceGroupSelectWidget* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
QHash<int, QVariant> _data;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
QPair<int, int> _currentPos;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
bool _isEdit = true;
};
}
#endif