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

📄 qiplotlegend.hpp

📁 Iocomp Ultra Pack v3.0.2 Sources.For.Delphi 数据显示编程插件,可用于工业控制
💻 HPP
📖 第 1 页 / 共 2 页
字号:
	Qgraphics::TFont* FColumnTitlesFont;
	double FChannelNameMaxWidth;
	TiPlotLegendChannelNameColorStyle FChannelNameColorStyle;
	bool FShowColumnYMax;
	bool FShowColumnYMin;
	bool FShowColumnYMean;
	bool FCursorAllChannels;
	bool FShowColumnXValue2;
	bool FShowColumnYValue2;
	AnsiString FCaptionColumnYMax;
	AnsiString FCaptionColumnYValue;
	AnsiString FCaptionColumnTitle;
	AnsiString FCaptionColumnYMean;
	AnsiString FCaptionColumnXName;
	AnsiString FCaptionColumnYName;
	AnsiString FCaptionColumnXValue;
	AnsiString FCaptionColumnYMin;
	int FWrapColDesiredCount;
	int FWrapRowDesiredCount;
	bool FWrapColAutoCountEnabled;
	bool FWrapRowAutoCountEnabled;
	int FWrapRowAutoCountMax;
	int FWrapColAutoCountMax;
	double FWrapColSpacingMin;
	double FWrapRowSpacingMin;
	bool FWrapRowSpacingAuto;
	bool FWrapColSpacingAuto;
	
protected:
	void __fastcall SetMarginBottom(const double Value);
	void __fastcall SetMarginLeft(const double Value);
	void __fastcall SetMarginRight(const double Value);
	void __fastcall SetMarginTop(const double Value);
	void __fastcall SetBackGroundColor(const Qgraphics::TColor Value);
	void __fastcall SetBackGroundTransparent(const bool Value);
	void __fastcall SetFont(const Qgraphics::TFont* Value);
	void __fastcall SetSelectedItemBackGroundColor(const Qgraphics::TColor Value);
	void __fastcall SetSelectedItemFont(const Qgraphics::TFont* Value);
	void __fastcall SetShowColumnLine(const bool Value);
	void __fastcall SetShowColumnMarker(const bool Value);
	void __fastcall SetShowColumnXAxisTitle(const bool Value);
	void __fastcall SetShowColumnYAxisTitle(const bool Value);
	void __fastcall SetShowColumnXValue(const bool Value);
	void __fastcall SetShowColumnYValue(const bool Value);
	void __fastcall SetShowColumnYMax(const bool Value);
	void __fastcall SetShowColumnYMean(const bool Value);
	void __fastcall SetShowColumnYMin(const bool Value);
	void __fastcall SetColumnSpacing(const double Value);
	void __fastcall SetColumnTitlesFont(const Qgraphics::TFont* Value);
	void __fastcall SetColumnTitlesVisible(const bool Value);
	void __fastcall SetChannelNameMaxWidth(const double Value);
	void __fastcall SetChannelNameColorStyle(const TiPlotLegendChannelNameColorStyle Value);
	void __fastcall SetWrapColDesiredCount(const int Value);
	void __fastcall SetWrapRowDesiredCount(const int Value);
	void __fastcall SetWrapColAutoCountEnabled(const bool Value);
	void __fastcall SetWrapRowAutoCountEnabled(const bool Value);
	void __fastcall SetWrapColAutoCountMax(const int Value);
	void __fastcall SetWrapRowAutoCountMax(const int Value);
	void __fastcall SetWrapColSpacingMin(const double Value);
	void __fastcall SetWrapRowSpacingMin(const double Value);
	void __fastcall SetWrapColSpacingAuto(const bool Value);
	void __fastcall SetWrapRowSpacingAuto(const bool Value);
	void __fastcall SetCaptionColumnTitle(const AnsiString Value);
	void __fastcall SetCaptionColumnXAxisTitle(const AnsiString Value);
	void __fastcall SetCaptionColumnXValue(const AnsiString Value);
	void __fastcall SetCaptionColumnYAxisTitle(const AnsiString Value);
	void __fastcall SetCaptionColumnYMax(const AnsiString Value);
	void __fastcall SetCaptionColumnYMean(const AnsiString Value);
	void __fastcall SetCaptionColumnYMin(const AnsiString Value);
	void __fastcall SetCaptionColumnYValue(const AnsiString Value);
	void __fastcall CalcRects(Qgraphics::TCanvas* Canvas);
	void __fastcall CalcColumnChannelName(Qgraphics::TCanvas* Canvas);
	void __fastcall CalcColumnTitles(Qgraphics::TCanvas* Canvas);
	void __fastcall ButtonInvalidate(System::TObject* Sender);
	void __fastcall UpButtonClick(System::TObject* Sender);
	void __fastcall DownButtonClick(System::TObject* Sender);
	void __fastcall ClearItemList(void);
	virtual void __fastcall NotificationSetFocus(System::TObject* Sender);
	virtual Qiplotobjects::TiPlotObject* __fastcall GetMouseObject(int X, int Y);
	virtual void __fastcall AddMenuItems(Qmenus::TPopupMenu* PopupMenu);
	virtual void __fastcall DoMouseUp(const Qiplotobjects::TiPlotMouseData &MouseData);
	virtual int __fastcall GetRequiredWidth(const Qgraphics::TCanvas* Canvas);
	void __fastcall GetNewMax(int Value, int &Max);
	virtual void __fastcall Draw(const Qgraphics::TCanvas* Canvas, const Qgraphics::TColor BackGroundColor);
	void __fastcall DrawLine(const Qgraphics::TCanvas* Canvas, int X, int Y, Qgraphics::TColor AColor, Qitypes::TiPlotLineStyle LineStyle);
	void __fastcall DrawColumnTitles(const Qgraphics::TCanvas* Canvas);
	void __fastcall DrawDownButton(const Qgraphics::TCanvas* Canvas);
	void __fastcall DrawUpButton(const Qgraphics::TCanvas* Canvas);
	AnsiString __fastcall GetXAxisNameText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	AnsiString __fastcall GetYAxisNameText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	AnsiString __fastcall GetXAxisValueText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	AnsiString __fastcall GetYAxisValueText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	AnsiString __fastcall GetYAxisMaxText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	AnsiString __fastcall GetYAxisMeanText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	AnsiString __fastcall GetYAxisMinText(Qiplotchannelcustom::TiPlotChannelCustom* iChannel);
	__property bool CursorAllChannels = {read=FCursorAllChannels, write=FCursorAllChannels, nodefault};
	
