Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
pqQuickLaunchDialog Class Reference

A borderless pop-up dialog used to show actions that the user can launch. More...

#include <pqQuickLaunchDialog.h>

Inherits QDialog.

Public Slots

void accept () override
 Overridden to trigger the user selected action. More...
 

Public Member Functions

 pqQuickLaunchDialog (QWidget *parent=nullptr)
 
 ~pqQuickLaunchDialog () override
 
void setActions (const QList< QAction *> &actions)
 Set the actions to be launched using this dialog. More...
 
void addActions (const QList< QAction *> &actions)
 Add actions to be launched using this dialog. More...
 
bool quickApply ()
 check if quick apply was set when accepting the dialog More...
 

Protected Slots

void currentRowChanged (int)
 Called when the user chooses an item from available choices shown in the options list. More...
 

Protected Member Functions

bool eventFilter (QObject *watched, QEvent *event) override
 Overridden to capture key presses. More...
 
void updateSearch ()
 Given the user entered text, update the GUI. More...
 

Detailed Description

A borderless pop-up dialog used to show actions that the user can launch.

Provides search and quick apply capabilities.

Definition at line 16 of file pqQuickLaunchDialog.h.

Constructor & Destructor Documentation

◆ pqQuickLaunchDialog()

pqQuickLaunchDialog::pqQuickLaunchDialog ( QWidget *  parent = nullptr)

◆ ~pqQuickLaunchDialog()

pqQuickLaunchDialog::~pqQuickLaunchDialog ( )
override

Member Function Documentation

◆ setActions()

void pqQuickLaunchDialog::setActions ( const QList< QAction *> &  actions)

Set the actions to be launched using this dialog.

This clears all already added actions.

◆ addActions()

void pqQuickLaunchDialog::addActions ( const QList< QAction *> &  actions)

Add actions to be launched using this dialog.

This adds to already added actions.

◆ quickApply()

bool pqQuickLaunchDialog::quickApply ( )

check if quick apply was set when accepting the dialog

◆ accept

void pqQuickLaunchDialog::accept ( )
overrideslot

Overridden to trigger the user selected action.

◆ currentRowChanged

void pqQuickLaunchDialog::currentRowChanged ( int  )
protectedslot

Called when the user chooses an item from available choices shown in the options list.

◆ eventFilter()

bool pqQuickLaunchDialog::eventFilter ( QObject *  watched,
QEvent *  event 
)
overrideprotected

Overridden to capture key presses.

◆ updateSearch()

void pqQuickLaunchDialog::updateSearch ( )
protected

Given the user entered text, update the GUI.


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