14class QAbstractItemModel;
27 QAbstractItemModel& model,
28 std::function<
void (QModelIndex)> clickHandler,
29 MenuModelOptions options = {});
void SetMenuModel(QMenu &menu, QAbstractItemModel &model, std::function< void(QModelIndex)> clickHandler, MenuModelOptions options)