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.

82 lines
2.1 KiB
C

/**********************************************************************
* @file PropertyWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*********************************************************************/
#ifndef _PropertyWidget_H_
#define _PropertyWidget_H_
#include "GUIWidgetAPI.h"
#include "GUIWidgetBase.h"
namespace Ui {
class PropertyWidget;
}
namespace GUI
{
class GUIWidgetAPI PropertyWidget : public GUIWidgetBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
PropertyWidget(QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
~PropertyWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
void init();
/**
* @brief
* @param[i] postDataID id
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
void updateCurrentGraphObj(int postDataID);
private slots:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
void on_horizontalSlider_Opacity_valueChanged(int value);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
void on_spinBox_Opacity_editingFinished();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
void updateOpacity();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-13
*/
Ui::PropertyWidget* _ui = nullptr;
};
}
#endif