Utils Namespace | Extending Qt Creator Manual

Extending Qt Creator Manual | Utils Namespace

Extending Qt Creator Manual 4.9.2

# Utils Namespace

Header: | #include <Utils>

## Classes

class | BasicSmallString
class | BasicSmallStringLiteral
class | BasicSmallStringVector
class | ExecuteOnDestruction
class | LineColumn
| Link
class | ScopedSwap
class | SizedArray
class | SmallStringView
class | TreeModel
class | TypedTreeItem
class | View

## Types

enum | ProgressIndicatorSize { Small, Medium, Large }

## Detailed Description

The Utils namespace contains a collection of utility classes and functions for use by all plugins.

## Classes

### class BasicSmallString

### class BasicSmallStringLiteral

### class BasicSmallStringVector

### class ExecuteOnDestruction

### class LineColumn

### class Link

### class ScopedSwap

### class SizedArray

### class SmallStringView

### class TreeModel

The TreeModel class is a convienience base class for models to use in a QTreeView. More...

### class TypedTreeItem

### class View

## Type Documentation

### enum Utils::ProgressIndicatorSize

Size of a progress indicator.

Constant | Value | Description
--- | --- | ---
`Utils::Small` | `0` | Small icon size. Useful for tool bars, status bars, rows in tree views, and so on.
`Utils::Medium` | `1` | Larger progress indicator useful for covering whole medium sized widgets.
`Utils::Large` | `2` | Very large progress indicator that can be used to cover large parts of a UI.

See also Utils::ProgressIndicator and Utils::ProgressIndicatorPainter.