Home » Developing U++ » UppHub » GUI Form Editor
GUI Form Editor [message #26692] |
Wed, 19 May 2010 16:14 |
Sc0rch
Messages: 99 Registered: February 2008 Location: Russia, Rubtsovsk
|
Member |
|
|
GUI Form Editor 0.8.0 - Alpha release
Features:
- native view of widgets;
- supports layers;
- supports nested forms;
- customizable interface;
- font-zoomed coordinates support;
- different view modes (as-is, info, simple/wireframe);
- ... I don't remember all features =)
Generated XML example:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE form>
<form>
<layouts>
<item>
<content>
<item x="150" y="70" cx="70" cy="30" align="1" valign="1">
<name>Noname</name>
<properties>
<property name="Variable" value="Cancel"/>
<property name="Frame" value="Default frame"/>
<property name="Label" value="Cancel"/>
<property name="Type" value="Button"/>
<property name="Action" value="Cancel"/>
<property name="Tip" value="Cancel and exit"/>
<property name="Font.Height" value="0"/>
<property name="OutlineDraw" value="false"/>
</properties>
</item>
...
</content>
<name></name>
<properties>
<property name="Form.Width" value="230"/>
<property name="Form.Height" value="110"/>
<property name="Form.MaximizeBox" value="false"/>
<property name="Form.MinimizeBox" value="false"/>
<property name="Form.Sizeable" value="false"/>
<property name="Form.ToolWindow" value="true"/>
<property name="Form.Name" value="Default"/>
<property name="Form.Title" value="Authorization"/>
</properties>
</item>
</layouts>
</form>
About DEMO: Please, test the editor and report the bugs! It was compiled with MSC9 in Optimal-mode.
About SOURCES:
Bazaar: Sources of editor will be moved to bazaar with help of Koldo. Generated XML-forms are not very simple in use yet. And code is dirty and needs refactoring (too many hacks used to achieve result, and also I'm not a professional). So I need some advices and help.
Linux: Editor compiles and works great with Ubuntu 10.04, but there are little problems with relative paths (nested forms not work), I'll try to fix it as soon as possible.
Best regards and sorry for my English!
Anton
[Updated on: Wed, 19 May 2010 16:22] Report message to a moderator
|
|
|
Re: GUI Form Editor [message #26694 is a reply to message #26692] |
Wed, 19 May 2010 16:36 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
Very interesting! The great part is that it looks good and is exactly what users expect and are used to. The layout editor from TheIDE while very functional is not what user except (as interface I mean).
First, a suggestion about XML. XML is in general free form. You can insert anything in it even if it has no logical structure, like adding a color property to something that has no color. Also, there are a few conventions that are used in most XML based standards, including W3C. Basically:
is the recommended form for a name/value pair, and:
<property name="Variable" value="Cancel"/> is not. It is better to express the previous statement as:
<variable>Cancel</variable>
What you are doing with your properties tag is using XML not to store free form data, but to store a data that has to be in that specific tag format and the format must be apparent in the XML. This is just a suggestion, you can of course leave it as it is.
And second, while this editor great, it would be more useful if you could edit ".lay" files so the forms can be used as templates in the code. After that, patching TheIDE to use this editor would be trivial.
|
|
|
|
Goto Forum:
Current Time: Wed Jun 05 05:36:16 CEST 2024
Total time taken to generate the page: 0.01951 seconds
|