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

Improve the context menu layout

    XMLWordPrintable

Details

    • Epic
    • Resolution: Done
    • P2: Important
    • QDS 4.0
    • None
    • User Experience
    • None
    • QDS Improve context menu layout

    Description

      We have a new concept for the layout of the context menus.

      The layout is mostly controlled by constants and prorities.

      componentcore_constants.h
      
      
      
      const char selectionCategory[] = "Selection";
      const char connectionsCategory[] = "Connections";
      const char arrangeCategory[] = "Arrange";
      const char qmlPreviewCategory[] = "QmlPreview";
      const char editCategory[] = "Edit";
      const char anchorsCategory[] = "Anchors";
      const char positionCategory[] = "Position";
      const char groupCategory[] = "Group";
      const char layoutCategory[] = "Layout";
      const char flowCategory[] = "Flow";
      const char flowEffectCategory[] = "FlowEffect";
      const char flowConnectionCategory[] = "FlowConnection";
      const char stackedContainerCategory[] = "StackedContainer";
      const char genericToolBarCategory[] = "GenericToolBar";
      const char eventListCategory[] = "QmlEventList";
      
      
      
      
      const int priorityFirst = 280;
      const int prioritySelectionCategory = 220;
      const int priorityConnectionsCategory = 210;
      const int priorityQmlPreviewCategory = 200;
      const int priorityStackCategory = 180;
      const int priorityEditCategory = 160;
      const int priorityAnchorsCategory = 140;
      const int priorityFlowCategory = 240;
      const int priorityGroupCategory = 140;
      const int priorityPositionCategory = 130;
      const int priorityLayoutCategory = 120;
      const int priorityStackedContainerCategory = priorityLayoutCategory;
      const int priorityEventListCategory = 105;
      const int priorityTopLevelSeperator = 100;
      const int priorityCustomActions = 80;
      const int priorityRefactoring = 60;
      const int priorityGoIntoComponent = 40;
      const int priorityGenericToolBar = 50;
      const int priorityLast = 60;
      

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          208 kB
        2. screenshot-2.png
          screenshot-2.png
          86 kB

        Issue Links

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

          Activity

            People

              brook_cronin_qt Brook Cronin
              thohartm Thomas Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes