- Adding the support for the Qt6 version (The first Qt6 version was released December 8, 2020)
- Dropping support for the Qt4 version (The last Qt4 version (4.8.7) was released on May 26, 2015)
- Doxywizard can now also upgrade CLASS_GRAPH when an obsolete
CLASS_DIAGRAMS option is found
- When CLASS_GRAPH was set to TEXT in a configuration file, it was
silently set to NO while opening it in the wizard.
Since the issue #7273 and pull request #8663 the setting `HAVE_DOT` was required when one wants to incorporate a "dot" type of graph, though this interferes with the Inheritance usage, especially when one wants to have a textual" list.
There were a number of settings etc. involved:
- `CLASS_GRAPH`
- `CLASS_DIAGRAMS`
- `HAVE_DOT`
and the layout setting
- `<inheritancegraph visible="$CLASS_GRAPH"/>`
With this patch the following scheme has been implemented:
```
HAVE_DOT, CLASS_GRAPH, class diagram output
================================================================
NO, NO nothing shown (expected)
NO, YES built-in diagram
NO, TEXT text link
NO, GRAPH built-in diagram (same as YES)
YES, NO nothing shown (expected, HAVE_DOT can be used for other diagrams and \dot)
YES, YES dot generated diagram
YES, TEXT text link
YES, GRAPH dot generated diagram (same as YES)
```
The setting `CLASS_DIAGRAMS` is not necessary and has been declared obsolete.
In the GUI the term "Class diagrams" is used although this is linked to the setting `CLASS_GRAPH` and not to the setting `CLASS_DIAGRAMS`.
Changed text in this case for consistency.
With newer versions of qt5 (e.g. 5.14.0), we get warnings like:
```
...\doxygen\addon\doxywizard\doxywizard.cpp(346): warning C4996: 'QString::sprintf': Use asprintf(), arg() or QTextStream instead
D:\Qt\qt-everywhere-src-5.14.0\install_nmake_2017_32\include\QtCore/qstring.h(382): note: see declaration of 'QString::sprintf'
...\doxygen\addon\doxywizard\wizard.cpp(372): warning C4996: 'QPalette::foreground': Use QPalette::windowText() instead
D:\Qt\qt-everywhere-src-5.14.0\install_nmake_2017_32\include\QtGui/qpalette.h(147): note: see declaration of 'QPalette::foreground'
```
this has been corrected (ran compilation with qt4 as well).
In case of a project logo a preview is shown in the "wizard mode". In "expert mode" only the name is shown.
In this patch the config.xml the type=string possibilities are extended with format=image (config.xml, configgen.py, config.h).
The doxywizard has been extended so that in "expert mode" this type is supported and that a preview is given (expert.cpp, inputstring.cpp and inputstring.h), furthermore in wizard.cpp a minimum label size has been defined to prevent jumping of the items in case of switching between a message text and an icon.
In case the project logo does not exist or cannot be converted give a message instead of a white box.
Also update STR_PROJECT_LOGO in case a filename is selected that cannot be found.