Log In
Support
New Account
This forum
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Software/Group
People
Skill
Advanced search
Home
My Page
Project Tree
Code Snippets
Project Openings
Korundum/QtRuby - Ruby-KDE/Qt bindings
Summary
Forums
Tracker
Surveys
News
Files
Forums
|
Admin
Discussion Forums:
help
Start New Thread
Nested
Flat
Threaded
Ultimate
Show 25
Show 50
Show 75
Show 100
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?