📄 qimotor.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QiMotor.pas' rev: 6.00
#ifndef QiMotorHPP
#define QiMotorHPP
#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 <QiMath.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 Qimotor
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiMotorBaseStyle { imbsTrapezoid, imbsFeet };
#pragma option pop
class DELPHICLASS TiMotor;
class PASCALIMPLEMENTATION TiMotor : public Qicustomcomponent::TiCustomComponent
{
typedef Qicustomcomponent::TiCustomComponent inherited;
private:
bool FPipeShowLeft;
bool FPipeShowRight;
bool FPipeShowTop;
bool FPipeShowBottom;
bool FBaseShow;
int FFanSequence;
Qgraphics::TColor FBladeColor1;
Qgraphics::TColor FBladeColor2;
Qgraphics::TColor FBladeColor3;
TiMotorBaseStyle FBaseStyle;
bool FFanOn;
int FFanInterval;
Qgraphics::TColor FPipeColor;
void __fastcall SetPipeColor(const Qgraphics::TColor Value);
protected:
void __fastcall SetPipeShowLeft(const bool Value);
void __fastcall SetPipeShowRight(const bool Value);
void __fastcall SetPipeShowTop(const bool Value);
void __fastcall SetPipeShowBottom(const bool Value);
void __fastcall SetBaseShow(const bool Value);
void __fastcall SetFanSequence(const int Value);
void __fastcall SetBladeColor1(const Qgraphics::TColor Value);
void __fastcall SetBladeColor2(const Qgraphics::TColor Value);
void __fastcall SetBladeColor3(const Qgraphics::TColor Value);
void __fastcall SetBaseStyle(const TiMotorBaseStyle Value);
void __fastcall SetFanOn(const bool Value);
void __fastcall SetFanInterval(const int Value);
Qgraphics::TColor __fastcall GetSequenceColor(void);
void __fastcall TimerEvent(System::TObject* Sender);
virtual void __fastcall iPaintTo(Qgraphics::TCanvas* Canvas);
void __fastcall DrawBase(Qgraphics::TCanvas* Canvas);
void __fastcall DrawMotor(Qgraphics::TCanvas* Canvas);
public:
__fastcall virtual TiMotor(Classes::TComponent* AOwner);
void __fastcall IncrementFanSequence(void);
__published:
__property Width = {default=50};
__property Height = {default=50};
__property bool PipeShowLeft = {read=FPipeShowLeft, write=SetPipeShowLeft, nodefault};
__property bool PipeShowTop = {read=FPipeShowTop, write=SetPipeShowTop, nodefault};
__property bool PipeShowRight = {read=FPipeShowRight, write=SetPipeShowRight, nodefault};
__property bool PipeShowBottom = {read=FPipeShowBottom, write=SetPipeShowBottom, nodefault};
__property Qgraphics::TColor PipeColor = {read=FPipeColor, write=SetPipeColor, nodefault};
__property bool BaseShow = {read=FBaseShow, write=SetBaseShow, nodefault};
__property TiMotorBaseStyle BaseStyle = {read=FBaseStyle, write=SetBaseStyle, nodefault};
__property Qgraphics::TColor BladeColor1 = {read=FBladeColor1, write=SetBladeColor1, nodefault};
__property Qgraphics::TColor BladeColor2 = {read=FBladeColor2, write=SetBladeColor2, nodefault};
__property Qgraphics::TColor BladeColor3 = {read=FBladeColor3, write=SetBladeColor3, nodefault};
__property int FanSequence = {read=FFanSequence, write=SetFanSequence, nodefault};
__property bool FanOn = {read=FFanOn, write=SetFanOn, default=0};
__property int FanInterval = {read=FFanInterval, write=SetFanInterval, default=100};
__property BackGroundColor = {default=-2};
public:
#pragma option push -w-inl
/* TiCLXComponent.Destroy */ inline __fastcall virtual ~TiMotor(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWidgetControl.CreateParented */ inline __fastcall TiMotor(Qt::QWidgetH* ParentWidget) : Qicustomcomponent::TiCustomComponent(ParentWidget) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Qimotor */
using namespace Qimotor;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // QiMotor
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -