Core Namespace

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

Header: #include <Core>

Namespaces

namespace FileIconProvider

Classes

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.

ConstantValueDescription
Core::FindBackward0x01Searches backwards.
Core::FindCaseSensitively0x02Considers case when searching.
Core::FindWholeWords0x04Finds only whole words.
Core::FindRegularExpression0x08Uses a regular epression as a search term.
Core::FindPreserveCase0x10Preserves the case when replacing search terms.

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