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

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

#ifndef QiPipeHPP
#define QiPipeHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiComponent.hpp>	// Pascal unit
#include <QiCLXComponent.hpp>	// Pascal unit
#include <QiCustomComponent.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 Qipipe
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiPipeFlowIndicatorStyle { ipfisCircle, ipfisBox, ipfisTriangle };
#pragma option pop

class DELPHICLASS TiPipe;
class PASCALIMPLEMENTATION TiPipe : public Qicustomcomponent::TiCustomComponent 
{
	typedef Qicustomcomponent::TiCustomComponent inherited;
	
private:
	bool FFlowOn;
	int FFlowInterval;
	bool FFlowIndicatorHideWhenOff;
	bool FFlowReverse;
	int FFlowIndicatorSize;
	int FFlowIndicatorSpacing;
	Qgraphics::TColor FFlowIndicatorColor;
	bool FFlowIndicatorUseTubeColor;
	Qgraphics::TColor FTubeColor;
	int FFlowStep;
	bool FHorizontal;
	Qgraphics::TColor FTubeHighlightColor;
	int FFLowIndicatorHalfSize;
	TiPipeFlowIndicatorStyle FFlowIndicatorStyle;
	
protected:
	void __fastcall SetFlowOn(const bool Value);
	void __fastcall SetFlowInterval(const int Value);
	void __fastcall SetFlowIndicatorHideWhenOff(const bool Value);
	void __fastcall SetFlowReverse(const bool Value);
	void __fastcall SetFlowIndicatorColor(const Qgraphics::TColor Value);
	void __fastcall SetFlowIndicatorSize(const int Value);
	void __fastcall SetFlowIndicatorSpacing(const int Value);
	void __fastcall SetFlowIndicatorUseTubeColor(const bool Value);
	void __fastcall SetTubeColor(const Qgraphics::TColor Value);
	void __fastcall SetFlowIndicatorStyle(const TiPipeFlowIndicatorStyle Value);
	virtual void __fastcall iPaintTo(Qgraphics::TCanvas* Canvas);
	void __fastcall CalcRects(Qgraphics::TCanvas* Canvas);
	void __fastcall DrawTube(Qgraphics::TCanvas* Canvas);
	void __fastcall DrawFlow(Qgraphics::TCanvas* Canvas);
	void __fastcall TimerEvent(System::TObject* Sender);
	
public:
	__fastcall virtual TiPipe(Classes::TComponent* AOwner);
	__fastcall virtual ~TiPipe(void);
	
__published:
	__property int FlowInterval = {read=FFlowInterval, write=SetFlowInterval, default=1000};
	__property bool FlowOn = {read=FFlowOn, write=SetFlowOn, default=0};
	__property bool FlowReverse = {read=FFlowReverse, write=SetFlowReverse, nodefault};
	__property TiPipeFlowIndicatorStyle FlowIndicatorStyle = {read=FFlowIndicatorStyle, write=SetFlowIndicatorStyle, nodefault};
	__property int FlowIndicatorSize = {read=FFlowIndicatorSize, write=SetFlowIndicatorSize, nodefault};
	__property int FlowIndicatorSpacing = {read=FFlowIndicatorSpacing, write=SetFlowIndicatorSpacing, nodefault};
	__property Qgraphics::TColor FlowIndicatorColor = {read=FFlowIndicatorColor, write=SetFlowIndicatorColor, nodefault};
	__property bool FlowIndicatorUseTubeColor = {read=FFlowIndicatorUseTubeColor, write=SetFlowIndicatorUseTubeColor, nodefault};
	__property bool FlowIndicatorHideWhenOff = {read=FFlowIndicatorHideWhenOff, write=SetFlowIndicatorHideWhenOff, nodefault};
	__property Qgraphics::TColor TubeColor = {read=FTubeColor, write=SetTubeColor, nodefault};
	__property Width  = {default=300};
	__property Height  = {default=17};
public:
	#pragma option push -w-inl
	/* TWidgetControl.CreateParented */ inline __fastcall TiPipe(Qt::QWidgetH* ParentWidget) : Qicustomcomponent::TiCustomComponent(ParentWidget) { }
	#pragma option pop
	
};


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

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

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

⌨️ 快捷键说明

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