QWidget-Parser

Description

This project consists of developing using patterns such as Visitor or Builder in Pharo Smalltalk a tool that reads the window design (XML or JSON) and generates the necessary code to display it with Spec2.

Details

Source
GitHub
Dialect
pharo (65% confidence)
License
GPL-3.0
Created
Oct. 19, 2020
Updated
Feb. 3, 2022
Topics
parser pharo pharo-smalltalk spec spec-2

Categories

UI / Graphics Serialization

README excerpt

# QWidget-Parser
## Installation:

``` smalltalk
Metacello new
	baseline: 'QWidgetParser';
	repository: 'github://gastonginestet/QWidget-Parser';
	load.
```
## How to use:
1. Download <a id="raw-url" href="https://raw.githubusercontent.com/gastonginestet/QWidget-Parser/master/examples/TreeAndList.ui" download>TreeAndList</a> and <a id="raw-url" href="https://raw.githubusercontent.com/gastonginestet/QWidget-Parser/master/examples/TreeAndListExtendedVersion.ui" download>TreeAndListExtendedVersion</a>

2. Use the QWidget-Parser to parse a GUI xml file from QTDesigner to Spec2 and build it from Pharo. For example:
``` smalltalk
QVisitor new buildWidgetsFrom:'your-route-to/TreeAndListExtendedVersion.ui' 
```
![Demo ](https://j.gifs.com/91VQDD.gif)

## More info
[QWidget-Parser Doc](https://github.com/gastonginestet/QWidget-Parser/wiki/Construcci%C3%B3n-Autom%C3%A1tica-de-ventanas-en-Pharo-Spec2)
← Back to results