qmenuview.view.SetDataArgs¶
-
class
qmenuview.view.SetDataArgs(setfunc, column, role, convertfunc)[source]¶ Bases:
objectA container of arguments for setting attributes on an action.
The data is queried from the model with
role. Then converted withconvertfunc. Thensetfuncis used for setting the attribute on the action.convertfunccan beNone.If column is a string, the attribute of the view with that name will be used as column.