Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

ThemeExclusiveItem Class Reference
[QtBaseModule]

The ThemeExclusiveItem class allows only one of its children to be active in a ThemedView. More...

    #include <ThemeExclusiveItem>

Inherits ThemeItem.

Public Functions

Additional Inherited Members


Detailed Description

The ThemeExclusiveItem class allows only one of its children to be active in a ThemedView.

The ThemeExclusiveItem class implements the exclusive element from the theme XML.

This is useful for a number of items where only one can logically be active/visible at a time. When a new child item becomes active, all other items are set to be inactive. If there are two child items, and one becomes inactive, the other is set to be active.

Normally you do not want to call this item's functions directly, but rather specify the relevant attributes and data for this item in the themed view XML.

See also exclusive element.


Member Function Documentation

ThemeExclusiveItem::ThemeExclusiveItem ( ThemeItem * parent, ThemedView * view, const ThemeAttributes & atts )

Constructs a ThemeExclusiveItem. parent, view and atts are passed to the base class constructor.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3