Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-90400

QtDataVisualization is namespaced

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta2
    • Fix Version/s: 6.1.0 Alpha
    • Component/s: Data Visualization
    • Labels:
      None
    • Commits:
      587d44e8077196ed4aa3df1484e69adcba2dc268 (qt/qtdatavis3d/dev)

      Description

      QtDataVisualization still has a dedicated namespace. QtCharts has already removed theirs
      "Remove charts namespace for Qt6" 227020b118fa38ada1d8bd579593dae61f6e3881 https://codereview.qt-project.org/c/qt/qtcharts/+/308900 .

      . Having the namespace results in annoying double namespacing in PySide such as <class 'PySide2.QtDataVisualization.QtDataVisualization.Q3DBars'>.

      In the case of any widgets, this makes it impossible to setup promotion in Designer to widgets in the namespace. Though the promotion bit may not apply to data visualization as it doesn't seem to have widgets.

      Are there any other modules with dedicated namespaces that should get cleaned up?

      This follows from PYSIDE-1474.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tokorpip Tomi Korpipää
              Reporter:
              altendky Kyle Altendorf
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes