F
flukus
I'm not particularly new to ruby or QT but I'm having trouble getting
the two to work nicely together.
I have a TextEdit and I'm trying to call setExtraSelections on it.
when I use the getter I get the error:
"Cannot handle 'QList<QTextEdit::ExtraSelection>' as return-type of
QTextEdit::extraSelections (ArgumentError)"
And likewise with the setter:
"Cannot handle 'const QList<QTextEdit::ExtraSelection>&' as argument
of QTextEdit::setExtraSelections"
So how do you deal with Qlists in ruby?
Also a few more general questions, please feel free to point me
somewhere with answers like these but I searched long and hard and
couldn't find any.
Is there an API reference somewhere with rubyized method lists etc?
For instance it took alot of reading and searching to find out the qts
ExtraSelection class should be an OpenStruct.
Any there any more gotchas like the qlist above and how enums are
passed as ints?
Any good documentation anywhere, what I could find online was very
lacking and alot of google searches just turn up change logs.
the two to work nicely together.
I have a TextEdit and I'm trying to call setExtraSelections on it.
when I use the getter I get the error:
"Cannot handle 'QList<QTextEdit::ExtraSelection>' as return-type of
QTextEdit::extraSelections (ArgumentError)"
And likewise with the setter:
"Cannot handle 'const QList<QTextEdit::ExtraSelection>&' as argument
of QTextEdit::setExtraSelections"
So how do you deal with Qlists in ruby?
Also a few more general questions, please feel free to point me
somewhere with answers like these but I searched long and hard and
couldn't find any.
Is there an API reference somewhere with rubyized method lists etc?
For instance it took alot of reading and searching to find out the qts
ExtraSelection class should be an OpenStruct.
Any there any more gotchas like the qlist above and how enums are
passed as ints?
Any good documentation anywhere, what I could find online was very
lacking and alot of google searches just turn up change logs.