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.
AppFlowPost/GUIWidget/ToolBarColorMapper.h

78 lines
2.3 KiB
C

/**********************************************************************
* @file ToolBarColorMapper.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-10
*********************************************************************/
#ifndef _ToolBarColorMapper_H
#define _ToolBarColorMapper_H
#include "GUIWidgetAPI.h"
#include "ToolBarBase.h"
#include <QComboBox>
namespace Interface {
class FITKAbstractCFDPostData;
}
namespace GUI
{
class GUIComboBox;
class GUIWidgetAPI ToolBarColorMapper : public ToolBarBase
{
Q_OBJECT;
public:
ToolBarColorMapper(QWidget* parent = nullptr);
~ToolBarColorMapper();
/**
* @brief
* @param[i] objID id
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-07
*/
virtual void updateCurrentGraphObj(int objID) override;
private slots:
;
void slotShowColorMapp();
void slotEditColorMapp();
/**
* @brief
* @param[i] index
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-07
*/
void slotVariableChange(int index);
/**
* @brief
* @param[i] index
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*/
void slotComponentChange(int index);
/**
* @brief 线
* @param[i] index
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*/
void slotDisplayChange(int index);
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-11
*/
void updateShowColorMapp();
void updateDisplayComboBox();
void updateVariable();
void updateComponent();
private:
QAction* _actionShowColorMap = nullptr;
QAction* _actionEditColorMap = nullptr;
GUIComboBox* _variableCombox = nullptr;
GUIComboBox* _componentCombox = nullptr;
GUIComboBox* _disPlayCombox = nullptr;
};
}
#endif