Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Task dialog
Forum Updated to NodeBB v4.3 + New Features

Task dialog

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 495 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dan203
    wrote on last edited by
    #1

    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.

    jsulmJ 1 Reply Last reply
    0
    • D Dan203

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • jsulmJ jsulm

        @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?

        D Offline
        D Offline
        Dan203
        wrote on last edited by Dan203
        #3

        @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.

        jsulmJ 1 Reply Last reply
        0
        • D Dan203

          @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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Dan203 You still could do your dialog customizable.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          D 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Dan203 You still could do your dialog customizable.

            D Offline
            D Offline
            Dan203
            wrote on last edited by
            #5

            @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.

            jsulmJ 1 Reply Last reply
            0
            • D Dan203

              @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.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @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.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved