It's correct that it is in the trunk. And the patch also works - thanks! One thing I noticed is that mouse clicks to the header are not signaled anymore (header.setClickable(true)). I'll have a look into that tomorrow, maybe a new flag was introduced.
On Tue, Aug 23, 2011 at 8:28 PM, Samu Voutilainen <s...@smar.fi> wrote: > The patch AFAIK is also committed to trunk, if it is easier to use. > > On Tuesday 23 August 2011 12:52:52 Poalo Pacussi wrote: > > Hi, > > > > using win7 (32) with qtjambi 4.6.3. Wont have time until next Monday to > try > > this. Thanks so far > > > > On Mon, Aug 22, 2011 at 12:26 AM, Darryl Miles < > > darryl-mailingli...@netbauds.net> wrote: > > > > > > > > Which version of Qt Jambi do you use ? Platform, version, etc... > > > > > > Try this patch. Maybe you could update your testcase and demonstrates > it > > > working. > > > > > > Thanks > > > > > > Darryl > > > > > > > > > > > > diff --git a/generator/typesystem/xml/**typesystem_gui-common.xml > > > b/generator/typesystem/xml/**typesystem_gui-common.xml > > > index b8dbff0..ddc8ed1 100644 > > > --- a/generator/typesystem/xml/**typesystem_gui-common.xml > > > +++ b/generator/typesystem/xml/**typesystem_gui-common.xml > > > @@ -1653,7 +1653,7 @@ > > > </inject-code> > > > <modify-function signature="setModel(**QAbstractItemModel*)"> > > > <modify-argument index="1"> > > > - <reference-count > declare-variable="**QAbstractItemView" > > > action="set" variable-name="__rcModel"/> > > > + <reference-count > declare-variable="**QAbstractItemView" > > > action="set" variable-name="__rcItemModel"/**> > > > </modify-argument> > > > </modify-function> > > > </object-type> > > > > > > > > > Poalo Pacussi wrote: > > > > > >> ############## > > >> > > >> public class Test { > > >> > > >> public static void main(String[] args) { > > >> QApplication app = new QApplication(args); > > >> > > >> QHeaderView hv = new QHeaderView(Orientation.**Vertical) { > > >> @Override > > >> public void setModel(QAbstractItemModel model) { > > >> super.setModel(model); > > >> } > > >> }; > > >> QTableView view = new QTableView(); > > >> view.setHorizontalHeader(hv); > > >> > > >> QApplication.exec(); > > >> } > > >> } > > >> > > >> ############### > > >> > > > > > > > > > > -- > Terveisin, > Samu Voutilainen > http://smar.fi >
_______________________________________________ Qt-jambi-interest mailing list Qt-jambi-interest@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest