Unsolved Task dialog
-
Does anyone know of a Qt class that simulates the functionality of the CTaskDialog from MFC?
https://docs.microsoft.com/en-us/cpp/mfc/reference/ctaskdialog-class?view=msvc-160
I have manually created a dialog in Qt using QCommandButtons that looks very similar, but I use these in dozens of places in my code and I really don't want to have to manually recreate every one. It seems like it would be relatively simple to create a Qt class with the same API functionality as the CTaskDialog class. I just don't want to have to do it myself, so I'm hoping someone else has already done it.
If not is there a good place to hire a Qt developer for piecemeal work like this? I might want to sub this out to someone more familiar with Qt rather than try to do it myself.
-
@Dan203 said in Task dialog:
and I really don't want to have to manually recreate every one
If you created it once you can reuse it as often as you want, so what is the problem?
-
@jsulm said in Task dialog:
@Dan203 said in Task dialog:
and I really don't want to have to manually recreate every one
If you created it once you can reuse it as often as you want, so what is the problem?
They're not consistent. Some have more or less options, some use features of the task dialog that others don't, some use different icons.
Each one would need to be unique to replicate what I'm doing.
-
@Dan203 You still could do your dialog customizable.
-
@jsulm said in Task dialog:
@Dan203 You still could do your dialog customizable.
Only if I build the dialogs in code, which is exactly what my original post was about. A class that can dynamically build the dialogs using the same, or similar, API as CTaskDialog.
Building them in the designer as .ui files is not an option as there are too many and they vary too much in their options.
-
@Dan203 If I take a look at https://docs.microsoft.com/en-us/cpp/mfc/reference/ctaskdialog-class?view=msvc-160 it only provides predefined functionality, where you can select what exactly you need in a specific case. I don't see why it would not be possible to do with designer. There are things like https://doc.qt.io/qt-5/qstackedwidget.html , for example, which can help to design customizable UIs. Then you provide an API to give the user to specify what exactly the dialog should show.