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

📄 qiplotaxis.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
📖 第 1 页 / 共 2 页
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'QiPlotAxis.pas' rev: 6.00

#ifndef QiPlotAxisHPP
#define QiPlotAxisHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiPlotObjects.hpp>	// Pascal unit
#include <QiMath.hpp>	// Pascal unit
#include <QiGPFunctions.hpp>	// Pascal unit
#include <QiTypes.hpp>	// Pascal unit
#include <QiDateUtils.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 Qiplotaxis
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiQuadSide { iqsLeft, iqsRight, iqsTop, iqsBottom };
#pragma option pop

#pragma option push -b-
enum TiPlotTrackingStyle { iptsScaleMinMax, iptsScaleMax, iptsScaleMin, iptsScrollSmooth, iptsScrollPage, iptsExpandCollapse, iptsExpandCollapseFast };
#pragma option pop

#pragma option push -b-
enum TiPlotAlignFirstStyle { ipafsMin, ipafsMax, ipafsAuto, ipafsNone };
#pragma option pop

#pragma option push -b-
enum TiPlotScaleType { ipstLinear, ipstLog10 };
#pragma option pop

#pragma option push -b-
enum TiPlotTextFormat { iptfValue, iptfExponent, iptfPrefix, iptfDateTime, iptfPrice32nds, iptfThousands };
#pragma option pop

#pragma option push -b-
enum TiPlotAxisMode { ipamScroll, ipamZoom };
#pragma option pop

#pragma option push -b-
enum TiPlotTickType { ipttMajor, ipttMinor };
#pragma option pop

#pragma option push -b-
enum TiPlotGridLineStyle { ipglsSolid, ipglsDash, ipglsDot };
#pragma option pop

#pragma option push -b-
enum TiPlotCartesianStyle { ipcsNone, ipcsMaster, ipcsChild };
#pragma option pop

class DELPHICLASS TiPlotTickObject;
class PASCALIMPLEMENTATION TiPlotTickObject : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	TiPlotTickType TickType;
	double Position;
	int PositionPixels;
	AnsiString Text;
	bool Show;
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TiPlotTickObject(void) : System::TObject() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TiPlotTickObject(void) { }
	#pragma option pop
	
};


class DELPHICLASS TiPlotAxis;
class PASCALIMPLEMENTATION TiPlotAxis : public Qiplotobjects::TiPlotLayoutObject 
{
	typedef Qiplotobjects::TiPlotLayoutObject inherited;
	
private:
	int FActualStart;
	int FActualStop;
	double FPixelsPerSpanUnit;
	TiPlotAxis* FCartesianRefAxis;
	TiPlotAxis* FAlignRefAxis;
	bool FBlockMinSpanEvent;
	Classes::TStringList* FTickList;
	TiQuadSide FQuadSide;
	bool FMouseDown;
	int FMouseDownX;
	int FMouseDownY;
	bool FFirstAlignDone;
	#pragma pack(push, 1)
	Types::TRect FScaleRect;
	#pragma pack(pop)
	
	#pragma pack(push, 1)
	Types::TRect FFocusRect;
	#pragma pack(pop)
	
