Results 1 to 7 of 7

Thread: entering text through user interaction in QTextEdit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    123
    Qt products
    Qt3 Qt/Embedded
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: entering text through user interaction in QTextEdit

    hi...

    currently we are working with qt-embedded-free-3.3.5. is this possible with this package...? or should i migrate to qt-4.x....?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: entering text through user interaction in QTextEdit

    Quote Originally Posted by sar_van81 View Post
    currently we are working with qt-embedded-free-3.3.5. is this possible with this package...? or should i migrate to qt-4.x....?
    No, there are other IPC mechanisms you can use. As for the keys themselves, you can try to simulate them by posting QKeyEvents to a widget that currently has the focus.

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

    Default Re: entering text through user interaction in QTextEdit

    I think the problem is that the other widget is in a different application, so I doubt it's possible using Qt events only unless Qt/Embedded has such an ability.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: entering text through user interaction in QTextEdit

    Quote Originally Posted by wysota View Post
    I think the problem is that the other widget is in a different application
    Yes and when that other application receives a character through some IPC mechanism, it can post an event to pass it to the right widget.

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

    Default Re: entering text through user interaction in QTextEdit

    Quote Originally Posted by jacek View Post
    Yes and when that other application receives a character through some IPC mechanism, it can post an event to pass it to the right widget.
    Ah, I see I misunderstood you.

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Problem pasting text into a QTextEdit
    By Spockmeat in forum Qt Programming
    Replies: 8
    Last Post: 14th March 2009, 14:36
  3. How to get text of last line only in QTextEdit?
    By rajesh in forum Qt Programming
    Replies: 2
    Last Post: 12th June 2006, 13:37
  4. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 06:03
  5. coordinates of selected text in QTextEdit
    By sreedhar in forum Qt Programming
    Replies: 1
    Last Post: 15th May 2006, 17:22

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.