Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-252

Integration of 3D and 2D visual tooling

    XMLWordPrintable

Details

    • User Story
    • Resolution: Out of scope
    • P2: Important
    • None
    • None
    • User Experience
    • None

    Description

      Qt 3D Studio and Qt Quick Designer are two separate design applications, dedicated to two different ways of UI creation in Qt: 3D and 2D. These UI technologies are combinable within the same UI.

      Modes of interoperation

      Both tools, when installed side by side in an SDK, need to be aware of eachother and be able to call eachother. Both tools need to be able to optain certain services from the opposite tool. These "service requirements" are symmetrical.
      We want to follow the basic principle that the respective domain knowledge stays in the related tool, which means that only Qt 3D Studio generates and edits 3D elements and only Qt Quick Designer generates and edits 2D elements.

      There are two possible scenarios for such combined UIs

      "3DFirst" Scenario


      The main scene is 3D based which contains QML sub-presentations which are integrated via QmlStream Items. This UI gets created in Qt 3D Studio, and in order to edit the 2D elements, the user needs to conveniently switch to the Qt Quick Designer.

      • Display of QML elements in the scene
        A Qt 3D Studio scene in the editor needs to be able to visualize the embedded QmlStream elements
      • Instantiation of QML elements in the 3D scene
        Qt 3D Studio needs to be able instatiate an new QML element by creating the QmlStream element and launching Qt Quick Designer's project wizard to create the QML files and a .qmlproject. That also requires that Qt Quick Designer can be launched in a way that it directly opens the Qt Quick Application wizard (QTCREATORBUG-20030).
        Also import of an existing QML project shall be possible, which might require copying the qml project to a specific location.
      • Editing of 2D content
        Double clicking on a 2D item causes Qt 3D Studio to lauch Qt Quick designer with the right QML file.

      "2DFirst" Scenario


      The main scene is a 2D QML scene which contains 3D elements which are integrated via Studio3D QML Items.This UI gets created in Qt Quick Designer / Qt Creator, and in order to edit the 3D elements, the user needs to conveniently switch to the Qt 3D Studio.

      • Display of 3D elements in the QML form
        The Quit Quick Designer needs to be able to visualize the embedded Studio3D Items properly (QTCREATORBUG-20027)
      • Instantiation of 3D elements in the QML form
        Qt Quick Designer needs to be able to instantiate a new 3D element by creating the Studio3D Item and launching Qt 3D Studio's project wizard to create the .uia file and the required directory structure around it (QTCREATORBUG-20031). That also requires that Qt 3D studio can be launched in a way that it directly opens the new project dialog (QT3DS-1281).
        Also import of an existing 3D item shall be possible, which might require copying the 3D project into the 2D project resources, so that it becomes part of the deployable application assets. (QTCREATORBUG-20029)
      • Editing 3D content
        Double clicking on a 3D item causes Qt Quick Designer to launch 3D Studio with the right .uia file (QTCREATORBUG-20028)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              thohartm Thomas Hartmann
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes