×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    22

    How to get text from a QPlainTextEdit

    Hi everyone,
    How do i get the text from a QPlainTextEdit? the text property is not returning anyhthing! Please help!

    Regards,
    Naveesh
    Doolhur

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: How to get text from a QPlainTextEdit


  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    22

    Re: How to get text from a QPlainTextEdit

    Hello Sir,
    Thank you but it is still nor woking.I have used this: .

    Code:
    	QString msg=ui.txtMsg.toPlainText();
    Please help me.
    Thanks a lot,
    Naveesh

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: How to get text from a QPlainTextEdit

    Did you develop the UI screen using Designer under Carbide or Creator? Does that statement even compile correctly?

    Normally it would be

    QString msg=ui.txtMsg ->toPlainText();

    for a UI developed under Carbide Designer.

Similar Threads

  1. how get the text from rich text editor in the dialog
    By manjunaths in forum Symbian User Interface
    Replies: 4
    Last Post: 2010-12-01, 13:14
  2. Text color in Grid on S60 v3.1
    By ppiggy in forum Symbian
    Replies: 2
    Last Post: 2010-01-21, 03:24
  3. unable to understand list box event
    By kapnkore in forum Symbian
    Replies: 3
    Last Post: 2009-05-02, 17:56
  4. Enumerated text setting item
    By WaelA in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-17, 06:05
  5. CRichText text problem
    By introuble in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-09-30, 17:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×