How to set the text html for a label?

Hi all

I'm trying to set the text html for a label programmatically by using the following code

 tourDescriptionLabel->setText(""+tourDiscHtmlString+"");

but unfortunately my display of the label

Some text’s most known

I tried with this in webView has achieved the same result. I'm getting response json string. I've hardcoded, the response data such cases it shows how reqular.

Thank you

Dembélé George Jacob

I got it

Thank you for your support

QString tourDiscHtmlString                        = tourSummary.value("tour_desc").toString();
    QTextDocument text;
    text.setHtml(tourDiscHtmlString);
    QString plain = text.toPlainText();
   tourDescriptionTextArea->setText(""+plain+"");

Tags: BlackBerry Developers

Similar Questions

  • How to set the text field for the credit card number?

    Hi, this seems like it should be a no-brainer in the Properties menu, but what is the best way to add a credit card number to a form?

    I have mine set up like a text field > category format: number > decimal: 0 > Style separator: (by default with the comma, but not what I want, of course)

    and the symbol > No.

    Is there an easy way to create 16 character space to the digits of the credit card?

    Thanks in advance

    Under Format, select special, then arbitrary mask and enter the mask: 9999 9999 9999 9999

  • How to set the different HTML (site) page in the workspace during the backup?

    Hello
    How to set the different HTML (site) page in the workspace during the backup?

    For example:
    A user connects to the workspace.
    If you have already started the procedure for backup database administrators, the user sees the HTML page that reads "don't touch anything, need a backup procedure.

    Thank you to
    Marek

    Hi Marek,

    I have not tried, but it seems the most logical way:

    Rename the BpmLauncher.jsp to BpmLauncher.jsp.orig

    Then, create a new file called BpmLauncher.jsp and put the following inside:

    
    

    Do not touch anything, it takes a backup procedure

    Kind regards
    Robb Salzmann

  • How to set the time stamp for incoming mail?

    How to set the time stamp for incoming mail?  I have windows vista. I use hotmail/windows live email. My computer has the time is set correctly. My e-mail timestamps incoming messages 7 hours a head of real time. Example: it is now 09:48. A new email is stamped as to settle at 16:48. How can I fix it? Note: the computer is correct.

    Thank you
    Laura
    2.13.2012

    If you mean the customer of email Windows Live Mail, the time stamp on messages is governed by your time zonesystem. Right-click on the clock in the lower right of the screen and select CONFIGURATION... Change your time zone, and then set your clock at the present time.

    If you are talking about the Windows Live Hotmail service, the time zone (s) used are those contained in your account data. Reach
    https://account.live.com/EditProf.aspx
    and change the time zones for the good...

    Windows Live programs and services have their own forums for support at the Windows Live Solution Center. Please address any questions you may have about Windows Live Mail to one of the forums on the right side of this page. For Hotmail, forums and responses are available via this page.

    Noel

  • How to set the default printer for the user in 11i

    How to set the default printer for the user in 11i, please let me know how to set the new printer to the user, its Linux OS EBS 11i.

    Please see these documents.

    How to install the default printer for a user. [153927.1 ID]
    How to set up a default printer for a user in Oracle Applications [ID 1018856.102]
    How to set a default printer? [1237254.1 ID]
    How to configure the default printer for Applications [ID 184109.1]

    Thank you
    Hussein

  • How to set the page template for a page in app

    I've been looking for a way to re - assign a specific page to a different page template, and I must be blind. I did it with the regions and reports, but never a whole page. The closest I can find is how to set the default page for an application model template. What I have is a printable form that they want in a specific format. I was able to code the whole thing into a region of PL/SQL, but I was hoping that I could take an existing page template and modify the model to different regions in the areas I would like to.

    Can someone help me find this? I have already created a copy of the page template I want to twist.

    If you are in the tree view, double-click the entry of title of page (top); If you are in the component view, simply click the edit button in the page area. Either way will take you to the screen of the Page change. in the display attributes section, you will see a Page Model drop-down list.

    -David

  • How to set the text of creepy stationary?

    How to make the text text in a fixed position in a specific spot while crawling from left to right? EXAMPLE; I don't want the text to analyze the frame from left to right. I just want that it ti be in the middle of the image, but still have the effect of the analysis. I'm stuck and comes to mind. Any help is very appreciated.

    Ok

    A few ways to do this... but here's an interesting way. (and I really hope that you are in CC 2014 version)

    Create your title (titration) for example "TEXT GOES HERE"

    Set up and position it on your Clip, exactly as you wish in the Titler.

    Place layer above your video Clip in the Timeline. It will overlap.

    Duplicate video Clip (Alt click drag) and place it directly above title and Clip Original

    Click the Clip duplicate (top layer)

    Open the window controls Effects > opacity

    Click on the mask of rectangular shape and set it on the edges of the "TEXT GOES HERE" - it will go away.

    Click REVERSE in the mask settings. It will be published.

    Click on the layer title.

    The effects control window > Motion > Position

    Set X of left hand to move the text out of the mask > Set Key Frame

    Move the cursor in the timeline for new times and > set X of left hand to move the text out of the mask on the other side > Set Key Frame.

    Play with keyframes to set the Timings on duration (drag them anywhere)

    Play with mask feathering if you want soft input output

  • How to set the shortcut keys for button in Apex

    Hello

    Could someone help me on how to set the hotkeys for buttons in the Apex.
    I need to use say ALT + S to send the page.

    The following thread on HTML DB refered to use the quick access key. but who could not work in my case.
    Re: operation of the app with the keyboard

    Pointers on making it would be useful.

    Thank you
    Vijay

    Have you tried to use the html buttons but change their class so that they look just like the model buttons?

    For example, assume that you use the 20 theme.

    together the style of button html button and below the button attributes set class = "t20Button".

  • How to set the default value for the digital control on front panel?

    How to set a default value for a numeric control of LabVIEW 2009 Front Panel? I have several input values that are actually configuration settings I want to settle with the default values of zero. I want them to be the values displayed when the façade first appears until the code is executed.

    I really want to use the Minimum and Maximum limits by default for this because I still want to be able to define acceptable limits for values.

    I would not be able to specify a default value of zero for these entries?

    Enter the desired value, then "right click...... of default data of value to operations. Save the VI.

  • How to set the text back in webview?

    Hello

    Someone knows how to put the text in full screen according to the 2 screen capture?

    Code

    import bb.cascades 1.0
    
    Page {
        Container {
            //Todo: fill me with QML
            ScrollView {
                id: scrollView
                scrollViewProperties {
                    scrollMode: ScrollMode.Both
                    minContentScale: 2
                }
                WebView {
                    id: webView_Condiciones
                    url: "local://assets/html/copy_Right.html"
                }
            }
        }
    }
    

    screenshot 1 (I got the result as below)

    Screen Shot 2 (need to result as below)

    So let me know what I did wrong?

    Hello

    I think your problem is

     minContentScale: 2
    

    Ask yourself the ScrollView to zoom in on your web pages display... Zoom will make wider and higher...

    If you just want more large print, try something like this:

    import bb.cascades 1.2
    
    Page {
        Container {
            //Todo: fill me with QML
            ScrollView {
                id: scrollView
                scrollViewProperties {
                    scrollMode: ScrollMode.Both
                }
                WebView {
                    id: webView_Condiciones
                    url: "local:///assets/index.html"
                    settings.defaultFontSize: 32
                }
            }
        }
    }
    

    With this HTML code:

    
    
    
    Hey There
    • Lorem ipsum dolor sit amet, consectetur adipiscing . . . . . . . . . ---8<-- SNIP -->8--

    I see:

  • How to set the height width for an Image field in a web App?

    I have a webApp to save the image of user with description, title. But when I display all items pictures are great, I want to know how to set the height and width for images?

    Hello

    To do this properly, you need to resize the image. Prefably before you put it in British Colombia. While you can to scale the image in CSS, you don't want to do. Why? Because the images are still very large and probably not optimized properly for the web.

    This means that the page with these images will take a long time to load for people, and people will not be happy on the display of your site.

    You must use a software such as photoshop, if you or iphoto on a mac for example for editing, crop and size of the images before uploading. If you do everything you can use free web based tools such as this one:
    http://Pixlr.com/editor/

    You can also do in British Colombia itself in the file manager. If you click on the image you can see options to resize. The downside to this is's done it by pure mathematics. He doesn't know what is in the picture and the results can make the image etc. shrivelled.

  • How to set the default size for SWF published in Catalyst CS5.5

    I create a project of 800 * 600 pixels in Catalyst CS5.5 and published it as .swf.

    But when I open the .swf that is published, the default size is less than 800 * 600. I have to resize by myself.

    So is there any method I can set the default size for published .swf?

    Thank you guys! Best regards.

    Nick

    When you start the new Flash Catalyst project, you have the option to enable resizing

    This setting is enabled by default.

    If you need to change it later, you can go into edit > settings of the artboard.

    Now when you publish your project, the width and height will be there will substitute.

    As to manually file editting the HTML, there are 3 sets of tag that define the width and height of the project (to manage different browsers). You will need to adjust the values of each of these tag sets. You should just have to do if you cannot republish the file.

    Chris

  • Cascades: How to set the background image for the menu drop down and etc...

    Hello

    Is there an easy way to set the background image for the menu drop down and etc, current support only black as a background?

    Thank you

    Tom.

    Welcome to the forums!

    This is currently not supported unfortunately.

    I encourage you to save a feature for this request:

    https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

    See you soon!

    Martin

  • How to set the threshold value for single tablespace in the 11g grid control

    Hello

    I want to set the threshold value for a single tablespace in the 11g grid control,
    Please give me a navigation path.

    Sandy wrote:
    Can you please give me the full navigation path?

    go to the target--> databases
    Select the database that you want to set this alert to
    Link select settings and policy settings

  • How to set the background color for the HTML text field

    Hello

    Please don't me flame for this question is a bit off-topic. I would like to indicate to the end user that a field is mandatory. Using the name field * rating is good, but end users require a somewhat more tentative approach, they would like to have a light blue background for required fields.

    Is there a HTML attribute for the text fields to achieve? Thanks in advance.

    Tamas

    Hi Francine,.

    Try this

    Click your text box
    Select the ELEMENT property tab
    then choose the property attributes of HTML form elements give this code

    style = "" background: #0000FF ' "

    This will show the Textbox with blue background
    You can give any color by changing the #000000 to #FFFFFF

    Thank you
    Mark Wyatt

