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

Method addwidget in formdialog redundant #122

Open
DanicaSTFC opened this issue Jan 23, 2024 · 0 comments
Open

Method addwidget in formdialog redundant #122

DanicaSTFC opened this issue Jan 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DanicaSTFC
Copy link
Collaborator

The two methods addWidget and addSpanningWidget with layout = 'vertical' are the same.

e.g.
self.dialog.addWidget(QtWidgets.QPushButton("Inserted widget in vertical layout 2"), layout = 'vertical') self.dialog.addSpanningWidget(QtWidgets.QPushButton("Inserted widget in vertical layout 3"), layout = 'vertical')

The two methods addWidget with qlabel = None and and addSpanningWidget with layout = 'form' are the same.

We could think of dismissing addSpanningWidget.

@DanicaSTFC DanicaSTFC added the enhancement New feature or request label Jan 23, 2024
@DanicaSTFC DanicaSTFC self-assigned this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant