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

📄 qigaugecomponent.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) 'QiGaugeComponent.pas' rev: 6.00

#ifndef QiGaugeComponentHPP
#define QiGaugeComponentHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiComponent.hpp>	// Pascal unit
#include <QiCLXComponent.hpp>	// Pascal unit
#include <QiPositionComponent.hpp>	// Pascal unit
#include <QiGaugePointer.hpp>	// Pascal unit
#include <QiScaleComponent.hpp>	// Pascal unit
#include <QiGPFunctions.hpp>	// Pascal unit
#include <QiTypes.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 Qigaugecomponent
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiGaugeComponent;
class PASCALIMPLEMENTATION TiGaugeComponent : public Qiscalecomponent::TiScaleComponent 
{
	typedef Qiscalecomponent::TiScaleComponent inherited;
	
private:
	Qigaugepointer::TiGaugePointerManager* FPointerManager;
	double FSectionEnd1;
	double FSectionEnd2;
	double FSectionEnd3;
	double FSectionEnd4;
	int FSectionCount;
	Qgraphics::TColor FSectionColor1;
	Qgraphics::TColor FSectionColor2;
	Qgraphics::TColor FSectionColor3;
	Qgraphics::TColor FSectionColor4;
	Qgraphics::TColor FSectionColor5;
	Qitypes::TIndexObjectEvent FOnClickPointer;
	
protected:
	void __fastcall SetSectionColor1(const Qgraphics::TColor Value);
	void __fastcall SetSectionColor2(const Qgraphics::TColor Value);
	void __fastcall SetSectionColor3(const Qgraphics::TColor Value);
	void __fastcall SetSectionColor4(const Qgraphics::TColor Value);
	void __fastcall SetSectionColor5(const Qgraphics::TColor Value);
	void __fastcall SetSectionCount(const int Value);
	void __fastcall SetSectionEnd1(const double Value);
	void __fastcall SetSectionEnd2(const double Value);
	void __fastcall SetSectionEnd3(const double Value);
	void __fastcall SetSectionEnd4(const double Value);
	virtual double __fastcall GetPosition(void);
	virtual void __fastcall SetPosition(const double Value);
	virtual void __fastcall DoPointerBounds(void);
	Qigaugepointer::TiGaugePointer* __fastcall GetPointers(int Index);
	int __fastcall GetPointerCount(void);
	virtual void __fastcall DefineProperties(Classes::TFiler* Filer);
	void __fastcall WriteSectionEnd1(Classes::TWriter* Writer);
	void __fastcall ReadSectionEnd1(Classes::TReader* Reader);
	void __fastcall WriteSectionEnd2(Classes::TWriter* Writer);
	void __fastcall ReadSectionEnd2(Classes::TReader* Reader);
	__property Qgraphics::TColor SectionColor1 = {read=FSectionColor1, write=SetSectionColor1, default=32768};
	__property Qgraphics::TColor SectionColor2 = {read=FSectionColor2, write=SetSectionColor2, default=65535};
	__property Qgraphics::TColor SectionColor3 = {read=FSectionColor3, write=SetSectionColor3, default=255};
	__property Qgraphics::TColor SectionColor4 = {read=FSectionColor4, write=SetSectionColor4, default=65535};
	__property Qgraphics::TColor SectionColor5 = {read=FSectionColor5, write=SetSectionColor5, default=65535};
	__property int SectionCount = {read=FSectionCount, write=SetSectionCount, default=0};
	__property double SectionEnd1 = {read=FSectionEnd1, write=SetSectionEnd1};
	__property double SectionEnd2 = {read=FSectionEnd2, write=SetSectionEnd2};
	__property double SectionEnd3 = {read=FSectionEnd3, write=SetSectionEnd3};
	__property double SectionEnd4 = {read=FSectionEnd4, write=SetSectionEnd4};
	void __fastcall InsertEvent(System::TObject* Sender);
	void __fastcall RemoveEvent(System::TObject* Sender);
	void __fastcall ChangeEvent(System::TObject* Sender);
	__property Qigaugepointer::TiGaugePointerManager* PointerManager = {read=FPointerManager};
	virtual void __fastcall InitializePointer(Qigaugepointer::TiGaugePointer* iGaugePointer);
	
public:
	__fastcall virtual TiGaugeComponent(Classes::TComponent* AOwner);
	__fastcall virtual ~TiGaugeComponent(void);
	int __fastcall AddPointer(void);
	void __fastcall RemoveAllPointers(void);
	void __fastcall DeletePointer(int Index);
	__property int PointerCount = {read=GetPointerCount, nodefault};
	__property Qigaugepointer::TiGaugePointer* Pointers[int Index] = {read=GetPointers};
	bool __fastcall GetPointersVisible(int Index);
	double __fastcall GetPointersPosition(int Index);
	int __fastcall GetPointersSize(int Index);
	Qgraphics::TColor __fastcall GetPointersColor(int Index);
	void __fastcall SetPointersVisible(int Index, bool Value);
	void __fastcall SetPointersPosition(int Index, double Value);
	void __fastcall SetPointersSize(int Index, int Value);
	void __fastcall SetPointersColor(int Index, Qgraphics::TColor Value);
	
__published:
	__property Qitypes::TIndexObjectEvent OnClickPointer = {read=FOnClickPointer, write=FOnClickPointer};
public:
	#pragma option push -w-inl
	/* TWidgetControl.CreateParented */ inline __fastcall TiGaugeComponent(Qt::QWidgetH* ParentWidget) : Qiscalecomponent::TiScaleComponent(ParentWidget) { }
	#pragma option pop
	
};


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

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

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

⌨️ 快捷键说明

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