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

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

#ifndef QiPlotDataCustomListHPP
#define QiPlotDataCustomListHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#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 Qiplotdatacustomlist
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiPlotDataCustomList;
class PASCALIMPLEMENTATION TiPlotDataCustomList : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	int FCount;
	int FCapacity;
	int FTail;
	bool FRingBufferEnabled;
	int FDataPointSize;
	int FMaxDataPoints;
	Qgraphics::TColor FStoredTraceLineColor;
	int FStoredTraceLineWidth;
	Qitypes::TiPlotLineStyle FStoredTraceLineStyle;
	bool FStoredMarkerVisible;
	int FStoredMarkerSize;
	Qitypes::TiPlotMarkerStyle FStoredMarkerStyle;
	Qgraphics::TColor FStoredMarkerPenColor;
	int FStoredMarkerPenWidth;
	Qgraphics::TPenStyle FStoredMarkerPenStyle;
	Qgraphics::TColor FStoredMarkerBrushColor;
	Qgraphics::TBrushStyle FStoredMarkerBrushStyle;
	char FStoredMarkerCharacter;
	bool FStoredBarVisible;
	double FStoredBarReference;
	double FStoredBarWidth;
	Qgraphics::TColor FStoredBarPenColor;
	int FStoredBarPenWidth;
	Qgraphics::TPenStyle FStoredBarPenStyle;
	Qgraphics::TColor FStoredBarBrushColor;
	Qgraphics::TBrushStyle FStoredBarBrushStyle;
	
protected:
	virtual double __fastcall GetX(const int Index) = 0 ;
	virtual double __fastcall GetY(const int Index) = 0 ;
	virtual bool __fastcall GetEmpty(const int Index);
	virtual bool __fastcall GetNull(const int Index);
	virtual double __fastcall GetHigh(const int Index);
	virtual double __fastcall GetLow(const int Index);
	virtual double __fastcall GetOpen(const int Index);
	virtual double __fastcall GetClose(const int Index);
	virtual void __fastcall SetX(const int Index, const double Value) = 0 ;
	virtual void __fastcall SetY(const int Index, const double Value) = 0 ;
	virtual void __fastcall SetEmpty(const int Index, const bool Value);
	virtual void __fastcall SetNull(const int Index, const bool Value);
	virtual void __fastcall SetHigh(const int Index, const double Value);
	virtual void __fastcall SetLow(const int Index, const double Value);
	virtual void __fastcall SetOpen(const int Index, const double Value);
	virtual void __fastcall SetClose(const int Index, const double Value);
	virtual Qgraphics::TColor __fastcall GetTraceLineColor(const int Index);
	virtual int __fastcall GetTraceLineWidth(const int Index);
	virtual Qitypes::TiPlotLineStyle __fastcall GetTraceLineStyle(const int Index);
	virtual bool __fastcall GetMarkerVisible(const int Index);
	virtual int __fastcall GetMarkerSize(const int Index);
	virtual Qitypes::TiPlotMarkerStyle __fastcall GetMarkerStyle(const int Index);
	virtual Qgraphics::TColor __fastcall GetMarkerPenColor(const int Index);
	virtual int __fastcall GetMarkerPenWidth(const int Index);
	virtual Qgraphics::TPenStyle __fastcall GetMarkerPenStyle(const int Index);
	virtual Qgraphics::TColor __fastcall GetMarkerBrushColor(const int Index);
	virtual Qgraphics::TBrushStyle __fastcall GetMarkerBrushStyle(const int Index);
	virtual char __fastcall GetMarkerCharacter(const int Index);
	virtual bool __fastcall GetBarVisible(const int Index);
	virtual double __fastcall GetBarReference(const int Index);
	virtual double __fastcall GetBarWidth(const int Index);
	virtual Qgraphics::TColor __fastcall GetBarPenColor(const int Index);
	virtual int __fastcall GetBarPenWidth(const int Index);
	virtual Qgraphics::TPenStyle __fastcall GetBarPenStyle(const int Index);
	virtual Qgraphics::TColor __fastcall GetBarBrushColor(const int Index);
	virtual Qgraphics::TBrushStyle __fastcall GetBarBrushStyle(const int Index);
	virtual void __fastcall SetTraceLineColor(const int Index, const Qgraphics::TColor Value);
	virtual void __fastcall SetTraceLineWidth(const int Index, const int Value);
	virtual void __fastcall SetTraceLineStyle(const int Index, const Qitypes::TiPlotLineStyle Value);
	virtual void __fastcall SetMarkerVisible(const int Index, const bool Value);
	virtual void __fastcall SetMarkerSize(const int Index, const int Value);
	virtual void __fastcall SetMarkerStyle(const int Index, const Qitypes::TiPlotMarkerStyle Value);
	virtual void __fastcall SetMarkerPenColor(const int Index, const Qgraphics::TColor Value);
	virtual void __fastcall SetMarkerPenWidth(const int Index, const int Value);
	virtual void __fastcall SetMarkerPenStyle(const int Index, const Qgraphics::TPenStyle Value);
	virtual void __fastcall SetMarkerBrushColor(const int Index, const Qgraphics::TColor Value);
	virtual void __fastcall SetMarkerBrushStyle(const int Index, const Qgraphics::TBrushStyle Value);
	virtual void __fastcall SetMarkerCharacter(const int Index, const char Value);
	virtual void __fastcall SetBarVisible(const int Index, const bool Value);
	virtual void __fastcall SetBarReference(const int Index, const double Value);
	virtual void __fastcall SetBarWidth(const int Index, const double Value);
	virtual void __fastcall SetBarPenColor(const int Index, const Qgraphics::TColor Value);
	virtual void __fastcall SetBarPenWidth(const int Index, const int Value);
	virtual void __fastcall SetBarPenStyle(const int Index, const Qgraphics::TPenStyle Value);
	virtual void __fastcall SetBarBrushColor(const int Index, const Qgraphics::TColor Value);
	virtual void __fastcall SetBarBrushStyle(const int Index, const Qgraphics::TBrushStyle Value);
	int __fastcall GetRingBufferSize(void);
	void __fastcall SetRingBufferSize(const int Value);
	int __fastcall GetActualIndex(int Value);
	int __fastcall GetMemoryUsed(void);
	void __fastcall SetDataPointSize(int Value);
	void __fastcall Grow(void);
	virtual void __fastcall FreeMemory(void) = 0 ;
	__property bool RingBufferEnabled = {read=FRingBufferEnabled, nodefault};
	__property int Tail = {read=FTail, write=FTail, nodefault};
	
