Skip to content

Commit 65d3c68

Browse files
committed
2 parents 8839009 + bb3a19a commit 65d3c68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+406082
-13
lines changed

README.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,47 @@
1-
# DelphiFMX for Python <a href="https://github.com/Embarcadero/DelphiFMX4Python/"><img align="right" alt="DelphiFMX for Python" src="images/DelphiFMX4Python(256px).png"></a>
2-
Delphi's FireMonkey framework as a Python module for Windows, MacOS, Linux, and Android GUI development.
1+
# <a href="https://github.com/Embarcadero/DelphiFMX4Python/">DelphiFMX for Python<img align="right" alt="DelphiFMX for Python" src="https://github.com/Embarcadero/DelphiFMX4Python/raw/main/images/DelphiFMX4Python(256px).png"></a>
32

4-
FireMonkey is a GUI framework originally from [Embarcadero Delphi](https://www.embarcadero.com/products/delphi) for native cross-platform application development. It uses the GPU via DirectX or OpenGL for hardware accellerated rendering. It includes a rich styling system and is user extensible.
3+
Quick Links:
54

6-
<b>About:</b>
5+
[[Installation](https://github.com/Embarcadero/DelphiFMX4Python#installation)] &nbsp; [[eBook & Styles](https://embt.co/PythonGUIBundle)] &nbsp; [[Android Builder](https://github.com/Embarcadero/PythonFMXBuilder)] &nbsp; [[Docs](https://github.com/Embarcadero/DelphiFMX4Python/wiki)] &nbsp; [[Samples](https://github.com/Embarcadero/DelphiFMX4Python/tree/main/samples)]
76

8-
The `delphifmx` is a natively compiled Python module powered by the [Python4Delphi library](https://github.com/pyscripter/python4delphi). It gives Python developers access to the FireMonkey GUI framework from Python with no need to use Delphi in their development process, and is [freely redistributable](https://github.com/Embarcadero/DelphiFMX4Python/blob/main/LICENSE.md).
7+
---
98

10-
<b>Installation:</b>
9+
`delphifmx` is a natively compiled Python module powered by the [Python4Delphi library](https://github.com/embarcadero/python4delphi). It gives Python developers access to the FireMonkey GUI framework and is [freely redistributable](https://github.com/Embarcadero/DelphiFMX4Python/blob/main/LICENSE.md). Supports Windows, MacOS, Linux, and Android GUI development.
10+
11+
FireMonkey is a GUI framework originally from [Embarcadero Delphi](https://www.embarcadero.com/products/delphi) for native cross-platform application development. It uses the GPU via DirectX or OpenGL for hardware accelerated rendering. It includes a rich styling system and is user extensible. DelphiFMX for Python does not require Delphi or any experience with Object Pascal.
12+
13+
Be sure to check out the [PythonFMXBuilder](https://github.com/Embarcadero/PythonFMXBuilder) for deploying your Python scripts on Android and the [Delphi for Python Exporter](https://github.com/Embarcadero/Delphi4PythonExporter) to simplify your UI design.
14+
15+
## eBook and Styles Bundle
16+
17+
There is an free [eBook and styles bundle](https://embt.co/PythonGUIBundle) with 29 custom styles and 50 pages of content.
18+
<a href="https://embt.co/PythonGUIBundle"><img alt="Download the free eBook and Python styles bundle." width="750" src="https://github.com/Embarcadero/PythonFMXBuilder/blob/main/images/30_Banner_Ebook_GGetting Started with Python GUI_830x256.jpg"></a>
19+
20+
## Installation
1121

1222
pip install delphifmx
1323

14-
<b>Supports:</b>
24+
### Supports
1525
* Win32 x86, Win64 x86, Linux64 x86, Android64, macOS64 and macM1 architectures
1626
* Python cp3.6, cp3.7, cp3.8, cp3.9 and cp3.10
1727

18-
<b>Conda support:</b>
28+
### Conda support
1929
* Win x86 and x64 from Python cp3.6 to cp3.10
2030
* Linux x86_64 from Python cp3.6 to cp3.10
2131
* macOS x86_64 from Python cp3.6 to cp3.10
2232

23-
<b>Venv support:</b>
33+
### Venv support
2434
* Win x86 and x64 from Python cp3.6 to cp3.10
2535
* Linux x86_64 from Python cp3.6 to cp3.10
2636
* macOS x86_64 from Python cp3.6 to cp3.10
2737

28-
Also check out [DelphiVCL4Python](https://github.com/Embarcadero/DelphiVCL4Python).
38+
## See Also
2939

30-
Powered by [Embarcadero Delphi](https://www.embarcadero.com/products/delphi) and the [Python4Delphi library](https://github.com/pyscripter/python4delphi).
40+
- Check out [DelphiVCL4Python](https://github.com/Embarcadero/DelphiVCL4Python) for native Windows GUI in Python.
41+
- Powered by [Embarcadero Delphi](https://www.embarcadero.com/products/delphi) and the [Python4Delphi library](https://github.com/Embarcadero/python4delphi).
42+
- While this redistributable library is covered by the [Embarcadero Freeware License](https://github.com/Embarcadero/DelphiFMX4Python/blob/main/LICENSE.md), all the [source code](https://github.com/Embarcadero/python4delphi) for it is covered by the [MIT License](https://github.com/Embarcadero/python4delphi/blob/master/LICENSE).
43+
- Special thanks to [PyScripter](https://github.com/pyscripter/).
44+
- Sponsored by [Embarcadero](https://www.embarcadero.com/).
3145

32-
Sponsored by [Embarcadero](https://www.embarcadero.com/).
46+
![Embarcadero](https://github.com/Embarcadero/DelphiFMX4Python/blob/main/images/Embarcadero-White-50px.png#gh-dark-mode-only])
47+
![Embarcadero](https://github.com/Embarcadero/DelphiFMX4Python/blob/main/images/Embarcadero-Black-50px.png#gh-light-mode-only)

delphifmx/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.48"
1+
__version__ = "0.1.49"

docs/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: dd27583958f4c7e1e762f58911af820b
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_sources/comps_ref.rst.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Components Reference
2+
====================
3+
4+
Need to add all the components as Python classes and their methods for reference. Need to understand the whole inheritance structure of complete library.
5+
6+
``Components``
7+
--------------
8+
9+
.. autoclass:: delphifmx.layer_2.Form
10+
.. autoclass:: delphifmx.layer_2.Button

docs/_sources/index.rst.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. Delphi FMX for Python documentation master file, created by
2+
sphinx-quickstart on Mon Mar 14 14:23:54 2022.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
Welcome to Delphi FMX for Python's documentation!
7+
=================================================
8+
9+
.. toctree::
10+
:maxdepth: 3
11+
:caption: Contents:
12+
13+
installer
14+
quickstart
15+
comps_ref
16+
17+
18+
19+

docs/_sources/installer.rst.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Installation
2+
============
3+
4+
DelphiFMX for Python is a cross-platform Python module. It is available via PyPi or download the source via GitHub. Python versions from 3.6 to 3.10 are supported, including Conda.
5+
6+
The easiest way to install is via PIP:
7+
8+
.. code-block::
9+
10+
pip install delphifmx
11+
12+
13+
You can also install manually by downloading or cloning the repository from GitHub: https://github.com/Embarcadero/DelphiFMX4Python. After cloning or downloading, enter the root DelphiFMX4Python folder/directory and open the command prompt or Anaconda prompt with that path. Now install the package using:
14+
15+
.. code-block::
16+
17+
python setup.py install

docs/_sources/quickstart.rst.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Quickstart
2+
==========
3+
4+
The simplest example using DelphiFMX for Python library.
5+
6+
.. code-block:: Python
7+
8+
from delphifmx import *
9+
10+
Application.Initialize()
11+
Application.Title = "Hello Delphi FMX"
12+
Application.MainForm = Form(Application)
13+
Application.MainForm.SetProps(Caption = "Hello World")
14+
msg = Label(Application.MainForm)
15+
msg.SetProps(Parent = Application.MainForm,
16+
Text = "Hello Python from Delphi FMX",
17+
Position = Position(PointF(20, 20)),
18+
Width = 200)
19+
Application.MainForm.Show()
20+
Application.Run() # This is the main loop
21+
Application.MainForm.Destroy()
328 KB
Loading

0 commit comments

Comments
 (0)