Version: 9.15.0
SUIT_ShortcutTreeItem Class Reference

#include <SUIT_ShortcutEditor.h>

Inheritance diagram for SUIT_ShortcutTreeItem:
Inheritance graph

Public Member Functions

 SUIT_ShortcutTreeItem (const std::shared_ptr< const SUIT_ShortcutItemAssets > theAssets, const QString &theLang)
 
void setLang (const QString &theLang)
 
const QString & moduleID () const
 
const QString & inModuleID () const
 
const QString & lastTokenOfID () const
 
bool isAction () const
 
bool isFolder () const
 
QString name () const
 
const QString & path () const
 
const QString & toolTip () const
 
QString getValue (SUIT_ShortcutTree::SortKey theKey) const
 
void setKeySequence (const QString &theKeySequence)
 
QString keySequence () const
 
void styleAsFolder (bool theIsFolder)
 
void styleAsKeySequenceModified (bool theIsModified)
 
void setExpanded (bool theVal)
 
bool isExpanded () const
 

Public Attributes

const std::shared_ptr< const SUIT_ShortcutItemAssetsmyAssets
 
bool myIsExpanded
 

Private Attributes

QString myPath
 
QString myToolTip
 

Constructor & Destructor Documentation

◆ SUIT_ShortcutTreeItem()

SUIT_ShortcutTreeItem::SUIT_ShortcutTreeItem ( const std::shared_ptr< const SUIT_ShortcutItemAssets theAssets,
const QString &  theLang 
)
Parameters
theAssetsmust not be nullptr.

References myAssets, setLang(), and styleAsFolder().

Member Function Documentation

◆ getValue()

◆ inModuleID()

const QString & SUIT_ShortcutTreeItem::inModuleID ( ) const

References myAssets.

◆ isAction()

bool SUIT_ShortcutTreeItem::isAction ( ) const

References myAssets.

◆ isExpanded()

bool SUIT_ShortcutTreeItem::isExpanded ( ) const

References myIsExpanded.

◆ isFolder()

bool SUIT_ShortcutTreeItem::isFolder ( ) const

References myAssets.

◆ keySequence()

QString SUIT_ShortcutTreeItem::keySequence ( ) const

References isAction().

◆ lastTokenOfID()

const QString & SUIT_ShortcutTreeItem::lastTokenOfID ( ) const

References myAssets.

◆ moduleID()

const QString & SUIT_ShortcutTreeItem::moduleID ( ) const

References myAssets.

◆ name()

QString SUIT_ShortcutTreeItem::name ( ) const

◆ path()

const QString & SUIT_ShortcutTreeItem::path ( ) const

References myPath.

◆ setExpanded()

void SUIT_ShortcutTreeItem::setExpanded ( bool  theVal)

References myIsExpanded.

◆ setKeySequence()

void SUIT_ShortcutTreeItem::setKeySequence ( const QString &  theKeySequence)

References isAction().

◆ setLang()

void SUIT_ShortcutTreeItem::setLang ( const QString &  theLang)

References isAction(), myAssets, myPath, and myToolTip.

◆ styleAsFolder()

void SUIT_ShortcutTreeItem::styleAsFolder ( bool  theIsFolder)

◆ styleAsKeySequenceModified()

void SUIT_ShortcutTreeItem::styleAsKeySequenceModified ( bool  theIsModified)

References isAction().

◆ toolTip()

const QString & SUIT_ShortcutTreeItem::toolTip ( ) const

References myToolTip.

Member Data Documentation

◆ myAssets

const std::shared_ptr<const SUIT_ShortcutItemAssets> SUIT_ShortcutTreeItem::myAssets

◆ myIsExpanded

bool SUIT_ShortcutTreeItem::myIsExpanded

◆ myPath

QString SUIT_ShortcutTreeItem::myPath
private

◆ myToolTip

QString SUIT_ShortcutTreeItem::myToolTip
private

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