Results 1 to 5 of 5

Thread: simple question about text edit...

  1. #1
    Join Date
    Jan 2008
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1
    Thanked 2 Times in 1 Post

    Default simple question about text edit...

    how can i input text by textedit index and by (x,y) like...

    hi
    bye

    to

    hi
    friend <--(how to insert this one)
    bye

    and how to do this...

    0.....1.....2.....3.....4.....5 <--- (x)
    .
    .
    .
    1
    .
    .
    .
    2..................hello <---(input starts at (3,2))
    .
    .
    .
    3
    .
    .
    .
    4

    ^
    (y)

    next is what object to use if im inserting a picture and text, can i input a picture to textedit?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: simple question about text edit...

    I don't think the text edit is a proper component for that... I'd use QGraphicsView or a custom widget instead.

  3. #3
    Join Date
    Jan 2008
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1
    Thanked 2 Times in 1 Post

    Default Re: simple question about text edit...

    can i print the content of QgraphicvView?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: simple question about text edit...


  5. The following user says thank you to wysota for this useful post:

    triperzz (23rd February 2008)

  6. #5
    Join Date
    Jan 2008
    Posts
    33
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1
    Thanked 2 Times in 1 Post

    Default Re: simple question about text edit...

    ok thanks. i will try to use this..

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. QTextEdit simple question
    By Marcopolo in forum Qt Tools
    Replies: 4
    Last Post: 11th October 2007, 00:01
  3. Replies: 8
    Last Post: 15th May 2007, 09:21
  4. automatic scrolling text edit
    By Vash5556 in forum Newbie
    Replies: 2
    Last Post: 19th March 2007, 18:32
  5. QTextEdit Qt4: simple question
    By TheKedge in forum Qt Programming
    Replies: 4
    Last Post: 18th January 2006, 12:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.