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

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

#ifndef QiScopeHPP
#define QiScopeHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QMenus.hpp>	// Pascal unit
#include <QiScopeDisplay.hpp>	// Pascal unit
#include <QiScopeToolBar.hpp>	// Pascal unit
#include <QiScopeTrigger.hpp>	// Pascal unit
#include <QiScopeTimeBase.hpp>	// Pascal unit
#include <QiScopeChannel.hpp>	// Pascal unit
#include <QiScopePanelToolBar.hpp>	// Pascal unit
#include <QiScopePanelChannels.hpp>	// Pascal unit
#include <QiScopePanelTrigger.hpp>	// Pascal unit
#include <QiScopePanelTimeBase.hpp>	// Pascal unit
#include <QiScopeEditor.hpp>	// Pascal unit
#include <QiPlotAnnotation.hpp>	// Pascal unit
#include <QiPlotChannel.hpp>	// Pascal unit
#include <QiPlotChannelCustom.hpp>	// Pascal unit
#include <QiPlotAxis.hpp>	// Pascal unit
#include <QiPlotDataCursor.hpp>	// Pascal unit
#include <QiPlot.hpp>	// Pascal unit
#include <QiComponent.hpp>	// Pascal unit
#include <QiGPFunctions.hpp>	// Pascal unit
#include <QPrinters.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 Qiscope
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiScope;
class PASCALIMPLEMENTATION TiScope : public Qcontrols::TCustomControl 
{
	typedef Qcontrols::TCustomControl inherited;
	
private:
	bool FCreationComplete;
	Qiplot::TiPlot* FPlot;
	Qiscopepanelchannels::TiScopePanelChannels* FPanelChannels;
	Qiscopepaneltimebase::TiScopePanelTimeBase* FPanelTimeBase;
	Qiscopepaneltrigger::TiScopePanelTrigger* FPanelTrigger;
	Qiscopepaneltoolbar::TiScopePanelToolBar* FPanelToolBar;
	Qiscopedisplay::TiScopeDisplay* FDisplay;
	Qiscopeeditor::TiScopeEditorForm* FScopeEditor;
	bool FTransferringData;
	Qiscopetimebase::TiScopeTimeBase* FTimeBase;
	Qiscopetrigger::TiScopeTrigger* FTrigger;
	Qiscopetoolbar::TiScopeToolBar* FToolBar;
	int FEditorControlPageIndex;
	bool FHideControlPanels;
	
protected:
	bool __fastcall GetAutoFrameRate(void);
	int __fastcall GetUpdateFrameRate(void);
	AnsiString __fastcall GetPrintDocumentName();
	AnsiString __fastcall GetPrinterName();
	double __fastcall GetPrintMarginBottom(void);
	double __fastcall GetPrintMarginLeft(void);
	double __fastcall GetPrintMarginRight(void);
	double __fastcall GetPrintMarginTop(void);
	Qprinters::TPrinterOrientation __fastcall GetPrintOrientation(void);
	bool __fastcall GetPrintShowDialog(void);
	int __fastcall GetSamplesPerSecond(void);
	void __fastcall SetAutoFrameRate(const bool Value);
	void __fastcall SetUpdateFrameRate(const int Value);
	void __fastcall SetPrintDocumentName(const AnsiString Value);
	void __fastcall SetPrinterName(const AnsiString Value);
	void __fastcall SetPrintMarginBottom(const double Value);
	void __fastcall SetPrintMarginLeft(const double Value);
	void __fastcall SetPrintMarginRight(const double Value);
	void __fastcall SetPrintMarginTop(const double Value);
	void __fastcall SetPrintOrientation(const Qprinters::TPrinterOrientation Value);
	void __fastcall SetPrintShowDialog(const bool Value);
	void __fastcall SetSamplesPerSecond(const int Value);
	void __fastcall SetHideControlPanels(const bool Value);
	Qiscopechannel::TiScopeChannel* __fastcall GetChannel(int Index);
	int __fastcall GetChannelCount(void);
	bool __fastcall GetNeedPacketsNow(void);
	bool __fastcall GetDataBlockActive(void);
	bool __fastcall GetDataBlockSynchronized(void);
	Qiplotdatacursor::TiPlotDataCursor* __fastcall GetDataCursor(void);
	bool __fastcall GetTransferringActve(void);
	void __fastcall DataCursorCustomizeHintEvent(int Index, AnsiString &AText);
	void __fastcall LimitLine1PositionChangeEvent(int Index, double OldValue, double NewValue);
	void __fastcall AnnotationCoordinatesChangeEvent(int Index);
	void __fastcall ClickAnnotationEvent(int Index);
	DYNAMIC void __fastcall Resize(void);
	void __fastcall AdjustLayout(void);
	virtual void __fastcall Loaded(void);
	virtual void __fastcall DefineProperties(Classes::TFiler* Filer);
	void __fastcall ReadFromStreamChannels(Classes::TReader* Reader);
	void __fastcall ReadFromStreamDisplay(Classes::TReader* Reader);
	void __fastcall ReadFromStreamTimeBase(Classes::TReader* Reader);
	void __fastcall ReadFromStreamTrigger(Classes::TReader* Reader);
	void __fastcall WriteToStreamChannels(Classes::TWriter* Writer);
	void __fastcall WriteToStreamDisplay(Classes::TWriter* Writer);
	void __fastcall WriteToStreamTimeBase(Classes::TWriter* Writer);
	void __fastcall WriteToStreamTrigger(Classes::TWriter* Writer);
	void __fastcall DoEditClick(System::TObject* Sender);
	__property Qiscopepanelchannels::TiScopePanelChannels* PanelChannels = {read=FPanelChannels};
	__property Qiscopepaneltimebase::TiScopePanelTimeBase* PanelTimeBase = {read=FPanelTimeBase};
	__property Qiscopepaneltrigger::TiScopePanelTrigger* PanelTrigger = {read=FPanelTrigger};
	__property Qiplot::TiPlot* Plot = {read=FPlot};
	
public:
	__fastcall virtual TiScope(Classes::TComponent* AOwner);
	__fastcall virtual ~TiScope(void);
	void __fastcall PrintDisplay(void);
	void __fastcall DataBlockBegin(void);
	void __fastcall DataBlockEnd(void);
	void __fastcall DataBlockClear(void);
	void __fastcall AddChannelData(int Channel, double Y);
	void __fastcall AddDataBlockChannel(int Index, const Variant &Data);
	void __fastcall AddDataBlock(const Variant &Data);
	int __fastcall AddChannel(void);
	void __fastcall DeleteChannel(int Index);
	void __fastcall RemoveAllChannels(void);
	__property Qiscopechannel::TiScopeChannel* Channel[int Index] = {read=GetChannel};
	__property int ChannelCount = {read=GetChannelCount, nodefault};
	__property Qiscopetimebase::TiScopeTimeBase* TimeBase = {read=FTimeBase};
	__property Qiscopetrigger::TiScopeTrigger* Trigger = {read=FTrigger};
	__property Qiscopetoolbar::TiScopeToolBar* ToolBar = {read=FToolBar};
	__property Qiscopedisplay::TiScopeDisplay* Display = {read=FDisplay};
	__property Qiplotdatacursor::TiPlotDataCursor* DataCursor = {read=GetDataCursor};
	__property bool TransferringActve = {read=GetTransferringActve, nodefault};
	__property bool DataBlockActive = {read=GetDataBlockActive, nodefault};
	__property bool DataBlockSynchronized = {read=GetDataBlockSynchronized, nodefault};
	__property bool NeedPacketsNow = {read=GetNeedPacketsNow, nodefault};
	
__published:
	__property Align  = {default=0};
	__property int SamplesPerSecond = {read=GetSamplesPerSecond, write=SetSamplesPerSecond, nodefault};
	__property bool AutoFrameRate = {read=GetAutoFrameRate, write=SetAutoFrameRate, default=1};
	__property int UpdateFrameRate = {read=GetUpdateFrameRate, write=SetUpdateFrameRate, default=20};
	__property bool HideControlPanels = {read=FHideControlPanels, write=SetHideControlPanels, nodefault};
	__property Qprinters::TPrinterOrientation PrintOrientation = {read=GetPrintOrientation, write=SetPrintOrientation, default=1};
	__property double PrintMarginLeft = {read=GetPrintMarginLeft, write=SetPrintMarginLeft};
	__property double PrintMarginTop = {read=GetPrintMarginTop, write=SetPrintMarginTop};
	__property double PrintMarginRight = {read=GetPrintMarginRight, write=SetPrintMarginRight};
	__property double PrintMarginBottom = {read=GetPrintMarginBottom, write=SetPrintMarginBottom};
	__property bool PrintShowDialog = {read=GetPrintShowDialog, write=SetPrintShowDialog, default=1};
	__property AnsiString PrintDocumentName = {read=GetPrintDocumentName, write=SetPrintDocumentName};
	__property AnsiString PrinterName = {read=GetPrinterName, write=SetPrinterName};
	__property Visible  = {default=1};
	__property Enabled  = {default=1};
	__property ShowHint ;
	__property PopupMenu ;
	__property OnClick ;
	__property OnDblClick ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnStartDrag ;
	__property OnEndDrag ;
	__property OnMouseDown ;
	__property OnMouseMove ;
	__property OnMouseUp ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnEnter ;
	__property OnExit ;
public:
	#pragma option push -w-inl
	/* TWidgetControl.CreateParented */ inline __fastcall TiScope(Qt::QWidgetH* ParentWidget) : Qcontrols::TCustomControl(ParentWidget) { }
	#pragma option pop
	
};


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

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

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

⌨️ 快捷键说明

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