Extended pyvcp_widgets

More
18 Feb 2014 16:31 #43939 by cmorley
Replied by cmorley on topic Extended pyvcp_widgets
I can work with whatever you posted.
Ii'll make a patch if that's required.

No changed behaviour unless utilized is excellent.

Thanks. I'll try to get to this this week.

Chris M
The following user(s) said Thank You: ArcEye

Please Log in or Create an account to join the conversation.

More
19 Feb 2014 12:20 - 19 Feb 2014 12:20 #43966 by cmorley
Replied by cmorley on topic Extended pyvcp_widgets
Arceye did you edit the HTML docs?
The HTML docs are built from docs/src/hal/pyvcp.txt

editing the HTML docs directly makes it difficult to add them.

Chris M
Last edit: 19 Feb 2014 12:20 by cmorley.

Please Log in or Create an account to join the conversation.

More
19 Feb 2014 15:36 #43968 by ArcEye
Replied by ArcEye on topic Extended pyvcp_widgets
Yeah,

So I now realise :laugh:

I am so used to directly creating and editing html, I automatically did that.

I will amend the ascii2doc source later and post that instead

regards

Please Log in or Create an account to join the conversation.

More
19 Feb 2014 19:47 #43971 by BigJohnT
Replied by BigJohnT on topic Extended pyvcp_widgets
There is a file asciidoc-markup.txt in the /doc directory that explains the asciidoc markup. Only edit the .txt file. Take care with links.

JT

Please Log in or Create an account to join the conversation.

More
19 Feb 2014 20:52 #43974 by ArcEye
Replied by ArcEye on topic Extended pyvcp_widgets
That was a lot easier.

I was not able to test the compile because I have disabled document building in the RIPs, I always use the online ones

Can't see any reason there should be a problem with this.
I have updated some other stuff too, eg. the initval pins in checkboxes and radio buttons, which were not in the docs because they were never annotated in the headers of the classes.

regards
Attachments:

Please Log in or Create an account to join the conversation.

More
20 Feb 2014 01:54 #43985 by BigJohnT
Replied by BigJohnT on topic Extended pyvcp_widgets
I see some strange characters in the text, are you using non-standard keyboard?
* '-Wn panelname' -

JT

Please Log in or Create an account to join the conversation.

More
20 Feb 2014 18:18 #44004 by ArcEye
Replied by ArcEye on topic Extended pyvcp_widgets
Hi JT

If you download the file and look at it in an editor, those charactors do not appear

It is just something to do with trying to display text in a html page without putting <pre> </pre> around it I think

The forum often does silly things like that if the charactors mean something in html too

regards

Please Log in or Create an account to join the conversation.

More
20 Feb 2014 20:44 #44007 by BigJohnT
Replied by BigJohnT on topic Extended pyvcp_widgets
Yes, the forum does some strange things...

JT

Please Log in or Create an account to join the conversation.

More
21 Feb 2014 00:51 #44023 by cmorley
Replied by cmorley on topic Extended pyvcp_widgets
Yes, but it was easy to fix up. (archiving avoids this)
I have this in a branch, I compiled, the docs look fine.
soon (tonight. tomorrow) it will be pushed.

Chris M
The following user(s) said Thank You: ArcEye

Please Log in or Create an account to join the conversation.

More
24 Feb 2014 06:19 #44099 by cmorley
Replied by cmorley on topic Extended pyvcp_widgets
I got slowed down but just tried the multilabel and can't get it to work.
I tacked on the XML code to halui_pyvcp sim demo)
using:
<label>
    <legends>["Label1" "Label2" "Label3" "Label4" "Label5" "Label6"]</legends>
    <font>("Helvetica",20)</font>
    <disable>"False"</disable>
</label>
gets:
Error constructing label({'font': ('Helvetica', 20), 'legends': , 'disable': 'False'}):
unknown option "-legends"
pyvcp.hal:1: pyvcp exited without becoming ready

using:
<multilabel>
    <legends>["Label1" "Label2" "Label3" "Label4" "Label5" "Label6"]</legends>
    <font>("Helvetica",20)</font>
    <disable>"False"</disable>
</multilabel>

gets:
Error constructing multilabel({'font': ('Helvetica', 20), 'legends': , 'disable': 'False'}):
unknown color name "False"
pyvcp.hal:1: pyvcp exited without becoming ready

Ideas?

Please Log in or Create an account to join the conversation.

Time to create page: 0.401 seconds
Powered by Kunena Forum