Results 1 to 6 of 6

Thread: How to create a caret in a widget which has no inputbox?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2011
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to create a caret in a widget which has no inputbox?

    Thanks for your reply. You mean there's no convenient way to solve the problem? eh, OK. I think I should make the background transparent.
    In addition, if I want to get the Asian Charactor using a local input software, what should I do? In the function "keyPressEvent" and get it by the event->key()? But it doesn't work so well.

  2. #2
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: How to create a caret in a widget which has no inputbox?

    Maybe I misuderstood your question, but Qt can handle Asian characters without problems, so you can simply work with QString.
    Oleg Shparber

Similar Threads

  1. Create ui from widget
    By Fastman in forum Qt Programming
    Replies: 2
    Last Post: 29th November 2010, 19:53
  2. How to Create child widget behind parent widget?
    By anupamgee in forum Qt Programming
    Replies: 6
    Last Post: 22nd June 2010, 13:03
  3. How to create my own widget
    By jayreddy in forum Qt Programming
    Replies: 4
    Last Post: 30th October 2009, 11:45
  4. how to create something like widget box in qt designer
    By gregsan in forum Qt Programming
    Replies: 3
    Last Post: 18th July 2008, 15:21
  5. QFormbuilder - How to create widget
    By manivannan_1984 in forum Qt Programming
    Replies: 1
    Last Post: 8th September 2006, 18:47

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.