mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-11 00:22:32 +02:00
93 lines
2.6 KiB
ObjectPascal
93 lines
2.6 KiB
ObjectPascal
{ $Id$}
|
|
{
|
|
*****************************************************************************
|
|
* QtWSGrids.pp *
|
|
* ------------ *
|
|
* *
|
|
* *
|
|
*****************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.modifiedLGPL, 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 QtWSGrids;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
// Bindings
|
|
{$ifdef USE_QT_4_3}
|
|
qt43,
|
|
{$else}
|
|
qt4,
|
|
{$endif}
|
|
qtwidgets,
|
|
// LCL
|
|
LCLType, LCLProc, Controls, Grids,
|
|
// Widgetset
|
|
WSGrids, WSLCLClasses;
|
|
|
|
type
|
|
|
|
{ TQtWSStringCellEditor }
|
|
|
|
TQtWSStringCellEditor = class(TWSStringCellEditor)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSCustomGrid }
|
|
|
|
TQtWSCustomGrid = class(TWSCustomGrid)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSDrawGrid }
|
|
|
|
TQtWSDrawGrid = class(TWSDrawGrid)
|
|
private
|
|
protected
|
|
public
|
|
end;
|
|
|
|
{ TQtWSStringGrid }
|
|
|
|
TQtWSStringGrid = class(TWSStringGrid)
|
|
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(TStringCellEditor, TQtWSStringCellEditor);
|
|
// RegisterWSComponent(TCustomGrid, TQtWSCustomGrid);
|
|
// RegisterWSComponent(TDrawGrid, TQtWSDrawGrid);
|
|
// RegisterWSComponent(TStringGrid, TQtWSStringGrid);
|
|
////////////////////////////////////////////////////
|
|
end.
|