Creating custom widgets based on constructors with parameters without default values
-
Can improvements be achieved for the tool “user interface compiler” anyhow?
Why not? As always with open source, you can modify it according to your need (with respect to the license, of course).
If your improvements look reasonable for the developers, they might be added to further versions too. If you have such intentions, you should really discuss them with the developers on the Qt development mailing list.
Regards
-
Hi @elfring,
Different users have different needs and write different software.
As said by @mrjj before, all can be done in code without designer. You can even create basic dialogs in Designer and complete them in your code. You can extend Designer with own widgets. You can write your own code generator...
So much possibilities :)
-
…, all can be done in code without designer.
I would appreciate if the visual design tool can work together with available user interface compilers to get the creation of non-default-constructible widgets (including views) working in a safe and convenient way.
Does this aspect require another update for the Qt program “uic” (or even a replacement)?You can even create basic dialogs in Designer and complete them in your code.
Will any more examples be published where such approaches can be insufficient for safe application object configurations?
-
You can write your own code generator...
- Have you ever heard about concrete approaches to perform the desired data processing for Qt Designer's UI file format (or the QML file format) by a corresponding C++ class template library?
- Will source code introspection take the handling of non-default-constructible widgets (including views) better into account then?
-
…, all can be done in code without designer.
- Can Qt users (or developers) become more interested in the support for object construction without default parameters?
- Would you like to see extensions for data format descriptions and corresponding development tools?
-
@elfring said in Creating custom widgets based on constructors with parameters without default values:
Can Qt users (or developers) become more interested in the support for object construction without default parameters?
You should ask Qt developers ( @aha_1980 already gave you the link), not in this user forum...
-
@elfring
Hi- I am curious on how the clarification will evolve
Me too.
As what you wish for - takes a huge amount of code and forces a preconceived structure on the users
and its going from very complicated and involving to plain impossible in scope :)In 30 years of programming, i have not seen any WYSIWYG editor that supported adding
unknown classes to static code generation for GUI instance construction.