mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-29 21:42:49 +02:00
82 lines
2.6 KiB
ObjectPascal
82 lines
2.6 KiB
ObjectPascal
{ $Id$}
|
|
{
|
|
*****************************************************************************
|
|
* QtWSButtons.pp *
|
|
* -------------- *
|
|
* *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.LCL, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
unit QtWSButtons;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
////////////////////////////////////////////////////
|
|
// I M P O R T A N T
|
|
////////////////////////////////////////////////////
|
|
// To get as little as posible circles,
|
|
// uncomment only when needed for registration
|
|
////////////////////////////////////////////////////
|
|
// Buttons,
|
|
////////////////////////////////////////////////////
|
|
WSButtons, WSLCLClasses;
|
|
|
|
type
|
|
|
|
{ TQtWSButton }
|
|
|
|
TQtWSButton = class(TWSButton)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSBitBtn }
|
|
|
|
TQtWSBitBtn = class(TWSBitBtn)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSSpeedButton }
|
|
|
|
TQtWSSpeedButton = class(TWSSpeedButton)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
|
|
implementation
|
|
|
|
initialization
|
|
|
|
////////////////////////////////////////////////////
|
|
// I M P O R T A N T
|
|
////////////////////////////////////////////////////
|
|
// To improve speed, register only classes
|
|
// which actually implement something
|
|
////////////////////////////////////////////////////
|
|
// RegisterWSComponent(TButton, TQtWSButton);
|
|
// RegisterWSComponent(TBitBtn, TQtWSBitBtn);
|
|
// RegisterWSComponent(TSpeedButton, TQtWSSpeedButton);
|
|
////////////////////////////////////////////////////
|
|
end.
|