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.
nmWATI/Include/iGui/iGuiGridPty/iGridRowItemBdy.h

43 lines
937 B
C

#pragma once
#include "iGridRowItemUnt.h"
// 边界
class X_GUI_GRIDPTY_EXPORT iGridRowItemBdy :
public iGridRowItemUnt
{
Q_OBJECT
public:
explicit iGridRowItemBdy(iGridRowItem* pParent = NULL);
~iGridRowItemBdy();
// 初始化子控件
void initEditor();
// 设置父窗体、为了Editor位置控制
void setDlgBase(QWidget* p);
public:
// 范围
virtual void setBounds(QRectF& rt);//全局
virtual QRectF getRightBounds_Main();//右
virtual QRectF getRightBounds_Bdy();
virtual QRectF getRightBounds_Unt();
// 结果
virtual QVariant getInfoRight();
virtual QString getInfoUnit();
virtual QString getShowValue(); //非激活时显示在右侧的文本
int getInfoBdy();
// from邹春梅封闭放在边界距离前面是不是好些
virtual void organizeResult(iResultInfo& o, QString sType);
private:
QComboBox* m_pCbxTypes;
};