public:
	__fastcall virtual TiPlotLegend(System::TObject* AOwner, Classes::TNotifyEvent AOnChange, Classes::TNotifyEvent AOnInsert, Classes::TNotifyEvent AOnRemove, Classes::TNotifyEvent AOnRename);
	__fastcall virtual ~TiPlotLegend(void);
	__property int ViewStartIndex = {read=FItemViewStartIndex, nodefault};
	__property int ViewStopIndex = {read=FItemViewStopIndex, nodefault};
	
__published:
	__property double MarginLeft = {read=FMarginLeft, write=SetMarginLeft};
	__property double MarginTop = {read=FMarginTop, write=SetMarginTop};
	__property double MarginRight = {read=FMarginRight, write=SetMarginRight};
	__property double MarginBottom = {read=FMarginBottom, write=SetMarginBottom};
	__property Qgraphics::TColor BackGroundColor = {read=FBackGroundColor, write=SetBackGroundColor, default=8421504};
	__property bool BackGroundTransparent = {read=FBackGroundTransparent, write=SetBackGroundTransparent, default=1};
	__property Qgraphics::TColor SelectedItemBackGroundColor = {read=FSelectedItemBackGroundColor, write=SetSelectedItemBackGroundColor, default=65535};
	__property Qgraphics::TFont* SelectedItemFont = {read=FSelectedItemFont, write=SetSelectedItemFont};
	__property bool ShowColumnLine = {read=FShowColumnLine, write=SetShowColumnLine, default=1};
	__property bool ShowColumnMarker = {read=FShowColumnMarker, write=SetShowColumnMarker, default=0};
	__property bool ShowColumnXAxisTitle = {read=FShowColumnXName, write=SetShowColumnXAxisTitle, default=0};
	__property bool ShowColumnYAxisTitle = {read=FShowColumnYName, write=SetShowColumnYAxisTitle, default=0};
	__property bool ShowColumnXValue = {read=FShowColumnXValue, write=SetShowColumnXValue, default=0};
	__property bool ShowColumnYValue = {read=FShowColumnYValue, write=SetShowColumnYValue, default=0};
	__property bool ShowColumnYMax = {read=FShowColumnYMax, write=SetShowColumnYMax, default=0};
	__property bool ShowColumnYMin = {read=FShowColumnYMin, write=SetShowColumnYMin, default=0};
	__property bool ShowColumnYMean = {read=FShowColumnYMean, write=SetShowColumnYMean, default=0};
	__property AnsiString CaptionColumnTitle = {read=FCaptionColumnTitle, write=SetCaptionColumnTitle};
	__property AnsiString CaptionColumnXAxisTitle = {read=FCaptionColumnXName, write=SetCaptionColumnXAxisTitle};
	__property AnsiString CaptionColumnYAxisTitle = {read=FCaptionColumnYName, write=SetCaptionColumnYAxisTitle};
	__property AnsiString CaptionColumnXValue = {read=FCaptionColumnXValue, write=SetCaptionColumnXValue};
	__property AnsiString CaptionColumnYValue = {read=FCaptionColumnYValue, write=SetCaptionColumnYValue};
	__property AnsiString CaptionColumnYMax = {read=FCaptionColumnYMax, write=SetCaptionColumnYMax};
	__property AnsiString CaptionColumnYMin = {read=FCaptionColumnYMin, write=SetCaptionColumnYMin};
	__property AnsiString CaptionColumnYMean = {read=FCaptionColumnYMean, write=SetCaptionColumnYMean};
	__property Qgraphics::TFont* Font = {read=FFont, write=SetFont};
	__property double ColumnSpacing = {read=FColumnSpacing, write=SetColumnSpacing};
	__property double RowSpacing = {read=FWrapRowSpacingMin, write=SetWrapRowSpacingMin};
	__property int WrapColDesiredCount = {read=FWrapColDesiredCount, write=SetWrapColDesiredCount, nodefault};
	__property bool WrapColAutoCountEnabled = {read=FWrapColAutoCountEnabled, write=SetWrapColAutoCountEnabled, nodefault};
	__property int WrapColAutoCountMax = {read=FWrapColAutoCountMax, write=SetWrapColAutoCountMax, nodefault};
	__property double WrapColSpacingMin = {read=FWrapColSpacingMin, write=SetWrapColSpacingMin};
	__property bool WrapColSpacingAuto = {read=FWrapColSpacingAuto, write=SetWrapColSpacingAuto, nodefault};
	__property int WrapRowDesiredCount = {read=FWrapRowDesiredCount, write=SetWrapRowDesiredCount, nodefault};
	__property bool WrapRowAutoCountEnabled = {read=FWrapRowAutoCountEnabled, write=SetWrapRowAutoCountEnabled, nodefault};
	__property int WrapRowAutoCountMax = {read=FWrapRowAutoCountMax, write=SetWrapRowAutoCountMax, nodefault};
	__property double WrapRowSpacingMin = {read=FWrapRowSpacingMin, write=SetWrapRowSpacingMin};
	__property bool WrapRowSpacingAuto = {read=FWrapRowSpacingAuto, write=SetWrapRowSpacingAuto, nodefault};
	__property bool ColumnTitlesVisible = {read=FColumnTitlesVisible, write=SetColumnTitlesVisible, default=0};
	__property Qgraphics::TFont* ColumnTitlesFont = {read=FColumnTitlesFont, write=SetColumnTitlesFont};
	__property double ChannelNameMaxWidth = {read=FChannelNameMaxWidth, write=SetChannelNameMaxWidth};
	__property TiPlotLegendChannelNameColorStyle ChannelNameColorStyle = {read=FChannelNameColorStyle, write=SetChannelNameColorStyle, default=0};
};


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

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

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

⌨️ 快捷键说明

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