|  | Home · All Classes · Modules

# QStyle.State Class Reference
[QtGui module]

### Methods

- __init__ (self, State)
- __init__ (self, int)
- __init__ (self)

### Special Methods

- State __and__ (self, int mask)
- int __bool__ (self)
- bool __eq__ (self, State f)
- State __iand__ (self, int mask)
- int __int__ (self)
- State __invert__ (self)
- State __ior__ (self, State f)
- State __ixor__ (self, State f)
- bool __ne__ (self, State f)
- State __or__ (self, State f)
- State __or__ (self, int f)
- State __xor__ (self, State f)
- State __xor__ (self, int f)

## Detailed Description

StateFlag may be used whenever State is expected.

## Method Documentation

### State.__init__ (self, State)

### State.__init__ (self, int)

### State.__init__ (self)

### State State.__and__ (self, int mask)

### int State.__bool__ (self)

### bool State.__eq__ (self, State f)

### State State.__iand__ (self, int mask)

### int State.__int__ (self)

### State State.__invert__ (self)

### State State.__ior__ (self, State f)

### State State.__ixor__ (self, State f)

### bool State.__ne__ (self, State f)

### State State.__or__ (self, State f)

### State State.__or__ (self, int f)

### State State.__xor__ (self, State f)

### State State.__xor__ (self, int f)