Results 1 to 5 of 5

Thread: Text editor in another application

  1. #1
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Text editor in another application

    I read the instructions here. "Post New Thread" , Still making my mind to post a question in this forum. I hope the experienced folks wont sue me atleast.

    ------

    A host(daemon*) application, when active,

    * Should interpret the key events(Keyborad Input) going to currently active Text editor widgets that may belong to any other application(like MSWord) or any Web page...etc

    * Format the input text in that widget, format in the sense, the host application will have its own key mapping... so deleting a char, adding a char..etc should be possible.

    If I write the host (daemon) application in Qt , Is it possible to achieve the above features?
    If yes...provide some clues please

    Is this a smart question btw? then make an attempt to answer this, you smart guys
    Last edited by ImQti; 8th December 2009 at 19:00.

  2. #2
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Text editor in another application

    It looks like OS level needs so Qt won't help you much - you will have to use platform specific APIs to get events from different applications I think.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  3. The following user says thank you to faldzip for this useful post:

    ImQti (9th December 2009)

  4. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Text editor in another application

    Under what OS? With Linux you'll need to be root to do this, under XP it's possible, but under Vista and Win7 you'll just get a permission denied unless you support UAC.

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

    ImQti (9th December 2009)

  6. #4
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Text editor in another application

    folk, I need it in all OSs' Windows Xp, Linux, Vista & 7...
    If not possible in Vista & 7 its ok, not a big issue atm.

    If possible in, Win Xp & Linux atleast, Its still a very good solution...
    Give me some hints...please

  7. #5
    Join Date
    Nov 2009
    Posts
    17
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Text editor in another application

    Quote Originally Posted by fatjuicymole View Post
    Under what OS? With Linux you'll need to be root to do this, under XP it's possible, but under Vista and Win7 you'll just get a permission denied unless you support UAC.
    fatjuicymole , Please reply

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Need advice for a best way to make this application
    By frenk_castle in forum Newbie
    Replies: 3
    Last Post: 25th September 2009, 18:55
  3. Replies: 0
    Last Post: 10th April 2009, 15:28
  4. Insert text into another application
    By pckoster in forum Qt Programming
    Replies: 1
    Last Post: 18th March 2009, 04:40
  5. Editable text in QGraphicsView
    By wysota in forum Qt Programming
    Replies: 8
    Last Post: 24th February 2007, 15:30

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.