Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2007-09

TQColor and QColorH

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Павел Ишенин

Hello, Items specific to the Qt widget set

Just a question.

In some places I found such use of TQColor and QColorH

var
  C: TQColor;
begin
  QColor_setRgb(QColorH(@C),Red(AColor),Green(AColor),Blue(AColor));
end;

Is it true, that PQColor can be casted as QColorH? It is rather strange for me.

Best regards,
Paul Ishenin.