#include <SUIT_FindActionDialog.h>
|
| | SUIT_FoundActionTree (SUIT_FindActionWidget *theParent, 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_FoundActionTree (const SUIT_FoundActionTree &)=delete |
| |
| SUIT_FoundActionTree & | operator= (const SUIT_FoundActionTree &)=delete |
| |
| virtual | ~SUIT_FoundActionTree ()=default |
| |
| void | updateItems (const std::map< QString, std::map< QString, SUIT_ActionSearcher::AssetsAndSearchData >> &theActionAssetsAndSD) |
| |
| void | sort (SUIT_FoundActionTree::SortKey theKey, Qt::SortOrder theOrder) |
| |
| void | keyPressEvent (QKeyEvent *theEvent) |
| |
◆ ColumnIdx
| Enumerator |
|---|
| Name | |
| ToolTip | |
| KeySequence | |
◆ SortKey
| Enumerator |
|---|
| MatchMetrics | |
| ID | |
| Name | |
| ToolTip | |
| KeySequence | |
◆ SUIT_FoundActionTree() [1/2]
| SUIT_FoundActionTree::SUIT_FoundActionTree |
( |
SUIT_FindActionWidget * |
theParent, |
|
|
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_FoundActionTree() [2/2]
◆ ~SUIT_FoundActionTree()
| virtual SUIT_FoundActionTree::~SUIT_FoundActionTree |
( |
| ) |
|
|
virtualdefault |
◆ createActionSetWithComparator()
◆ eventFilter()
| bool SUIT_FoundActionTree::eventFilter |
( |
QObject * |
theQObject, |
|
|
QEvent * |
theEvent |
|
) |
| |
|
protected |
◆ findModuleItem()
◆ getKeySequenceFromShortcutMgr()
| std::pair< QString, bool > SUIT_FoundActionTree::getKeySequenceFromShortcutMgr |
( |
const QString & |
theModuleID, |
|
|
const QString & |
theInModuleActionID |
|
) |
| |
|
static |
◆ keyPressEvent()
| void SUIT_FoundActionTree::keyPressEvent |
( |
QKeyEvent * |
theEvent | ) |
|
◆ onItemExecuted
| void SUIT_FoundActionTree::onItemExecuted |
( |
QTreeWidgetItem * |
theWidgetItem, |
|
|
int |
theColIdx |
|
) |
| |
|
privateslot |
◆ operator=()
◆ sort()
◆ updateItems()
References SUIT_FoundActionTreeAction::create(), createActionSetWithComparator(), SUIT_ShortcutMgr::currentLang(), SUIT_tools::distanceFromBegin(), findModuleItem(), SUIT_ShortcutMgr::get(), SUIT_ShortcutMgr::makeActionID(), SUIT_FoundActionTreeAction::matchMetrics(), myActionItemToolTip, myKeySequenceGetter, SUIT_FoundActionTreeItem::myModuleID, myModuleItemExpansionStates, myShowKeySequenceColumn, SUIT_FoundActionTreeModule::setAssets(), ShCutDbg(), and SUIT_FoundActionTreeItem::styleAsDimmed().
◆ DEFAULT_SORT_SCHEMA
◆ myActionItemToolTip
| const QString SUIT_FoundActionTree::myActionItemToolTip |
◆ myEnableItemsOfUnavailableActions
| const bool SUIT_FoundActionTree::myEnableItemsOfUnavailableActions |
◆ myKeySequenceGetter
| const std::function<std::pair<QString, bool>const QString&, const QString&)> SUIT_FoundActionTree::myKeySequenceGetter |
std::pair<QString, bool> getKeySequence(theModuleID, theInModuleActionID).
Returns true, if KeySequence column of an action item must be styled as modified.
◆ myModuleItemExpansionStates
| std::map<QString, bool> SUIT_FoundActionTree::myModuleItemExpansionStates |
|
private |
◆ myShowKeySequenceColumn
| const bool SUIT_FoundActionTree::myShowKeySequenceColumn |
◆ mySortKey
◆ mySortOrder
| Qt::SortOrder SUIT_FoundActionTree::mySortOrder |
|
private |
The documentation for this class was generated from the following files: