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

Toy Customiser Demo to Example

    XMLWordPrintable

Details

    • Epic
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None
    • Toy Customizer Example

    Description

      Styling 

      There different ways to style the application: 

      • Make a custom style (ToyStyle) to implement the controls 
      • Customize only the controls which are used in the example, like: 
        • QuteLabel 
        • QuteButton 

       

      Settings 

      Some information which are needed to be used in the next time running can be stored in the application settings. 

       

      View 

      The front-end implementations should be done in different views and components. The navigation and transition logic is: 

      Main→ToyGalleryPage→ToyConfirmPage→ToyCustomizePage [→PreviewPage] 

      Main 

      The main page is the page that the application window exists in. 

      Should include: 

      • The main layout of the application. 
      • Showcase view 
      • An option to start choosing the toy (move to ToyGalleryPage) 

      ToyShowcaseView 

      A view of introduction of toys which is visible as a welcome view when the application just started to run. 

      ToyGalleryPage 

      • This view shows the list of the toys. 
      • Each element includes the toy image (2D/3D) and a brief information, like the user rate and the cost. 
      • The user can select one. (moves to ToyConfirmPage) 

      ToyConfirmPage 

      • It shows the details about the chosen toy. 
      • The user can cancel the choice (moves back to the ToyGalleryPage) 
      • The user can confirm the choice (moves to ToyCustomizePage) 

      ToyCustomizePage 

      • Includes two views: 
        • ToyPreview: This view shows a preview of the chosen toy with the selected accessories 
        • ToyAccessoryView: This view shows the lists of items in different categories. 
      • Choosing an accessory will update the ToyPreview view 
      • The user can interact with the preview view to see the customized toy from different angles 
      • The preview view can be full size in the page and the user can resize it back. 
      • A button to confirm the order 

       

      Model 

      The data and resources for the view should be stored in a model (QAbstractItemModel). 

      • Toy model: Each toy includes: 
        • A 2D image 
        • Some information, e.g. cost, user rate, etc. 
        • A 3D object model  
      • Accessory model: The accessory model is list of categories that each category includes a list of items. Each item has: 
        • An image 
        • Some information, e.g. cost, user rate, etc. 
        • A 3D object model

       

      Accessibility 

      The application should respect to: 

      • Dark/Light color-scheme: The application could switch between dark and light modes. 
      • High-contrast: By enabling the high-contrast in the system settings the custom style should get updated to be high-contrast enough; e.g. the borders and some of the colors. 
      • Font size: By changing the font size in the system settings the texts in the application should get increased or decreased depending to the settings changes. 
      • Screen reader: When the screen reader is enabled in the system settings, the components (which are intended to be accessible) should be reported to the screen reader. 

       

      Documentation 

      Add a documentation for the Toy Customizer example to introduce the example and give some information about the features and the technologies which are used in the example. 

       

      Graphics & UI OKRs - Season 2/25

      Attachments

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

        Activity

          People

            mhqanbari MohammadHossein Qanbari
            mhqanbari MohammadHossein Qanbari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes