Results 1 to 4 of 4

Thread: About GraphicsTextItem

  1. #1
    Join Date
    Nov 2007
    Posts
    8
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Question About GraphicsTextItem

    How can I make the dotted line disappeared in GraphicsTextItem?
    Attached Images Attached Images
    • File Type: jpg 0.jpg (9.7 KB, 14 views)

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

    Default Re: About GraphicsTextItem

    That's probably the ItemIsSelectable or ItemIsFocusable flag. If you turn the flag off, the frame should disappear.

  3. #3
    Join Date
    Nov 2007
    Posts
    8
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About GraphicsTextItem

    Quote Originally Posted by wysota View Post
    That's probably the ItemIsSelectable or ItemIsFocusable flag. If you turn the flag off, the frame should disappear.
    I'm Sorry I didn't explain myself clearly. I want the frame disappeared while editing. The dotted frame disappears after I turn these flags off, but the QGraphicsTextItem can't accept key events. Would you please give me further suggestion? Thank you!

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: About GraphicsTextItem

    J-P Nurmi

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.