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

Sample code for custom models? #26

Open
jschmidt opened this issue Jul 4, 2018 · 2 comments
Open

Sample code for custom models? #26

jschmidt opened this issue Jul 4, 2018 · 2 comments

Comments

@jschmidt
Copy link

jschmidt commented Jul 4, 2018

Is there a sample app or code snippet somewhere that illustrates how to set up something like a QListView with a model and proper signal handling?

@LinesPrower
Copy link

The project description declares "protected method override support". Is there any example of that?

@kitech
Copy link
Owner

kitech commented Aug 16, 2018

w := qtwidgets.NewQWidget()
w.InheritMousePressEvent(func(ev *qtgui.QMouseEvent) {
})

override protected method: w.Inheritxxxx(func)
it's works, although not look like as C++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants