Forum
Sign Up
× DataGrid for Qt.C++

4.x refactored code

7 years 4 months ago #1 by Pascal
4.x refactored code was created by Pascal
Where can I find documentation which functions/members/properties are removed and what is the replacement ?
Would be good to flag public members as deprecated before just dropping them.

Eg, following code does not work anymore in 4.x:
view->getColumnByModelColumn(BetalingTableModel::date)->dataBinding()
and through searching the source code I found that it could be replaced by
view->getDataBinding(view->getColumnByModelColumn(BetalingTableModel::date))
but is this the expected solution that provides sustainable coding that will keep working ?

Other one is
view->options().setGroupSummaryVisible(true);
I suppose this has to be replaced by
view->options().setGroupSummaryPlace(Qtitan::GroupSummaryRow);

It's not the first time I have problems with the very limited documentation. Examples are only illustrating a very limited set of all the capabilities ; you really need some work done on the documentation.

Thx !

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.227 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )