Results 1 to 4 of 4

Thread: Border and Frame

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Border and Frame

    Hi All,

    I would like to have a Frame (QFrame) which only has a border at the bottom.

    First I set the frameShape to "NoFrame" and then I did set a style sheet like "border-bottom: 1px solid black;" but unfortunately this does not work => no border is visible at the bottom...

    Then I've tried another way... I set the frameShape to "Box" and set a style sheet like "border-bottom: 1px solid black;border-top: 0px;border-right: 0px;border-left: 0px;"

    This works now - I only have a border at the bottom of the frame... but also each widget inside that frame has a border (see attachment).

    So that may be an another way to create a own border behavoir

    For some ideas or suggations I would be happy!
    Many thanks
    Attached Images Attached Images

Similar Threads

  1. Replies: 2
    Last Post: 21st March 2012, 14:30
  2. Video Parsing - Frame by Frame
    By ctote in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2010, 18:30
  3. Show dock widget frame/border
    By maverick_pol in forum Qt Programming
    Replies: 2
    Last Post: 21st May 2009, 10:04
  4. Previous frame inner to this frame(corrupt stack?)
    By coralbird in forum Qt Programming
    Replies: 1
    Last Post: 28th May 2007, 01:35
  5. Previous frame inner to this frame(corrupt stack?)
    By coralbird in forum Qt Programming
    Replies: 17
    Last Post: 29th April 2006, 01:42

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.