Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filters for selecting members to add to Python as done in QLua #31

Closed
candycode opened this issue Dec 4, 2012 · 0 comments
Closed
Milestone

Comments

@candycode
Copy link
Owner

When an object or type is added to the Python context do allow client code to select which methods and properties are actually added through a filter object or RegExp.

Pass an additional MemeberFilter object to the context which is used to filter members.

E.g.

struct MemberFilter {
    bool MethodAvailable(QObject* obj, const QMetaMethod& mm) const = 0;
    bool PropertyAvailable(QObject* obj, const QMetaProperty& mp) const = 0;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant