Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-1967

onscreeapp application

XMLWordPrintable

      I'm making an qt application named onscreenapp to help showing onscreen.
      The mainly design ideas are as below:

      • There are four type onscreen.
      	critical
      	exclamation
      	information
      	question
      
      • onscreen may have 0~3 buttons(no button onscreen only show 3 seconds).
      • when application want to show onscreen,it will call showWindow to request
        onscreenapp to show its onscreen.The arguments of showWindow is as below:
      {
      	"application_id": "onscreenapp",
      	"parameter": {
      		"title": "onscreen title",
      		"type": "critical/exclamation/question/information",
      		"contents": "message contents",
      		"buttons": ["button_name1", "button_name2", "button_name3"]
      	}
      }
      
      • In onscreenapp only can show one onscreen at the same time,so the last request onscreen will show.

      About the sequence of show/hide onscreen, please look at showOnscreen.svg.

      Sourcecode

        1. 01.jpg
          121 kB
        2. 02.jpg
          143 kB
        3. 03.jpg
          139 kB
        4. 04.jpg
          152 kB
        5. log1.txt
          483 kB
        6. log2.txt
          69 kB
        7. showOnscreen.png
          64 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            wangzhiqiang zhiqiang wang
            wangzhiqiang zhiqiang wang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: