User:Andrew/LayoutPatterns/CommandPatterns: Difference between revisions

From KDE Wiki Sandbox
No edit summary
Line 1: Line 1:
__NOTOC_
__NOTOC__
==Purpose==
==Purpose==
Command patterns are determined by the command structure chosen for the application (simple, complex or very complex).  Commands are defined as any function performed by the application based on user input.  
Command patterns are determined by the command structure chosen for the application (simple, complex or very complex).  Commands are defined as any function performed by the application based on user input.  

Revision as of 03:25, 21 July 2014

Purpose

Command patterns are determined by the command structure chosen for the application (simple, complex or very complex). Commands are defined as any function performed by the application based on user input.

Guidelines

Patterns for a simple command structure

  • Use Menu Button when there are few globally applicable commands.
  • Use Context Menu or Context Panel for commands specific to selected content.
  • Commands are also exposed by direct manipulation of content. For plasmoids, all commands must be exposed by direct manipulation of content - no menu button, context menu, or context panel.


Examples

Audio/Music player, Image browser, Document viewer, Maps, Games, Contacts, Chat client, Video conference, Settings, Address book, Chat client, Terminal, Software installer, Calculator, plasmoids

Patterns for a complex command structure

  • Use Toolbar + Menu Button when it is not necessary to expose the root commands. Toolbar exposes frequently used commands.
  • Commands are also exposed by direct manipulation of content, context menus or a context panel.


Examples

Web browser, File manager, Text editor, Email, Calendar, Image editor, Archiver

Patterns for a very complex command structure

  • Use Menubar when the command structure is complex enough to compel exposing greater than 3 root commands.
  • Commands are also exposed by direct manipulation of content, toolbars, context menus or a context panel.


Examples

IDE, Text Editor(high-feature), Document editor(high-feature), Spreadsheet editor, Image editor(high-feature), Audio/video editor