google-code-export / gambas

Automatically exported from code.google.com/p/gambas
1 stars 0 forks source link

Several qt components ignores color.foreground property #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found that at least treeview and fileview components ignores the foreground 
color property.
i can successfully change the background color, but the font color seems to be 
picked always from qt style settings.

Version: 3.1.1
Operating system: Linux
Distribution: ArchLinux
Architecture: x86
GUI component: QT4 (GTK works!)
Desktop used: KDE

To reproduce, just create qt graphical project with a treeview, the problem 
appears right from the ide if you try to change foreground treeview property.

Original issue reported on code.google.com by Kokok...@gmail.com on 24 Apr 2012 at 3:52

GoogleCodeExporter commented 9 years ago

Original comment by benoit.m...@gmail.com on 25 Apr 2012 at 9:08

GoogleCodeExporter commented 9 years ago
I agree for the TreeView, but not for the FileView.

I can successfully change the FileView foreground color. Note that the FileView 
relies on the IconView control, which is not the Qt native one, but has been 
remade entirely in Gambas.

Original comment by benoit.m...@gmail.com on 25 Apr 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Well, i'm sure i cannot change fileview foreground color, even from the ide it 
doesn't.
And i've to add listbox to the list.

Attached you can see what is happening here, i tried with a qtcurve and with an 
oxygen style to be sure.

Original comment by Kokok...@gmail.com on 25 Apr 2012 at 10:09

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, I forgot the detailed FileView view mode.

Actually two Qt widgets do not work: Q3ListView and Q3ListBox, and so the 
Gambas controls based on them: ListBox, TreeView, ColumnView, ListView.

Original comment by benoit.m...@gmail.com on 25 Apr 2012 at 10:17

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed in revision #4674.

Original comment by benoit.m...@gmail.com on 25 Apr 2012 at 11:21