#include <SUIT_FindActionDialog.h>
|
| | SUIT_FindActionWidget (QWidget *theParent, const std::function< void(const QString &, const QString &)> theCallback, const QString &theActionItemToolTip, bool theEnableItemsOfUnavailableActions=false, bool theShowKeySequenceColumn=false, const std::function< std::pair< QString, bool >(const QString &, const QString &)> &theKeySequenceGetter=std::function< std::pair< QString, bool >(const QString &, const QString &)>()) |
| |
| | SUIT_FindActionWidget (const SUIT_FindActionWidget &)=delete |
| |
| SUIT_FindActionWidget & | operator= (const SUIT_FindActionWidget &)=delete |
| |
| virtual | ~SUIT_FindActionWidget ()=default |
| |
| void | showOptions (bool theToShow) |
| |
| void | setIncludedModuleIDs (const std::set< QString > &theModuleIDs={}, bool doNotUpdateResults=false) |
| |
| const std::set< QString > & | getIncludedModuleIDs () const |
| |
| void | updateUI () |
| | No need to call it, if expected search result changes are triggered by interaction with subwidgets. More...
|
| |
| void | setColumnWidth (int theColumnIdx, int theColumnWidth) |
| |
|
| const std::function< void(const QString &, const QString &)> | myCallback |
| | void callback(theModuleID, theInModuleActionID) More...
|
| |
◆ SUIT_FindActionWidget() [1/2]
| SUIT_FindActionWidget::SUIT_FindActionWidget |
( |
QWidget * |
theParent, |
|
|
const std::function< void(const QString &, const QString &)> |
theCallback, |
|
|
const QString & |
theActionItemToolTip, |
|
|
bool |
theEnableItemsOfUnavailableActions = false, |
|
|
bool |
theShowKeySequenceColumn = false, |
|
|
const std::function< std::pair< QString, bool >(const QString &, const QString &)> & |
theKeySequenceGetter = std::function<std::pair<QString, bool>(const QString&, const QString&)>() |
|
) |
| |
References SUIT_ActionSearcher::includeDisabledActions(), myActionSearcher, myFoundActionsTree, myIncludeInactiveModulesCB, myIncludeUnavailableActionsCB, myQueryLineEdit, onQueryChanged(), onSearchOptionInactiveModulesChanged(), onSearchOptionUnavailableActionsChanged(), SUIT_ActionSearcher::setFieldsToMatch(), and SUIT_ActionSearcher::setKeySequenceGetter().
◆ SUIT_FindActionWidget() [2/2]
◆ ~SUIT_FindActionWidget()
| virtual SUIT_FindActionWidget::~SUIT_FindActionWidget |
( |
| ) |
|
|
virtualdefault |
◆ getIncludedModuleIDs()
| const std::set< QString > & SUIT_FindActionWidget::getIncludedModuleIDs |
( |
| ) |
const |
◆ onQueryChanged
| void SUIT_FindActionWidget::onQueryChanged |
( |
const QString & |
theKeyword | ) |
|
|
privateslot |
◆ onSearchOptionInactiveModulesChanged
| void SUIT_FindActionWidget::onSearchOptionInactiveModulesChanged |
( |
int |
theState | ) |
|
|
privateslot |
◆ onSearchOptionUnavailableActionsChanged
| void SUIT_FindActionWidget::onSearchOptionUnavailableActionsChanged |
( |
int |
theState | ) |
|
|
privateslot |
◆ operator=()
◆ setColumnWidth()
| void SUIT_FindActionWidget::setColumnWidth |
( |
int |
theColumnIdx, |
|
|
int |
theColumnWidth |
|
) |
| |
◆ setIncludedModuleIDs()
| void SUIT_FindActionWidget::setIncludedModuleIDs |
( |
const std::set< QString > & |
theModuleIDs = {}, |
|
|
bool |
doNotUpdateResults = false |
|
) |
| |
◆ showOptions()
| void SUIT_FindActionWidget::showOptions |
( |
bool |
theToShow | ) |
|
◆ updateUI()
| void SUIT_FindActionWidget::updateUI |
( |
| ) |
|
◆ myActionSearcher
◆ myCallback
| const std::function<void(const QString&, const QString&)> SUIT_FindActionWidget::myCallback |
void callback(theModuleID, theInModuleActionID)
◆ myFoundActionsTree
◆ myIncludedModuleIDs
| std::set<QString> SUIT_FindActionWidget::myIncludedModuleIDs |
|
private |
◆ myIncludeInactiveModulesCB
| QCheckBox* SUIT_FindActionWidget::myIncludeInactiveModulesCB |
|
private |
◆ myIncludeUnavailableActionsCB
| QCheckBox* SUIT_FindActionWidget::myIncludeUnavailableActionsCB |
|
private |
◆ myQueryLineEdit
| QLineEdit* SUIT_FindActionWidget::myQueryLineEdit |
|
private |
The documentation for this class was generated from the following files: