[Qt] QT binding anomalies
zeljko
zeljko at holobit.net
Fri Mar 5 16:24:18 CET 2010
On Friday 05 March 2010 15:49, Juha Manninen wrote:
> I feel we are nearing the essence of the problem... :-)
I think that only problem could be TQtListWidget signals, you can test it by
adding check in:
procedure TQtListWidget.signalItemTextChanged(ANewText: PWideString); cdecl;
var
Msg: TLMessage;
begin
{$ifdef VerboseQt}
WriteLn('TQtListWidget.signalItemTextChanged');
{$endif}
FillChar(Msg, SizeOf(Msg), #0);
Msg.Msg := CM_TEXTCHANGED;
if getVisible then <--------------- HERE
DeliverMessage(Msg);
end;
and probably in other TQtListWidget signals
procedure TQtListWidget.signalSelectionChanged(); cdecl;
procedure TQtListWidget.signalCurrentItemChange(current: QListWidgetItemH;
previous: QListWidgetItemH); cdecl;
Probably CM_TEXTCHANGED triggers LCL to update combobox editor.
Can you test it and send feedback ?
zeljko
More information about the Qt
mailing list