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

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

#ifndef QiPlotDataCursorHPP
#define QiPlotDataCursorHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiPlotDataView.hpp>	// Pascal unit
#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 Qiplotdatacursor
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiPlotDataCursor;
class PASCALIMPLEMENTATION TiPlotDataCursor : public Qiplotobjects::TiPlotManagerObject 
{
	typedef Qiplotobjects::TiPlotManagerObject inherited;
	
private:
	int FMouseDownXPixels;
	int FMouseDownYPixels;
	int FMouseDownX;
	int FMouseDownY;
	bool FMouseDownHint;
	bool FMouseDownPointer1;
	bool FMouseDownPointer2;
	#pragma pack(push, 1)
	Types::TRect FPointer1Rect;
	#pragma pack(pop)
	
	#pragma pack(push, 1)
	Types::TRect FPointer2Rect;
	#pragma pack(pop)
	
	bool FPointer1Show;
	bool FPointer2Show;
	Qitypes::TiOrientation FPointer1Orientation;
	Qitypes::TiOrientation FPointer2Orientation;
	#pragma pack(push, 1)
	Types::TRect FHintRect;
	#pragma pack(pop)
	
	Qitypes::TiOrientation FHintOrientation;
	bool FHintShowing;
	Qiplotchannelcustom::TiPlotChannelCustom* FChannel;
	Qiplotdataview::TiPlotDataView* FDataView;
	AnsiString FChannelName;
	Qiplotchannelcustom::TiPlotDataCursorStyle FStyle;
	bool FUseChannelColor;
	double FPointer1Position;
	double FPointer2Position;
	int FPointerPenWidth;
	bool FChannelShowAllInLegend;
	bool FChannelAllowAll;
	Qgraphics::TColor FColor;
	Qgraphics::TFont* FFont;
	bool FHintShow;
	bool FHintHideOnRelease;
	Qitypes::TiOrientationSide FHintOrientationSide;
	int FHintHeight;
	int FHintWidth;
	double FHintPosition;
	AnsiString FCursorDisplayText;
	double FValueX;
	double FValueY;
	Qiplotchannelcustom::TiPlotDataPointStatus FStatus;
	bool FScopeStyle;
	AnsiString FMenuItemCaptionValueXY;
	AnsiString FMenuItemCaptionValueX;
	AnsiString FMenuItemCaptionValueY;
	AnsiString FMenuItemCaptionDeltaX;
	AnsiString FMenuItemCaptionDeltaY;
	AnsiString FMenuItemCaptionInverseDeltaX;
	bool FMenuItemVisibleDeltaX;
	bool FMenuItemVisibleDeltaY;
	bool FMenuItemVisibleValueXY;
	bool FMenuItemVisibleInverseDeltaX;
	bool FMenuItemVisibleValueX;
	bool FMenuItemVisibleValueY;
	bool FMenuUserCanChangeOptions;
	
protected:
	void __fastcall SetChannelName(const AnsiString Value);
	void __fastcall SetStyle(const Qiplotchannelcustom::TiPlotDataCursorStyle Value);
	void __fastcall SetUseChannelColor(const bool Value);
	void __fastcall SetColor(const Qgraphics::TColor Value);
	void __fastcall SetFont(const Qgraphics::TFont* Value);
	void __fastcall SetHintHideOnRelease(const bool Value);
	void __fastcall SetHintShow(const bool Value);
	void __fastcall SetHintOrientationSide(const Qitypes::TiOrientationSide Value);
	void __fastcall SetHintPosition(const double Value);
	void __fastcall SetPointer1Position(const double Value);
	void __fastcall SetPointer2Position(const double Value);
	void __fastcall SetPointerPenWidth(const int Value);
	void __fastcall SetChannelAllowAll(const bool Value);
	void __fastcall SetChannelShowAllInLegend(const bool Value);
	void __fastcall SetScopeStyle(const bool Value);
	void __fastcall AllChannelsMenuItemClick(System::TObject* Sender);
	void __fastcall ChannelNameMenuItemClick(System::TObject* Sender);
	void __fastcall FlipMenuItemClick(System::TObject* Sender);
	void __fastcall UseChannelColorMenuItemClick(System::TObject* Sender);
	void __fastcall HideHintOnReleaseMenuItemClick(System::TObject* Sender);
	void __fastcall StyleValueXYMenuItemClick(System::TObject* Sender);
	void __fastcall StyleValueXMenuItemClick(System::TObject* Sender);
	void __fastcall StyleValueYMenuItemClick(System::TObject* Sender);
	void __fastcall StyleDeltaXMenuItemClick(System::TObject* Sender);
	void __fastcall StyleDeltaYMenuItemClick(System::TObject* Sender);
	void __fastcall StyleInverseDeltaXMenuItemClick(System::TObject* Sender);
	void __fastcall SetData(double XValue, double YValue, Qiplotchannelcustom::TiPlotDataPointStatus Status);
	Qiplotchannelcustom::TiPlotChannelCustom* __fastcall GetChannel(void);
	virtual void __fastcall NotificationRemove(System::TObject* Sender);
	virtual void __fastcall NotificationRename(System::TObject* Sender);
	virtual void __fastcall NotificationSetFocus(System::TObject* Sender);
	virtual void __fastcall DoMouseLeft(const Qiplotobjects::TiPlotMouseData &MouseData);
	virtual void __fastcall DoMouseMove(const Qiplotobjects::TiPlotMouseData &MouseData);
	virtual void __fastcall DoMouseUp(const Qiplotobjects::TiPlotMouseData &MouseData);
	virtual void __fastcall DoSetFocus(void);
	virtual bool __fastcall iMouseHitTest(const Qiplotobjects::TiPlotMouseData &MouseData);
	virtual Qcontrols::TCursor __fastcall GetMousePointer(const Types::TPoint &APoint);
	virtual void __fastcall iKeyDown(Word &CharCode, Classes::TShiftState Shift);
	int __fastcall GetPointer1Pixels(void);
	int __fastcall GetPointer2Pixels(void);
	virtual void __fastcall SetVisible(const bool Value);
	virtual void __fastcall SetXYAxesReversed(const bool Value);
	virtual void __fastcall AddMenuItems(Qmenus::TPopupMenu* PopupMenu);
	void __fastcall DoUpdate(void);
	__property Qiplotdataview::TiPlotDataView* DataView = {read=FDataView, write=FDataView};
	void __fastcall DoSetup(void);
	virtual void __fastcall Draw(const Qgraphics::TCanvas* Canvas, const Qgraphics::TColor BackGroundColor);
	void __fastcall DrawPointer(const Qgraphics::TCanvas* Canvas, double Position, Qitypes::TiOrientation Orientation, Types::TRect &PointerRect);
	void __fastcall DrawHint(const Qgraphics::TCanvas* Canvas, const Qgraphics::TColor BackGroundColor);
	__property AnsiString CursorDisplayText = {read=FCursorDisplayText, write=FCursorDisplayText};
	__property int Pointer1Pixels = {read=GetPointer1Pixels, nodefault};
	__property int Pointer2Pixels = {read=GetPointer2Pixels, nodefault};
	__property Qiplotchannelcustom::TiPlotChannelCustom* Channel = {read=GetChannel};
	__property bool ScopeStyle = {read=FScopeStyle, write=SetScopeStyle, nodefault};
	
public:
	__fastcall virtual TiPlotDataCursor(System::TObject* AOwner, Classes::TNotifyEvent AOnChange, Classes::TNotifyEvent AOnInsert, Classes::TNotifyEvent AOnRemove, Classes::TNotifyEvent AOnRename);
	__fastcall virtual ~TiPlotDataCursor(void);
	__property double ValueX = {read=FValueX};
	__property double ValueY = {read=FValueY};
	__property Qiplotchannelcustom::TiPlotDataPointStatus Status = {read=FStatus, nodefault};
	
__published:
	__property AnsiString ChannelName = {read=FChannelName, write=SetChannelName};
	__property bool ChannelAllowAll = {read=FChannelAllowAll, write=SetChannelAllowAll, nodefault};
	__property bool ChannelShowAllInLegend = {read=FChannelShowAllInLegend, write=SetChannelShowAllInLegend, nodefault};
	__property Qiplotchannelcustom::TiPlotDataCursorStyle Style = {read=FStyle, write=SetStyle, nodefault};
	__property Qgraphics::TFont* Font = {read=FFont, write=SetFont};
	__property Qgraphics::TColor Color = {read=FColor, write=SetColor, nodefault};
	__property bool UseChannelColor = {read=FUseChannelColor, write=SetUseChannelColor, nodefault};
	__property bool HintShow = {read=FHintShow, write=SetHintShow, nodefault};
	__property bool HintHideOnRelease = {read=FHintHideOnRelease, write=SetHintHideOnRelease, nodefault};
	__property Qitypes::TiOrientationSide HintOrientationSide = {read=FHintOrientationSide, write=SetHintOrientationSide, nodefault};
	__property double HintPosition = {read=FHintPosition, write=SetHintPosition};
	__property double Pointer1Position = {read=FPointer1Position, write=SetPointer1Position};
	__property double Pointer2Position = {read=FPointer2Position, write=SetPointer2Position};
	__property int PointerPenWidth = {read=FPointerPenWidth, write=SetPointerPenWidth, nodefault};
	__property bool MenuUserCanChangeOptions = {read=FMenuUserCanChangeOptions, write=FMenuUserCanChangeOptions, default=1};
	__property bool MenuItemVisibleValueXY = {read=FMenuItemVisibleValueXY, write=FMenuItemVisibleValueXY, nodefault};
	__property bool MenuItemVisibleValueX = {read=FMenuItemVisibleValueX, write=FMenuItemVisibleValueX, nodefault};
	__property bool MenuItemVisibleValueY = {read=FMenuItemVisibleValueY, write=FMenuItemVisibleValueY, nodefault};
	__property bool MenuItemVisibleDeltaX = {read=FMenuItemVisibleDeltaX, write=FMenuItemVisibleDeltaX, nodefault};
	__property bool MenuItemVisibleDeltaY = {read=FMenuItemVisibleDeltaY, write=FMenuItemVisibleDeltaY, nodefault};
	__property bool MenuItemVisibleInverseDeltaX = {read=FMenuItemVisibleInverseDeltaX, write=FMenuItemVisibleInverseDeltaX, nodefault};
	__property AnsiString MenuItemCaptionValueXY = {read=FMenuItemCaptionValueXY, write=FMenuItemCaptionValueXY};
	__property AnsiString MenuItemCaptionValueX = {read=FMenuItemCaptionValueX, write=FMenuItemCaptionValueX};
	__property AnsiString MenuItemCaptionValueY = {read=FMenuItemCaptionValueY, write=FMenuItemCaptionValueY};
	__property AnsiString MenuItemCaptionDeltaX = {read=FMenuItemCaptionDeltaX, write=FMenuItemCaptionDeltaX};
	__property AnsiString MenuItemCaptionDeltaY = {read=FMenuItemCaptionDeltaY, write=FMenuItemCaptionDeltaY};
	__property AnsiString MenuItemCaptionInverseDeltaX = {read=FMenuItemCaptionInverseDeltaX, write=FMenuItemCaptionInverseDeltaX};
};


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

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

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

⌨️ 快捷键说明

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