Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User darklord18's Avatar
    Join Date
    Apr 2008
    Posts
    22
    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
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326

  3. #3
    Registered User darklord18's Avatar
    Join Date
    Apr 2008
    Posts
    22
    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
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    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 C++
    Replies: 2
    Last Post: 2010-01-21, 03:24
  3. unable to understand list box event
    By kapnkore in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved