📄 qiledarrow.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QiLedArrow.pas' rev: 6.00
#ifndef QiLedArrowHPP
#define QiLedArrowHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <QiComponent.hpp> // Pascal unit
#include <QiCLXComponent.hpp> // Pascal unit
#include <QiLed.hpp> // Pascal unit
#include <QiClasses.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 Qiledarrow
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TiLedArrowStyle { ilasRight, ilasLeft, ilasUp, ilasDown, ilasLeftRight, ilasUpDown };
#pragma option pop
#pragma pack(push, 1)
struct TiPointRecord
{
Types::TPoint Point;
bool Shadow;
} ;
#pragma pack(pop)
class DELPHICLASS TiLedArrow;
class PASCALIMPLEMENTATION TiLedArrow : public Qiled::TiLed
{
typedef Qiled::TiLed inherited;
private:
TiLedArrowStyle FStyle;
bool FAutoSize;
bool FDoingAutoSize;
int FArrowBodyLength;
int FArrowHeadSize;
Classes::TNotifyEvent FOnAutoSize;
HIDESBASE void __fastcall SetStyle(const TiLedArrowStyle Value);
void __fastcall iSetAutoSize(const bool Value);
void __fastcall SetArrowBodyLength(const int Value);
void __fastcall SetArrowHeadSize(const int Value);
protected:
virtual void __fastcall iPaintTo(Qgraphics::TCanvas* Canvas);
void __fastcall DoAutoSize(void);
__property Classes::TNotifyEvent OnAutoSize = {read=FOnAutoSize, write=FOnAutoSize};
public:
__fastcall virtual TiLedArrow(Classes::TComponent* AOwner);
virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
__published:
__property bool AutoSize = {read=FAutoSize, write=iSetAutoSize, default=1};
__property TiLedArrowStyle Style = {read=FStyle, write=SetStyle, default=0};
__property int ArrowBodyLength = {read=FArrowBodyLength, write=SetArrowBodyLength, default=20};
__property int ArrowHeadSize = {read=FArrowHeadSize, write=SetArrowHeadSize, default=20};
__property Active = {default=0};
__property ActiveColor = {default=65280};
__property BevelStyle = {default=2};
__property OnChange ;
__property BackGroundColor = {default=-2};
__property Transparent = {default=0};
__property Width = {default=40};
__property Height = {default=20};
public:
#pragma option push -w-inl
/* TiCLXComponent.Destroy */ inline __fastcall virtual ~TiLedArrow(void) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TWidgetControl.CreateParented */ inline __fastcall TiLedArrow(Qt::QWidgetH* ParentWidget) : Qiled::TiLed(ParentWidget) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Qiledarrow */
using namespace Qiledarrow;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // QiLedArrow
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -