Results 1 to 4 of 4

Thread: Changing colors and textures?

Hybrid View

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

    Default Re: Changing colors and textures?

    Quote Originally Posted by Dumbledore View Post
    I'm also worried about how to get the returnPressed() method that comes (conveniently) with the Line Edit input widget, but is not included with the Text Edit input widget to work for the Text Edit widget.
    You can install an event filter on the text edit and make it emit such signal. See QObject::installEventFilter() and QObject::eventFilter(). Other solution is to subclass QTextEdit and reimplement QWidget::keyPressEvent().

    P.S. Please, don't ask two unrelated questions in a single thread.

  2. #2
    Join Date
    Oct 2007
    Posts
    38
    Thanks
    1

    Default Re: Changing colors and textures?

    Thanks I got it working now

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.