[Qt] Release V2.4
zeljko
zeljko at holobit.net
Fri Jul 8 21:18:29 CEST 2011
On Friday 08 of July 2011 20:24:05 Den Jean wrote:
> On Friday 08 July 2011 08:04:17 zeljko wrote:
> > uhhh .... didn't know that 2.4 will be so fast ... please see reminder
> > for you: http://bugs.freepascal.org/view.php?id=19640
>
> Sorry, I do follow these. Please ask on this mailing list.
No problem, that issue is just for implementation of that class, also
remainder for me.
>
> > 1.QStandardItemH setData() and getData(): QtItemDataRole param should be
> > changed to integer (like with QListWidgetItemH and QTreeWidgetItemH).
> > (only qt45.pas change is needed, I've already tested that and it works
> > fine).
>
> Parameters of type int that have a default value of type QtItemDataRole
> were converted to type QtItemDataRole to ease the use of that enum
> type as a parameter value. I did this way back in 2006 :-).
> Ok I removed this feature.
Thanks.
>
> > 2.Would be nice if there's any chance to get
> > QStandardItemModel::selectionChanged() signal into bindings.... in that
>
> QStandardItemModel::selectionChanged() does not exist.
> That class has a signal ItemChanged.
> However QItemSelectionModel has such a signal.
Yes, I've typed from my mind today, it's QItemSelectionModel ...
>
> > case QtItemSelection class is needed , but I guess it can be PtrIntArray
> > (it's anyway an array of QStandardItemH).
>
> ?
>
> The class QItemSelection is avoided by the binding
> because it is a template descendant (QList<QItemSelectionRange>)
> It will take some time to see if it can be supported, probably
> by writing a QLCL.... As the list elements are not pointers,
> the PtrIntArray does not work well.(pascal cannot copy c++ classes,
> only pointers)
ok
>
> > P.S: What's exact change in this release ? Where range checks raised ?
>
> copyQVectorQRealToQRealArray
thanks
zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/qt/attachments/20110708/39f6a02c/attachment-0002.html>
More information about the Qt
mailing list