http://www.aros.orgAROS-ExecTeam AROSAROS-Exec Archives

Menu principal

English

Česky

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska


News

Archive

Introduction

Status
Copies d'écran
Ports
License

Téléchargement


Documentation

Utilisateurs
Installation
Utilisation
Commandes Shell
Applications
FAQ
Développeurs
Contributions
Roadmap
Bug Tracker
Travailler avec Subversion
Compilation
Manuel de développement d'applications
Manuel de développement de Zune
Manuel de developpement du système
Manuel de Debogage
Référence
Spécifications
UI Style Guide
Documentation
Porting
Traduction
Résumés
Liens

Contact

Mailing lists
IRC channels

Crédits

Acknowledgements


Images

Développeurs
Développeurs ensemble

Sponsors

Référencement

Liens

SourceForge Logo

User Interface Style Guide

Avis

This document is not finished! If you want to help rectify this, please contact us.

Windows

Preferences

Preferences windows are similar in appearance to dialog windows, in that they have a row of buttons along the bottom and no close gadget in the title bar.

ui/images/windows-prefs-titlebar.png

Example of a preferences window title bar. Notice the absence of the close gadget.

Rationale

There is no close gadget because it's semantics would be ambiguous. In other words, it would not be clear to the user exactly what the side effect of closing the window is. Does it save the preferences or abandons all changes?

The following set of buttons are always present, positioned horizontally along the bottom of the window (in this order, from left to right):

Test
Applies the settings in the window so that they take effect immediately. Does not close the window.
Revert
Restores the settings in the window to the state they were in when the window was opened and applies them immediately. Does not close the window.
Save
Applies the settings in the window immediately and saves them permanently [1]. Closes the window. If it is not possible to save the settings permanently (eg. if the disk where they would be saved is read-only) this button is ghosted.
Use
Applies the settings in the window immediately and saves them temporarily (only for this session) [2]. Closes the window.
Cancel
Restores the settings in the window to the state they were in when the window was opened and applies them immediately. Closes the window.

Layout

The buttons are divided into two groups, with Test and Revert in one and Save, Use and Cancel in the other where the former group is aligned to the left, and the latter is aligned to the right. There is a space between the two groups to separate them visually [3]. All buttons have the same width, which should be as small as possible (when resizing, only the space between the groups should grow and not the buttons).

ui/images/windows-prefs-buttons.png

Example of the row of buttons in a preferences window.

[1]Saves both to ENVARC: and ENV:.
[2]Saves only to ENV:.
[3]Notice that all buttons in the left group do not close the window, while all buttons in the right group do close the window.

Copyright © 1995-2009, L'équipe de développement AROS. Tous droits réservés.
Amiga®, AmigaOS®, Workbench et Intuition sont des marques de Amiga Inc. Les autres marques appartiennent à leur propritaires respectifs.