Difference between revisions of "fpGUI Interface/es"

From Lazarus wiki
Jump to navigationJump to search
(FPGUI (Interface Gráfica de Usuario para FreePascal))
 
Line 3: Line 3:
 
__TOC__
 
__TOC__
  
==Introduction==
+
==Introducción==
  
[[fpGUI]] is a widgetset completely written in Object Pascal. It links directly with the underlying windowing system, and thus avoids the need for many external libraries. More information on its website: http://fpgui.sourceforge.net
+
[[fpGUI]] es un widgetset escrito completamente en Object Pascal. It links directly with the underlying windowing system, and thus avoids the need for many external libraries. More information on its website: http://fpgui.sourceforge.net
  
 
{{Other Interfaces}}
 
{{Other Interfaces}}
  
==Creating your first LCL application with fpGUI==
+
== Creando tu primera aplicación LCL con FPGUI==
  
This is a step-by-step guide to build your first application with the fpGUI widgetset
+
Esta es una guia paso a paso para construir tu primera aplicación utilizando el widgetset de fpGUI.
  
1. Download the latest Lazarus from subversion and build it (not necessary if you downloaded a pre-compiled snapshot)
+
1. Descarga la última versión de Lazarus desde la subversion y constrúyelo (esto no es necesario si se ha descargado la versión pre-compilada)
  
 
2. Download fpGUI source code from the SourceForge.net Git repository as follows:
 
2. Download fpGUI source code from the SourceForge.net Git repository as follows:
Line 35: Line 35:
 
5. Go to the menu Compiler Options, select '''fpGUI''' as the widgetset and you can recompile your project to fpGUI =)
 
5. Go to the menu Compiler Options, select '''fpGUI''' as the widgetset and you can recompile your project to fpGUI =)
  
==Implementation details==
+
== Detalles de implementación ==
  
===Component mapping===
+
=== Mapa de Componentes ===
 
 
This is a table indication which FPGUI controls are used to build each LCL control.
 
  
 +
Esta es una tabla que indica que controles PFGUI se utilizan para construir cada LCL.
  
 
{| BORDER="1" CELLSPACING="0"
 
{| BORDER="1" CELLSPACING="0"
Line 56: Line 55:
 
|}
 
|}
  
==Road map for the fpGUI interface==
+
== Mapa de recorrida del interface fpGUI ==
  
 
Here: [[Roadmap#Widgetset_dependent_components]]
 
Here: [[Roadmap#Widgetset_dependent_components]]

Revision as of 11:18, 13 December 2011

Deutsch (de) English (en) español (es) français (fr)

Introducción

fpGUI es un widgetset escrito completamente en Object Pascal. It links directly with the underlying windowing system, and thus avoids the need for many external libraries. More information on its website: http://fpgui.sourceforge.net

Other Interfaces

Platform specific Tips

Interface Development Articles

Creando tu primera aplicación LCL con FPGUI

Esta es una guia paso a paso para construir tu primera aplicación utilizando el widgetset de fpGUI.

1. Descarga la última versión de Lazarus desde la subversion y constrúyelo (esto no es necesario si se ha descargado la versión pre-compilada)

2. Download fpGUI source code from the SourceForge.net Git repository as follows:

git clone git://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui

3. Now we need to make the Lazarus LCL find the fpGUI code. We have two options:

3.1. Supported on all platforms. Copy two directories and one file from the downloaded fpgui to lazarus
<fpGUI dir>/src/gui ⇒ lazarus/lcl/interfaces/fpgui/gui
<fpGUI dir>/src/corelib ⇒ lazarus/lcl/interfaces/fpgui/corelib
<fpGUI dir>/src/VERSION_FILE.inc ⇒ lazarus/lcl/interfaces/fpgui/VERSION_FILE.inc
3.2. Linux or any other Unix type platforms. Create symbolic links from the fpGUI's corelib, gui directories and VERSION_FILE.inc to the Lazarus LCL directory as follows:
ln -s <fpGUI dir>/src/gui lazarus/lcl/interfaces/fpgui/gui
ln -s <fpGUI dir>/src/corelib lazarus/lcl/interfaces/fpgui/corelib
ln -s <fpGUI dir>/src/VERSION_FILE.inc lazarus/lcl/interfaces/fpgui/VERSION_FILE.inc

4. Open Lazarus, open the menu Tools-->"Configure Build Lazarus", select all options to None and LCL to Build+Clean, select fpGUI widgetset and rebuild it.

5. Go to the menu Compiler Options, select fpGUI as the widgetset and you can recompile your project to fpGUI =)

Detalles de implementación

Mapa de Componentes

Esta es una tabla que indica que controles PFGUI se utilizan para construir cada LCL.

LCL Control FPGUI Control Comments
TPageControl TfpgPageControl -
TButton TfpgButton -
TBitBtn TfpgButton fpGUI's standard button class supports images.
TSpeedButton TfpgButton fpGUI's standard button class supports images and flat look etc.

Mapa de recorrida del interface fpGUI

Here: Roadmap#Widgetset_dependent_components