12-31-2012 09:31 AM
I've got the following question,
i got a text from a service that uses some html tags for formating for example <b>,<i>,<a>, etc those <a> tags can contain real links like <a href="http://google.com">google</a> but could also contain internal links like
now when i create my label like this:
Label *label = Label::create().multiline(true).format(TextFormat:
// when my netwerk connection is completed
label->text("some html text");
Normal link like the "http://google.com" works like expected but i want to catch the custom url schemes and handle them myself.
Anybody any idea?
Solved! Go to Solution.
12-31-2012 09:35 AM
Hi! It can be done with ActiveTextHandler:
Also check this thread for an example:
12-31-2012 09:43 AM
12-31-2012 09:48 AM - edited 12-31-2012 09:49 AM
Don't specify argument names in SIGNAL() and SLOT(), there should be only types.
Also specify fully qualified argument types (with namespaces).
I suggest to copy-paste signal definitions from Cascades headers then remove argument names.