lazarus/lcl/interfaces/qt/include/qtengine.h
michael f088b13a3e + Initial import
git-svn-id: trunk@2 -
2000-07-13 10:28:31 +00:00

35 lines
1.4 KiB
C++

/***************************************************************************
qtengine.h
-------------------
QT Engine Class Header
Initial Revision : Sat Apr 7 2000
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
class QTEngine{
public:
void InitializeEngine();
void SetMainWidget(int qwid);
int CreateWidget(int qwtype);
void ShowWidget(int qwid);
void ReparentWidget(int qwidparent, int qwidchild);
void MoveWidget(int qwid, int x, int y);
void ResizeWidget(int qwid, int h, int w);
void SetWidgetText(int qwid,char *wtext);
void HookMousePressedEvent(int qwid, void *fptr);
void SetData(int qwid, void *data);
void *GetData(int qwid);
void Shutdown();
void MainLoop();
};