Results 1 to 4 of 4

Thread: Changing colors and textures?

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

    Default Changing colors and textures?

    Hello again,

    I think I've got the hang of QT. At least I'm finding I really enjoy working with it. I gave the trial version a go this morning (the one that integrates itself into Visual Studio) and I thought it was very handsome indeed. As a Software Engineering Student, I would be willing to pay $50 bucks or so for it, but since it's $3000 I guess that's completely out of the question. Too bad.

    Anyways, I was wondering what the easiest way is to change the look and feel of the GUI. I'm sick of the bland, gray, ugly default.

    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.

    Thanks in advance!

  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

  3. #3
    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.

  4. #4
    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.