⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qiplotlabel.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'QiPlotLabel.pas' rev: 6.00

#ifndef QiPlotLabelHPP
#define QiPlotLabelHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiPlotChannelCustom.hpp>	// Pascal unit
#include <QiPlotObjects.hpp>	// Pascal unit
#include <QiGPFunctions.hpp>	// Pascal unit
#include <QiTypes.hpp>	// Pascal unit
#include <QMenus.hpp>	// Pascal unit
#include <QExtCtrls.hpp>	// Pascal unit
#include <QStdCtrls.hpp>	// Pascal unit
#include <QComCtrls.hpp>	// Pascal unit
#include <QControls.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <QTypes.hpp>	// Pascal unit
#include <QClipbrd.hpp>	// Pascal unit
#include <QDialogs.hpp>	// Pascal unit
#include <QForms.hpp>	// Pascal unit
#include <QGraphics.hpp>	// Pascal unit
#include <Qt.hpp>	// Pascal unit
#include <TypInfo.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Qiplotlabel
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiPlotLabel;
class PASCALIMPLEMENTATION TiPlotLabel : public Qiplotobjects::TiPlotLayoutObject 
{
	typedef Qiplotobjects::TiPlotLayoutObject inherited;
	
private:
	int FRequiredWidth;
	int FMarginTopPixels;
	int FMarginBottomPixels;
	int FMarginLeftPixels;
	int FMarginRightPixels;
	AnsiString FCaption;
	double FMarginLeft;
	double FMarginRight;
	double FMarginBottom;
	double FMarginTop;
	Qgraphics::TFont* FFont;
	Qitypes::TiAlignmentHorizontal FAlignment;
	
protected:
	void __fastcall SetCaption(const AnsiString Value);
	void __fastcall SetMarginBottom(const double Value);
	void __fastcall SetMarginLeft(const double Value);
	void __fastcall SetMarginRight(const double Value);
	void __fastcall SetMarginTop(const double Value);
	void __fastcall SetFont(const Qgraphics::TFont* Value);
	void __fastcall SetAlignment(const Qitypes::TiAlignmentHorizontal Value);
	void __fastcall CalcRects(Qgraphics::TCanvas* Canvas);
	virtual int __fastcall GetRequiredWidth(const Qgraphics::TCanvas* Canvas);
	virtual void __fastcall Draw(const Qgraphics::TCanvas* Canvas, const Qgraphics::TColor BackGroundColor);
	
public:
	__fastcall virtual TiPlotLabel(System::TObject* AOwner, Classes::TNotifyEvent AOnChange, Classes::TNotifyEvent AOnInsert, Classes::TNotifyEvent AOnRemove, Classes::TNotifyEvent AOnRename);
	__fastcall virtual ~TiPlotLabel(void);
	
__published:
	__property double MarginLeft = {read=FMarginLeft, write=SetMarginLeft};
	__property double MarginTop = {read=FMarginTop, write=SetMarginTop};
	__property double MarginRight = {read=FMarginRight, write=SetMarginRight};
	__property double MarginBottom = {read=FMarginBottom, write=SetMarginBottom};
	__property AnsiString Caption = {read=FCaption, write=SetCaption};
	__property Qitypes::TiAlignmentHorizontal Alignment = {read=FAlignment, write=SetAlignment, nodefault};
	__property Qgraphics::TFont* Font = {read=FFont, write=SetFont};
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Qiplotlabel */
using namespace Qiplotlabel;
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// QiPlotLabel

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -