📄 qiledrectangle.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'QiLedRectangle.pas' rev: 6.00
#ifndef QiLedRectangleHPP
#define QiLedRectangleHPP
#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 Qiledrectangle
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TiLedRectangle;
class PASCALIMPLEMENTATION TiLedRectangle : public Qiled::TiLed
{
typedef Qiled::TiLed inherited;
private:
AnsiString FCenterLabelText;
Qgraphics::TColor FCenterLabelFontInactiveColor;
Qgraphics::TColor FCenterLabelFontActiveColor;
Qgraphics::TFont* FCenterLabelFont;
bool FShowReflection;
bool FCenterLabelWordWrap;
int FCenterLabelEndsMargin;
Qitypes::TiAlignmentHorizontal FCenterLabelAlignment;
void __fastcall SetCenterLabelFontActiveColor(const Qgraphics::TColor Value);
void __fastcall SetCenterLabelFontInactiveColor(const Qgraphics::TColor Value);
void __fastcall SetCenterLabelText(const AnsiString Value);
void __fastcall SetCenterLabelFont(const Qgraphics::TFont* Value);
void __fastcall SetShowReflection(const bool Value);
void __fastcall SetCenterLabelWordWrap(const bool Value);
void __fastcall SetCenterLabelEndsMargin(const int Value);
void __fastcall SetCenterLabelAlignment(const Qitypes::TiAlignmentHorizontal Value);
protected:
virtual void __fastcall iPaintTo(Qgraphics::TCanvas* Canvas);
public:
__fastcall virtual TiLedRectangle(Classes::TComponent* AOwner);
__fastcall virtual ~TiLedRectangle(void);
__published:
__property AnsiString CenterLabelText = {read=FCenterLabelText, write=SetCenterLabelText};
__property Qgraphics::TFont* CenterLabelFont = {read=FCenterLabelFont, write=SetCenterLabelFont};
__property Qgraphics::TColor CenterLabelFontActiveColor = {read=FCenterLabelFontActiveColor, write=SetCenterLabelFontActiveColor, default=0};
__property Qgraphics::TColor CenterLabelFontInactiveColor = {read=FCenterLabelFontInactiveColor, write=SetCenterLabelFontInactiveColor, default=16777215};
__property bool CenterLabelWordWrap = {read=FCenterLabelWordWrap, write=SetCenterLabelWordWrap, default=0};
__property int CenterLabelEndsMargin = {read=FCenterLabelEndsMargin, write=SetCenterLabelEndsMargin, default=5};
__property Qitypes::TiAlignmentHorizontal CenterLabelAlignment = {read=FCenterLabelAlignment, write=SetCenterLabelAlignment, default=0};
__property bool ShowReflection = {read=FShowReflection, write=SetShowReflection, default=1};
public:
#pragma option push -w-inl
/* TWidgetControl.CreateParented */ inline __fastcall TiLedRectangle(Qt::QWidgetH* ParentWidget) : Qiled::TiLed(ParentWidget) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Qiledrectangle */
using namespace Qiledrectangle;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // QiLedRectangle
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -