On this page

SearchField QML Type

A styled search input with a magnifying-glass icon and clear button. More...

Import Statement: import QtInterfaceFramework.ControlPanelHelper 1.0
Inherits:

Rectangle

Properties

Detailed Description

SearchField wraps a TextField with a search icon on the left and a clear button that appears when text is entered. It is used by InterfaceSelector and TopBar to filter interfaces and properties respectively.

Usage

SearchField {
    placeholderText: "Search properties..."
    onTextChanged: propertyList.filterText = text
}

Property Documentation

placeholderText : alias

This property holds the placeholder text shown when the input is empty.

text : alias

This property holds the current text in the search input.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.