Skip to main content

class Command

Source

Filterable command list. Item data is returned when a command is activated.

Inherits from QWidget

Functions​

addItem​

public QListWidgetItem & addItem(const QString & label, const QVariant & data, const QStringList & keywords)

list​

public QListWidget & list()

Source

Command​

public Command(QWidget * parent)

addGroup​

public void addGroup(const QString & label)
public Input & search()

Source

setEmptyText​

public void setEmptyText(const QString & text)

triggered​

public void triggered(const QVariant & data)

eventFilter​

protected bool eventFilter(QObject * , QEvent * )

changeEvent​

protected void changeEvent(QEvent * )