QComboBox
QComboBox is a widget that provides a selectable drop down menu
Example
import { QComboBox } from '@vixen-js/core';
const combobox = new QComboBox();combobox.addItems(["Item 1", "Item 2", "Item 3"]);
combobox.addEventListener("onCurrentTextChanged", (text) => { console.log(`Text Changed to: ${text}`);});
comboboxaddEventListener("onCurrentIndexChanged", (idx) => { console.log(`Index Changed to: ${idx}`);});
Learn more about QComboBox
in: https://doc.qt.io/qt-6/qcombobox.html