Maybe you are looking for

  • Using recovery discs that have been put in place on another PC

    I have 3 computers HP Compaq Pro SFF x 6200. I have only created a disk of recovery for one of them. Now, I need to restore the other two PC (they no longer have the available recovery partition). How is the Windows 7 numbe series registrations affec

  • speakers not working not

    Hello there my speakers just stopped after that windows update July 23, 2013 PC model: Windows 8 HP Envy m6 im not really an expert on these things, so if anyone can help id really appreciate it thank you

  • Why, after several months, when checking "installed updated history, there are more than 50 copies of 2 updates?

    Original title: windows updates Why, after several months, when checking "installed update history, there are more than 50 copies of 2 updates, KB30744230 and KB307450. Almost daily show several updates for each.

  • Configuration of SMB

    Hello I'm attached to validate this configuration of SMB. "Core". ring configuration battery 2 SG500 24 ports 1 SG500 48 ports SFP-H10GB-CU1M 3 = 5G battery 5 MGBSX1 (uplink access) 1 port of uplink in copper (combo) bind to the SIC 'Access '. 3 SG30

  • Jabber Video (Movi) always showed "search failed: Server error.

    Hi, Experts I have install X7.2 VCS, 13.2 TMSPE, I install the 'putting into service Phone Book' by 'Supply' and marked the group in access control, but the always shown video (Movi) Jabber client ' search failed: Server error "when I search contact.