Difference between revisions of "Qt Interface"

From Lazarus wiki
Jump to navigationJump to search
Line 9: Line 9:
 
You can find more information about those bindings on the official [http://users.pandora.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html website].
 
You can find more information about those bindings on the official [http://users.pandora.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html website].
  
Is is being reported that it is possible to link to Qt 4 directly, using some tricks. This is yet to be tested. It is expected that any such binding will be compatible with the currently utilized one, so the interface code won´t have to be changed.
+
Is is being reported that it may be possible to link to Qt 4 directly, using some tricks. Many think it is not. This is yet to be tested. It is expected that any such binding will be compatible with the currently utilized one, so the interface code won´t have to be changed.
  
 
==Road map for the Qt 4 interface==
 
==Road map for the Qt 4 interface==
  
This is a list of the currently implemented components with their status.
+
===currently implemented components with their status===
  
 
* TApplication - <span style="color:brown">Partially implemented</span>
 
* TApplication - <span style="color:brown">Partially implemented</span>
Line 20: Line 20:
 
* TCustomMemo - <span style="color:brown">Partially implemented</span>
 
* TCustomMemo - <span style="color:brown">Partially implemented</span>
  
This are the components scheduled to be implemented:
+
===components scheduled to be implemented===
  
* TBitmap
+
* TPopUpMenu
 +
* TBitmap - Needs a description of the internal format used by Qt
 
* TPixmap
 
* TPixmap
 
* TIcon
 
* TIcon
* TCanvas
+
* TCanvas - This component is extremely hard to implement as it requires DCs
* TPopUpMenu
+
 
 +
===currently implemented Windows API functions by group and with status===
 +
 
 +
'''Mouse functions'''
 +
 
 +
SetCursorPos, GetCursorPos for TMouse - Fully working
 +
 
 +
===wish-list of new components===
  
You can use the space bellow as a wish-list of new components.
+
Use this space for components you would like to see implemented

Revision as of 03:59, 10 February 2006

Introduction

The Qt 4 widgetset is in an early stage of development.

Qt 4 Bindings

This interface utilizes Qt 4 bindings created by Den Jean. The bindings are a c++ library which exports the methods of the Qt objects as procedures. The library has 800kb in linux, consists of a single .so file that needs to be distributed with your LCL program.

You can find more information about those bindings on the official website.

Is is being reported that it may be possible to link to Qt 4 directly, using some tricks. Many think it is not. This is yet to be tested. It is expected that any such binding will be compatible with the currently utilized one, so the interface code won´t have to be changed.

Road map for the Qt 4 interface

currently implemented components with their status

  • TApplication - Partially implemented
  • TCustomForm - Partially implemented
  • TCustomButton - Partially implemented
  • TCustomMemo - Partially implemented

components scheduled to be implemented

  • TPopUpMenu
  • TBitmap - Needs a description of the internal format used by Qt
  • TPixmap
  • TIcon
  • TCanvas - This component is extremely hard to implement as it requires DCs

currently implemented Windows API functions by group and with status

Mouse functions

SetCursorPos, GetCursorPos for TMouse - Fully working

wish-list of new components

Use this space for components you would like to see implemented