JS8Call-Improved master
Loading...
Searching...
No Matches
LazyFillComboBox Class Reference

QComboBox derivative that notifies when its popup is shown or hidden. More...

#include <LazyFillComboBox.h>

Inheritance diagram for LazyFillComboBox:
Collaboration diagram for LazyFillComboBox:

Public Member Functions

Q_SIGNAL void about_to_show_popup ()
 Emitted immediately before the popup is shown.
Q_SIGNAL void popup_hidden ()
 Emitted after the popup has been hidden.
 LazyFillComboBox (QWidget *parent=nullptr)
 Construct a LazyFillComboBox.
void showPopup () override
 Override to emit about_to_show_popup() before showing.
void hidePopup () override
 Override to emit popup_hidden() after hiding the popup.

Detailed Description

QComboBox derivative that notifies when its popup is shown or hidden.

The widget emits about_to_show_popup() before the popup is displayed and popup_hidden() after the popup is closed. This is useful for lazy-populating the list contents immediately before display.

Constructor & Destructor Documentation

◆ LazyFillComboBox()

LazyFillComboBox::LazyFillComboBox ( QWidget * parent = nullptr)
inlineexplicit

Construct a LazyFillComboBox.

Parameters
parentOptional parent widget.
Here is the caller graph for this function:

The documentation for this class was generated from the following file: