Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Lex Malta
RE: Qt::GridLayout.getItemPosition [ reply ]  
2010-04-25 01:50
Thank you very much for your reply Yonatan, it worked perfectly.

By: Yonatan Elhanan
RE: Qt::GridLayout.getItemPosition [ reply ]  
2010-04-24 15:56
Read the overview of QtRuby, especially the int* argument type section:
http://techbase.kde.org/Development/Languages/Ruby#C.2B.2B_.27int.2A.27_and_.27int.26.27_argument_types

Try passing Qt::Integer objects as parameters and read their value after the method call.

By: Lex Malta
Qt::GridLayout.getItemPosition [ reply ]  
2010-04-23 15:58
If you take a look at the Qt API here: http://doc.qt.nokia.com/4.6/qgridlayout.html#getItemPosition, it shows that the method updates pointers rather than returning a value. Any advice on how I could use this method in ruby?