Icons and Images
Previous topic  First topic  Next topic


Marinas-GUI is a library for accessing the Qt graphic library, therefore images and icons are handled by Qt.
Marinas-GUI es una librería de acceso a la librería gráfica Qt, por lo tanto, las imágenes y los íconos son manejados por Qt.

By default Marinas-GUI can use the following types of images according to the type of application linking we choose (you can read more about this subject by pressing here):
Entonces, por default, en Marinas-GUI podemos usar los siguientes tipos de imágenes de acuerdo al tipo de linkedición que elijamos (puede leer mas sobre este tema presionando aquí):

Link Type       Format   Description
---------       ------   -----------
Dynamic/Static  BMP      Windows Bitmap
Dynamic         GIF      Graphic Interchange Format
Dynamic         JPG      Joint Photographic Experts Group
Dynamic         JPEG     Joint Photographic Experts Group
Dynamic         ICO      Windows image file for icons
Dynamic         MNG      Multiple-image Network Graphics
Dynamic         SVG      Scalable Vector Graphics
Dynamic         TIFF     Tagged Image File Format
Dynamic/Static  PNG      Portable Network Graphics
Dynamic/Static  PBM      Portable Bitmap
Dynamic/Static  PGM      Portable Graymap
Dynamic/Static  PPM      Portable Pixmap
Dynamic/Static  XBM      X11 Bitmap
Dynamic/Static  XPM      X11 Pixmap


Marinas-GUI recommends the use of PNG images
Marinas-GUI recomenda el uso de imagenes PNG

The images are called from the corresponding property indicating the access path (optional) and the name of the image. For example:
Las imágenes son invocadas desde la propiedad correspondiente indicando el path de acceso (opcional) y el nombre de la imagen. Por ejemplo:

PICTURE "c:\tests\image.png"
or
mg_Set( "myWin" , "myControl" , "picture" , "c:\tests\image.png" )

To embed images within your executable file, we need to define resources within the application which will then be compiled from Marinas-IDE only. You can read more about the resource file here
Para incluir imágenes dentro de nuestro ejecutable necesitamos definirlas dentro del archivo de recursos de la aplicación que luego será compilado desde Marinas-IDE unicamente. Puede leer mas sobre el archivo de recursos aquí



Marinas-GUI Version 03.06 and
Marinas-IDE Version 05.06 and
LEX Files Version 02.06


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
last update: March 09
2017
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




A Harbour/QT framework to make multiplatform programs

(©) Copyright 2009-2017 by Fernando Santolin (aka CarozoDeQuilmes)
CarozoDeQuilmes@gmail.com

2009-2017 Beta tester and full English translator: Bruno Luciani
Bruno.Luciani@gmail.com

2014-2015 Final English corrector: David Worboys
DavidWorboys@hotmail.com

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Jump to Donation Topic


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

www.marinas-gui.org


www.marinas-gui.org  

Previous topic  First topic  Next topic