Sub-categories

Las Vegas, San Francisco, Los Angeles, and California are all located in USA. Furthermore, San Francisco and Los Angeles are located in California.

Instead of specifying for each and every image from San Francisco, that it is in San Francisco, and in California, and in USA, you may instead tell KPhotoAlbum that San Francisco, and Los Angeles are in California, and that California among others are in USA. Doing so the browser (see Chapter 3, Browsing) will offer you an item for USA, and an item for California in addition to all your normal items. Selecting California, you will see all images from San Francisco, Los Angeles, etc.

In Figure 2.4, “Browser showing USA as a super category” you can see a browser window, containing USA as a super category. To indicate to you that this is a group, a special icon is used.

Figure 2.4. Browser showing USA as a super category

Browser showing USA as a super category

In the context menu for the annotation dialog it is possible to add an item to an existing or new super or sub category. In addition you may simply drag an item to a category to make it a sub category of that item. Notice this requires that you are currently sorting your categories alphabetically. See Figure 2.5, “Categories shown in alphabetical view of the annotation dialog”.

Figure 2.5. Categories shown in alphabetical view of the annotation dialog

Categories shown in alphabetical view of the annotation dialog