LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
LC::ActionInfo Struct Reference

Describes an action exposed in shortcut manager. More...

#include "ihaveshortcuts.h"

+ Collaboration diagram for LC::ActionInfo:

Public Member Functions

 ActionInfo ()
 Default-constructs an action info. More...
 
 ActionInfo (const QString &uvt, const QKeySequence &seq, const QIcon &icon)
 Constructs an action info. More...
 
 ActionInfo (const QString &uvt, const QKeySequences_t &seqs, const QIcon &icon)
 Constructs an action info. More...
 

Public Attributes

QString UserVisibleText_
 User-visible name of the action. More...
 
QKeySequences_t Seqs_
 List of key sequences for this action. More...
 
QIcon Icon_
 Icon of the action. More...
 

Detailed Description

Describes an action exposed in shortcut manager.

This structure contains information about the action that could be handled by the shortcut manager, like action icon, default key sequences and human-readable description text.

Definition at line 31 of file ihaveshortcuts.h.

Constructor & Destructor Documentation

◆ ActionInfo() [1/3]

LC::ActionInfo::ActionInfo ( )
inline

Default-constructs an action info.

Definition at line 42 of file ihaveshortcuts.h.

◆ ActionInfo() [2/3]

LC::ActionInfo::ActionInfo ( const QString &  uvt,
const QKeySequence &  seq,
const QIcon &  icon 
)
inline

Constructs an action info.

Constructs an info object for the given user-visible text uvt, default key sequence seq and action icon icon.

Definition at line 52 of file ihaveshortcuts.h.

References Seqs_.

◆ ActionInfo() [3/3]

LC::ActionInfo::ActionInfo ( const QString &  uvt,
const QKeySequences_t seqs,
const QIcon &  icon 
)
inline

Constructs an action info.

Constructs an info object for the given user-visible text uvt, default key sequence list seqs and action icon icon.

Definition at line 67 of file ihaveshortcuts.h.

Member Data Documentation

◆ Icon_

QIcon LC::ActionInfo::Icon_

Icon of the action.

Definition at line 38 of file ihaveshortcuts.h.

◆ Seqs_

QKeySequences_t LC::ActionInfo::Seqs_

List of key sequences for this action.

Definition at line 36 of file ihaveshortcuts.h.

Referenced by ActionInfo().

◆ UserVisibleText_

QString LC::ActionInfo::UserVisibleText_

User-visible name of the action.

Definition at line 34 of file ihaveshortcuts.h.


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