- Extending Qt Creator Manual
- Core Namespace
- Extending Qt Creator Manual 6.0.0-beta1

# Core Namespace

The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of Qt Creator. More...

Header: | #include <Core>

## Namespaces

namespace | FileIconProvider

## Classes

struct | NavigationView

## Types

enum | FindFlag { FindBackward, FindCaseSensitively, FindWholeWords, FindRegularExpression, FindPreserveCase }
flags | FindFlags

## Detailed Description

## Namespaces

### namespace Core::FileIconProvider

Provides icons based on file suffixes with the ability to overwrite system icons for specific subtypes. The underlying QFileIconProvider can be used for QFileSystemModel.

Note: Registering overlay icons currently completely replaces the system icon and is therefore not recommended on platforms that have their own overlay icon handling (macOS and Windows).

Plugins can register custom overlay icons via registerIconOverlayForSuffix(), and retrieve icons via the icon() function.

## Classes

### class NavigationView

The NavigationView class is a C struct for wrapping a widget and a list of tool buttons. Wrapping the widget that is shown in the content area of the navigation widget and a list of tool buttons that is shown in the header above it. More...

## Type Documentation

### enum Core::FindFlag
flags Core::FindFlags

This enum holds the find flags.

Constant | Value | Description
--- | --- | ---
`Core::FindBackward` | `0x01` | Searches backwards.
`Core::FindCaseSensitively` | `0x02` | Considers case when searching.
`Core::FindWholeWords` | `0x04` | Finds only whole words.
`Core::FindRegularExpression` | `0x08` | Uses a regular epression as a search term.
`Core::FindPreserveCase` | `0x10` | Preserves the case when replacing search terms.

The FindFlags type is a typedef for QFlags<FindFlag>. It stores an OR combination of FindFlag values.