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

how to use the "ui" files #93

Open
bartonhammond opened this issue May 16, 2019 · 1 comment
Open

how to use the "ui" files #93

bartonhammond opened this issue May 16, 2019 · 1 comment

Comments

@bartonhammond
Copy link

I see the control_list does

uic.loadUi(os.path.join(rootPath, "list.ui"), self)

How can I override the properties defined, such as showGrid which is set to false. I tried copying the list.ui to my path and I changed the property to true but it still does not show the Grid lines.

@bicobus
Copy link

bicobus commented May 28, 2019

You need to override rootPath with the path of your subclass. So rewrite the whole init_form method.

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

2 participants