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

Need for an abstract class for QWidget subclass creation #175

Open
jcornall opened this issue Dec 18, 2024 · 0 comments
Open

Need for an abstract class for QWidget subclass creation #175

jcornall opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jcornall
Copy link
Collaborator

jcornall commented Dec 18, 2024

In order to implement widgets that are a subclass of QWidget only, there is a need to define an abstract QCustomWidget class that contains concrete methods that must be implemented so that the class interacts correctly with the methods in the FormDialog and UIFormWidget classes. This would serve as a template for all future widgets that inherit from QWidget.

The abstract class could include a factory method that creates an object that already includes the required methods. This would ensure robust interactions for all future widgets that subclass QWidget.

See also #125, #173, #174

@jcornall jcornall added the enhancement New feature or request label Dec 18, 2024
@jcornall jcornall changed the title Need for an abstract class with a factory method for QWidget subclass creation Need for an abstract class for QWidget subclass creation Dec 18, 2024
@jcornall jcornall self-assigned this Jan 30, 2025
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