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/GUIMeshDialog/CompBaseBoundaryLineEdit.h

72 lines
1.9 KiB
C

#ifndef _CompBaseBoundaryLineEdit_H
#define _CompBaseBoundaryLineEdit_H
#include <QLineEdit>
#include "GUIMeshDialogAPI.h"
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class GUIMeshDialogAPI CompBaseBoundaryLineEdit : public QLineEdit
{
Q_OBJECT;
public:
/**
* @brief Construct a new Comp Base Boundary LineEdit object
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
CompBaseBoundaryLineEdit(QWidget* parent = nullptr);
/**
* @brief Destroy the Comp Base Boundary LineEdit object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
virtual ~CompBaseBoundaryLineEdit();
/**
* @brief
* @param[i] pos
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void setPos(int pos);
/**
* @brief
* @return int
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
int getPos();
signals:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void sigMouseMove();
protected:
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void mouseMoveEvent(QMouseEvent *event) override;
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
int _pos = -1;
};
}
#endif