Results 1 to 14 of 14

Thread: a box around QLineEdit?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default a box around QLineEdit?

    In Qt3.3 one could put a single pixel black line around a QLineEdit text box, instead of selecting the "frame" option, which made the QLineEdit appear as if it were in a hole.

    I am not able to find such an option in the QT4 QLineEdit, nor am I able to see a way to do so using styles. It appears I can only use the "frame" setting which creates the 'hole'.

    How can I draw a black line around a textbox?
    Last edited by GreyGeek; 30th January 2006 at 21:53.

Similar Threads

  1. Replies: 10
    Last Post: 12th February 2009, 07:23
  2. problem with QLineEdit and QPalette
    By impeteperry in forum Qt Programming
    Replies: 4
    Last Post: 15th October 2008, 17:05
  3. QLineEdit
    By rick_st3 in forum Newbie
    Replies: 1
    Last Post: 14th June 2008, 09:05
  4. Pointer Question related to QLineEdit
    By ChrisReath in forum Qt Programming
    Replies: 1
    Last Post: 23rd May 2008, 15:13
  5. QValidator, regular expressions and QLineEdit
    By hvengel in forum Qt Programming
    Replies: 1
    Last Post: 8th August 2007, 01:25

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.