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

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

#ifndef QiValveHPP
#define QiValveHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiComponent.hpp>	// Pascal unit
#include <QiCLXComponent.hpp>	// Pascal unit
#include <QiCustomComponent.hpp>	// Pascal unit
#include <QiGPFunctions.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 Qivalve
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiValve;
class PASCALIMPLEMENTATION TiValve : public Qicustomcomponent::TiCustomComponent 
{
	typedef Qicustomcomponent::TiCustomComponent inherited;
	
private:
	bool FOpened;
	Qgraphics::TColor FOpenedColor;
	Qgraphics::TColor FClosedColor;
	bool FChangeBodyColor;
	Classes::TNotifyEvent FOnChange;
	Classes::TNotifyEvent FOnChangeUser;
	bool FMouseDown;
	bool FSpaceKeyDown;
	bool FUserGenerated;
	Qitypes::TiOrientation FOrientation;
	
protected:
	void __fastcall SetOpened(const bool Value);
	void __fastcall SetClosedColor(const Qgraphics::TColor Value);
	void __fastcall SetOpenedColor(const Qgraphics::TColor Value);
	void __fastcall SetChangeBodyColor(const bool Value);
	void __fastcall SetOrientation(const Qitypes::TiOrientation Value);
	virtual void __fastcall iMouseDown(Qcontrols::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	virtual void __fastcall iMouseUp(Qcontrols::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	virtual void __fastcall iKeyUp(Word &CharCode, Classes::TShiftState Shift);
	virtual void __fastcall iKeyDown(Word &CharCode, Classes::TShiftState Shift);
	virtual void __fastcall iDoKillFocus(void);
	virtual void __fastcall iPaintTo(Qgraphics::TCanvas* Canvas);
	void __fastcall DrawHorizontal(Qgraphics::TCanvas* Canvas);
	void __fastcall DrawVertical(Qgraphics::TCanvas* Canvas);
	void __fastcall DoChange(void);
	
public:
	__fastcall virtual TiValve(Classes::TComponent* AOwner);
	__fastcall virtual ~TiValve(void);
	
__published:
	__property bool Opened = {read=FOpened, write=SetOpened, nodefault};
	__property Qgraphics::TColor OpenedColor = {read=FOpenedColor, write=SetOpenedColor, nodefault};
	__property Qgraphics::TColor ClosedColor = {read=FClosedColor, write=SetClosedColor, nodefault};
	__property bool ChangeBodyColor = {read=FChangeBodyColor, write=SetChangeBodyColor, nodefault};
	__property Qitypes::TiOrientation Orientation = {read=FOrientation, write=SetOrientation, default=1};
	__property Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
	__property Classes::TNotifyEvent OnChangeUser = {read=FOnChangeUser, write=FOnChangeUser};
	__property BackGroundColor  = {default=-2};
	__property Width  = {default=50};
	__property Height  = {default=50};
public:
	#pragma option push -w-inl
	/* TWidgetControl.CreateParented */ inline __fastcall TiValve(Qt::QWidgetH* ParentWidget) : Qicustomcomponent::TiCustomComponent(ParentWidget) { }
	#pragma option pop
	
};


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

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

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

⌨️ 快捷键说明

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