Results 1 to 3 of 3

Thread: QTextTableCell Border

  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Question QTextTableCell Border

    G'day All,

    I'm using Qt 4.5 and its QTextDocument to create a table formatted output from a database for printing. I have no trouble actually building the QTextTable and setting up row and column spans for the headers etc. (programmatically or by using setHtml()). What I'd like to do is control the cell borders independently of the border around the table itself and the left/right/top/bottom borders independently of each other. I haven't found a way to achieve this in the docs, and the HTML support doesn't seem to include border-left, border-right etc. Past experience tells me that what I want is probably there... I am just not seeing it.

    Could someone point me in the right direction please?

    Cheers,
    Chris

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QTextTableCell Border

    OK. From the silence it doesn't look like it is an achievable thing with Qt at the moment.

    Guess that leaves me with painting the table using individual lines and bits of text or perhaps merging the text into a page-sized SVG. Hardly nice, but it'll give the ultimate in control.

  3. #3
    Join Date
    Oct 2009
    Posts
    14
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: QTextTableCell Border

    Quote Originally Posted by ChrisW67 View Post
    control the cell borders independently of the border around the table itself and the left/right/top/bottom borders independently of each other.
    Same need, any other suggestions please?

Similar Threads

  1. Css - problem with border in QTextEdit
    By Trok in forum Qt Programming
    Replies: 3
    Last Post: 28th March 2009, 23:53
  2. Showing QWidget border around the window
    By maverick_pol in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2008, 21:14
  3. QTextTableCell border 1pt bottom append.
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 11:19
  4. How to set the BORDER COLOR of QDialog?
    By ashukla in forum Qt Programming
    Replies: 6
    Last Post: 13th November 2007, 17:09
  5. How to create a movable border between two widgets?
    By Teuniz in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2007, 09:45

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.