Qt-interest Archive, July 2007
QTableView Stylesheet bug
Message 1 in thread
Hello,
Trying to develop a custom style, I am getting a bug with Qt 4.3.0 on both
Linux and Windows (in Designer - I did not try compiling the app): the
"gridline-color" property does not work. Anyone can reproduce the bug?
1. Create a new form in Designer
2. Insert a Table Widget and add some rows/cols
3. Add the following stylesheet to the form:
QTableView, QTableWidget
{
gridline-color: #f00;
}
4. Apply
On my Linux box, the grid color is green, while on windows it's black. No
red!
Thanks,
--
[ signature omitted ]
Message 2 in thread
Speaking of that, is it possible to apply custom style to the cells (like a
background, or custom cells borders)?
P-E
On 7/20/07, Pierre-Étienne Messier <pierre.etienne.messier@xxxxxxxxx> wrote:
>
> Hello,
>
> Trying to develop a custom style, I am getting a bug with Qt 4.3.0 on both
> Linux and Windows (in Designer - I did not try compiling the app): the
> "gridline-color" property does not work. Anyone can reproduce the bug?
>
>
> 1. Create a new form in Designer
> 2. Insert a Table Widget and add some rows/cols
> 3. Add the following stylesheet to the form:
> QTableView, QTableWidget
>
> {
>
> gridline-color: #f00;
>
> }
> 4. Apply
>
> On my Linux box, the grid color is green, while on windows it's black. No
> red!
>
> Thanks,
>
> --
> Pierre-Étienne Messier
> Courriel : pierre.etienne.messier@xxxxxxxxx
> OpenPGP ID : 1024D/9BDBDDF6
> Web : http://pemessier.hexpresso.org/
> Jabber : SiLiZiUMM@xxxxxxxxxx
--
[ signature omitted ]
Message 3 in thread
Pierre-Étienne Messier wrote:
> Hello,
>
> Trying to develop a custom style, I am getting a bug with Qt 4.3.0 on
> both Linux and Windows (in Designer - I did not try compiling the app):
> the "gridline-color" property does not work. Anyone can reproduce the bug?
Yes, Task 169855. It was fixed for 4.4.0, please contact support for the
patch.
Girish
--
[ signature omitted ]