[Qt-interest] QTextTable with single pixel border?
Israel Brewster
israel at frontierflying.com
Thu Apr 16 18:15:49 CEST 2009
Ok, this is driving me nuts. I would have thought this would be a
basic feature, real simple to implement, but try as I might I can not
get it to give me a single line between cells. What appears to be
happening is that it outlines each cell - fair enough, except for the
fact that that means I always get a double line between cells (one for
the cell on the left and one for the cell on the right) additionally,
I seem to be getting an extra border all the way around the entire
table. And I can't seem to get any responses to my question here,
either. Am I asking wrong? Or is this basic table design really not
possible (at least, without re-writing substantial chunks of Qt code)?
I can't imagine designing a table where single lines between cells
isn't a possibility...
-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
On Apr 13, 2009, at 12:17 PM, Israel Brewster wrote:
> Is there any way to make a QTextTable where the cells are separated by
> a single-pixel wide black line? I'm looking for just a basic grid
> (with text in the cells) - no fancy effects or anything. The default I
> am getting is more of a double line, which I don't want. I tried using
> the setBorderStyle(QTextFrameFormat::BorderStyle_Solid); command, but
> that didn't help. Thanks!
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician II
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list