Results 1 to 2 of 2

Thread: To make rounded Line edit( with out using mask )

  1. #1
    Join Date
    Jul 2007
    Location
    Noida
    Posts
    46
    Thanks
    7
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default To make rounded Line edit( with out using mask )

    Hi to All

    I am having a problem. I just want to make rounded line edit and combo box with out using masking.

    Thanks in advance

    Ashish
    Ashish Kumar Saryar

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: To make rounded Line edit( with out using mask )

    You can subclass that classes and do the painting yourself using their paint event or use style sheets. (See e.g. border-radius parameter)

Similar Threads

  1. QTableView line edit clears the text on edit
    By PlasticJesus in forum Qt Programming
    Replies: 5
    Last Post: 14th March 2015, 19:06
  2. Strange behaviour QLineedit with edit mask
    By vcp in forum Qt Programming
    Replies: 4
    Last Post: 6th May 2010, 12:01
  3. line edit mask problem
    By sudhansu in forum Qt Programming
    Replies: 3
    Last Post: 31st March 2010, 13:17
  4. Replies: 0
    Last Post: 22nd January 2009, 18:15
  5. mask line edit
    By steg90 in forum Qt Programming
    Replies: 4
    Last Post: 3rd July 2007, 10:27

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.