Skip to content

What We Know About QComboBox

russ_hensel edited this page Mar 31, 2026 · 3 revisions
Table of Contents

Introduction

A QComboBox is a drop-down list box (also known as a combo box or DDL) used in GUI applications to let the user select one item from a list. Combo boxes may also support editing, allowing users to type in values that are not in the list.

By reading the docs we have discovered that a QComboBox may be populated by strings, and the string is identified either by its value or by its position in the list ( zero-indexed ), and ( this is the new part for us ) by any one of various QT models. So this topic is going to require more than one tab to cover QComboBox uses. A new model based tab is documented by What We Know About QComboBox with Model and the documentation for the text based box is at What We Know About QComboBox with Strings

Clone this wiki locally