public:
	__fastcall virtual TiPlotDataCustomList(void);
	__fastcall virtual ~TiPlotDataCustomList(void);
	virtual int __fastcall Add(const double X, const double Y) = 0 ;
	virtual void __fastcall Clear(void);
	virtual void __fastcall SetCapacity(const int NewCapacity) = 0 ;
	virtual void __fastcall DeletePoints(const int Size) = 0 ;
	virtual void __fastcall GetXYEmptyNull(const int Index, double &X, double &Y, bool &Empty, bool &Null) = 0 ;
	__property int DataPointSize = {read=FDataPointSize, nodefault};
	__property int MaxDataPoints = {read=FMaxDataPoints, nodefault};
	__property int MemoryUsed = {read=GetMemoryUsed, nodefault};
	__property int Capacity = {read=FCapacity, write=FCapacity, nodefault};
	__property int RingBufferSize = {read=GetRingBufferSize, write=SetRingBufferSize, nodefault};
	__property Qgraphics::TColor StoredTraceLineColor = {read=FStoredTraceLineColor, write=FStoredTraceLineColor, nodefault};
	__property int StoredTraceLineWidth = {read=FStoredTraceLineWidth, write=FStoredTraceLineWidth, nodefault};
	__property Qitypes::TiPlotLineStyle StoredTraceLineStyle = {read=FStoredTraceLineStyle, write=FStoredTraceLineStyle, nodefault};
	__property bool StoredMarkerVisible = {read=FStoredMarkerVisible, write=FStoredMarkerVisible, nodefault};
	__property int StoredMarkerSize = {read=FStoredMarkerSize, write=FStoredMarkerSize, nodefault};
	__property Qitypes::TiPlotMarkerStyle StoredMarkerStyle = {read=FStoredMarkerStyle, write=FStoredMarkerStyle, nodefault};
	__property Qgraphics::TColor StoredMarkerPenColor = {read=FStoredMarkerPenColor, write=FStoredMarkerPenColor, nodefault};
	__property int StoredMarkerPenWidth = {read=FStoredMarkerPenWidth, write=FStoredMarkerPenWidth, nodefault};
	__property Qgraphics::TPenStyle StoredMarkerPenStyle = {read=FStoredMarkerPenStyle, write=FStoredMarkerPenStyle, nodefault};
	__property Qgraphics::TColor StoredMarkerBrushColor = {read=FStoredMarkerBrushColor, write=FStoredMarkerBrushColor, nodefault};
	__property Qgraphics::TBrushStyle StoredMarkerBrushStyle = {read=FStoredMarkerBrushStyle, write=FStoredMarkerBrushStyle, nodefault};
	__property char StoredMarkerCharacter = {read=FStoredMarkerCharacter, write=FStoredMarkerCharacter, nodefault};
	__property bool StoredBarVisible = {read=FStoredBarVisible, write=FStoredBarVisible, nodefault};
	__property double StoredBarReference = {read=FStoredBarReference, write=FStoredBarReference};
	__property double StoredBarWidth = {read=FStoredBarWidth, write=FStoredBarWidth};
	__property Qgraphics::TColor StoredBarPenColor = {read=FStoredBarPenColor, write=FStoredBarPenColor, nodefault};
	__property int StoredBarPenWidth = {read=FStoredBarPenWidth, write=FStoredBarPenWidth, nodefault};
	__property Qgraphics::TPenStyle StoredBarPenStyle = {read=FStoredBarPenStyle, write=FStoredBarPenStyle, nodefault};
	__property Qgraphics::TColor StoredBarBrushColor = {read=FStoredBarBrushColor, write=FStoredBarBrushColor, nodefault};
	__property Qgraphics::TBrushStyle StoredBarBrushStyle = {read=FStoredBarBrushStyle, write=FStoredBarBrushStyle, nodefault};
	__property int Count = {read=FCount, write=FCount, nodefault};
	__property double X[int Index] = {read=GetX, write=SetX};
	__property double Y[int Index] = {read=GetY, write=SetY};
	__property bool Null[int Index] = {read=GetNull, write=SetNull};
	__property bool Empty[int Index] = {read=GetEmpty, write=SetEmpty};
	__property double High[int Index] = {read=GetHigh, write=SetHigh};
	__property double Low[int Index] = {read=GetLow, write=SetLow};
	__property double Open[int Index] = {read=GetOpen, write=SetOpen};
	__property double Close[int Index] = {read=GetClose, write=SetClose};
	__property Qgraphics::TColor TraceLineColor[int Index] = {read=GetTraceLineColor, write=SetTraceLineColor};
	__property int TraceLineWidth[int Index] = {read=GetTraceLineWidth, write=SetTraceLineWidth};
	__property Qitypes::TiPlotLineStyle TraceLineStyle[int Index] = {read=GetTraceLineStyle, write=SetTraceLineStyle};
	__property bool MarkerVisible[int Index] = {read=GetMarkerVisible, write=SetMarkerVisible};
	__property int MarkerSize[int Index] = {read=GetMarkerSize, write=SetMarkerSize};
	__property Qitypes::TiPlotMarkerStyle MarkerStyle[int Index] = {read=GetMarkerStyle, write=SetMarkerStyle};
	__property Qgraphics::TColor MarkerPenColor[int Index] = {read=GetMarkerPenColor, write=SetMarkerPenColor};
	__property int MarkerPenWidth[int Index] = {read=GetMarkerPenWidth, write=SetMarkerPenWidth};
	__property Qgraphics::TPenStyle MarkerPenStyle[int Index] = {read=GetMarkerPenStyle, write=SetMarkerPenStyle};
	__property Qgraphics::TColor MarkerBrushColor[int Index] = {read=GetMarkerBrushColor, write=SetMarkerBrushColor};
	__property Qgraphics::TBrushStyle MarkerBrushStyle[int Index] = {read=GetMarkerBrushStyle, write=SetMarkerBrushStyle};
	__property char MarkerCharacter[int Index] = {read=GetMarkerCharacter, write=SetMarkerCharacter};
	__property bool BarVisible[int Index] = {read=GetBarVisible, write=SetBarVisible};
	__property double BarReference[int Index] = {read=GetBarReference, write=SetBarReference};
	__property double BarWidth[int Index] = {read=GetBarWidth, write=SetBarWidth};
	__property Qgraphics::TColor BarPenColor[int Index] = {read=GetBarPenColor, write=SetBarPenColor};
	__property int BarPenWidth[int Index] = {read=GetBarPenWidth, write=SetBarPenWidth};
	__property Qgraphics::TPenStyle BarPenStyle[int Index] = {read=GetBarPenStyle, write=SetBarPenStyle};
	__property Qgraphics::TColor BarBrushColor[int Index] = {read=GetBarBrushColor, write=SetBarBrushColor};
	__property Qgraphics::TBrushStyle BarBrushStyle[int Index] = {read=GetBarBrushStyle, write=SetBarBrushStyle};
};


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

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

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

⌨️ 快捷键说明

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