model headerDataChanged signal

30 views
Skip to first unread message

Luigi Ferraris

unread,
Jul 11, 2017, 11:27:00 AM7/11/17
to QtContribs
Hi Pritpal,
I have used ...:connect( "headerDataChanged(Qt::Orientation, int, int)", { |orientation,first,last| udfQHeaderDataChanged( orientation, first, last ) } )
on a model but HbQt returns this error:
"Error BASE/4005 Bound error:HBQT_CONNECT
Called from HBQT_CONNECT(0)
etc."
I have tested other signal but is the same.

Any help is appreciated.
TIA
Luigi Ferraris

Pritpal Bedi

unread,
Jul 12, 2017, 10:32:50 AM7/12/17
to QtContribs
Hi



I have used ...:connect( "headerDataChanged(Qt::Orientation, int, int)", { |orientation,first,last| udfQHeaderDataChanged( orientation, first, last ) } )


try

connect( "headerDataChanged(int, int, int)", { |orientation,first,last| udfQHeaderDataChanged( orientation, first, last ) } )



Pritpal Bedi
a student of software analysis & concepts

Luigi Ferraris

unread,
Jul 12, 2017, 12:16:14 PM7/12/17
to qtcon...@googlegroups.com
Il 12/07/2017 16.32, Pritpal Bedi ha scritto:
> try
>
> connect( "headerDataChanged(int, int, int)", {
> |orientation,first,last| udfQHeaderDataChanged( orientation, first,
> last ) } )
>
Many thanks for answer.

Now it returns
"Error BASE/9999 Argument error: __HBQT_ERROR
Called from __HBQT_ERROR(0)
Called from MODEL:CONNECT( 203 )
......."

I have already added (but I think is not related)
void headerDataChanged( Qt::Orientation, int first, int last )
into .qth file, section <SIGNALS>

Luigi
Reply all
Reply to author
Forward
0 new messages