	int FRequiredWidth;
	int FTitleOffset;
	double FPreviousMin;
	double FPreviousSpan;
	double FPreviousLabelsMinLength;
	bool FAllowLabelMinAdjust;
	double FSpan;
	double FMin;
	bool FReverseScale;
	int FInnerMargin;
	int FOuterMargin;
	double FStackingEndsMargin;
	int FMinorLength;
	int FMajorLength;
	int FMinorCount;
	bool FLabelsVisible;
	double FLabelsMargin;
	int FLabelsPrecision;
	Qitypes::TiPrecisionStyle FLabelsPrecisionStyle;
	Qgraphics::TFont* FLabelsFont;
	double FLabelsMinLength;
	bool FLabelsMinLengthAutoAdjust;
	double FLabelSeparation;
	double FTitleMargin;
	Qgraphics::TFont* FTitleFont;
	bool FTitleShow;
	AnsiString FTitle;
	bool FTitleRotated;
	bool FScaleLineShow;
	Qgraphics::TColor FScaleLinesColor;
	bool FTrackingEnabled;
	TiPlotTrackingStyle FTrackingStyle;
	double FTrackingScrollCompressMax;
	TiPlotAlignFirstStyle FTrackingAlignFirstStyle;
	TiPlotScaleType FScaleType;
	AnsiString FDateTimeFormat;
	TiPlotTextFormat FLabelsFormatStyle;
	TiPlotAxisMode FMode;
	double FDesiredIncrement;
	double FCursorScaler;
	bool FRestoreValuesOnResume;
	double FScrollMin;
	double FScrollMax;
	bool FScrollMinMaxEnabled;
	bool FMasterUIInput;
	double FDesiredStart;
	bool FMonthModeEnabled;
	bool FYearModeEnabled;
	TiPlotCartesianStyle FCartesianStyle;
	double FCartesianChildRefValue;
	AnsiString FCartesianChildRefAxisName;
	bool FGridLinesVisible;
	bool FScaleLinesShow;
	bool FCursorUseDefaultFormat;
	AnsiString FCursorDateTimeFormat;
	TiPlotTextFormat FCursorFormatStyle;
	Qitypes::TiPrecisionStyle FCursorPrecisionStyle;
	int FCursorPrecision;
	bool FCursorMinLengthAutoAdjust;
	double FCursorMinLength;
	bool FLegendUseDefaultFormat;
	TiPlotTextFormat FLegendFormatStyle;
	AnsiString FLegendDateTimeFormat;
	Qitypes::TiPrecisionStyle FLegendPrecisionStyle;
	int FLegendPrecision;
	double FLegendMinLength;
	bool FLegendMinLengthAutoAdjust;
	bool FTickListCustom;
	AnsiString FAlignRefAxisName;
	Qitypes::TiRotationAngle FLabelsRotation;
	double __fastcall GetMax(void);
	void __fastcall SetSpan(const double Value);
	void __fastcall SetMin(const double Value);
	void __fastcall SetReverseScale(const bool Value);
	void __fastcall SetInnerMargin(const int Value);
	void __fastcall SetOuterMargin(const int Value);
	void __fastcall SetStackingEndsMargin(const double Value);
	void __fastcall SetLabelsVisible(const bool Value);
	void __fastcall SetLabelsPrecisionStyle(const Qitypes::TiPrecisionStyle Value);
	void __fastcall SetLabelsFont(const Qgraphics::TFont* Value);
	void __fastcall SetLabelsMargin(const double Value);
	void __fastcall SetLabelsPrecision(const int Value);
	void __fastcall SetLabelsMinLength(const double Value);
	void __fastcall SetLabelsMinLengthAutoAdjust(const bool Value);
	void __fastcall SetLabelsFormatStyle(const TiPlotTextFormat Value);
	void __fastcall SetLabelsRotation(const Qitypes::TiRotationAngle Value);
	void __fastcall SetMajorLength(const int Value);
	void __fastcall SetMinorLength(const int Value);
	void __fastcall SetMinorCount(const int Value);
	void __fastcall SetTitleFont(const Qgraphics::TFont* Value);
	void __fastcall SetTitleMargin(const double Value);
	void __fastcall SetTitleShow(const bool Value);
	void __fastcall SetTitle(const AnsiString Value);
	void __fastcall SetTitleRotated(const bool Value);
	void __fastcall SetScaleLineShow(const bool Value);
	void __fastcall SetScaleLinesShow(const bool Value);
	void __fastcall SetLabelSeparation(const double Value);
	void __fastcall SetScaleLinesColor(const Qgraphics::TColor Value);
	void __fastcall SetTrackingEnabled(const bool Value);
	void __fastcall SetTrackingStyle(const TiPlotTrackingStyle Value);
	void __fastcall SetTrackingScrollCompressMax(const double Value);
	void __fastcall SetTrackingAlignFirstStyle(const TiPlotAlignFirstStyle Value);
	void __fastcall SetScaleType(const TiPlotScaleType Value);
	void __fastcall SetDateTimeFormat(const AnsiString Value);
	void __fastcall SetMode(const TiPlotAxisMode Value);
	void __fastcall SetDesiredIncrement(const double Value);
	void __fastcall SetCursorScaler(const double Value);
	void __fastcall SetRestoreValuesOnResume(const bool Value);
	void __fastcall SetScrollMax(const double Value);
	void __fastcall SetScrollMin(const double Value);
	void __fastcall SetScrollMinMaxEnabled(const bool Value);
	void __fastcall SetMasterUIInput(const bool Value);
	void __fastcall SetDesiredStart(const double Value);

⌨️ 快捷键说明

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