OpenWalnut  1.5.0dev
Public Slots | Public Member Functions | Protected Attributes | List of all members
WQtModuleOneToOneCombinerAction Class Reference

Implements a action which applies the specified combiners (of the specified group) if pressed. More...

#include <WQtModuleOneToOneCombinerAction.h>

+ Inheritance diagram for WQtModuleOneToOneCombinerAction:
+ Collaboration diagram for WQtModuleOneToOneCombinerAction:

Public Slots

void applyCombiner ()
 Gets called by the action if it was triggered. More...
 

Public Member Functions

 WQtModuleOneToOneCombinerAction (QWidget *parent, WIconManager *iconManager, std::shared_ptr< WModuleOneToOneCombiner > combiner, bool advancedText=false)
 Constructor creating a module application action. More...
 
virtual ~WQtModuleOneToOneCombinerAction ()
 destructor More...
 

Protected Attributes

std::shared_ptr< WModuleOneToOneCombinerm_combiner
 The combiner of this action. More...
 

Detailed Description

Implements a action which applies the specified combiners (of the specified group) if pressed.

Definition at line 40 of file WQtModuleOneToOneCombinerAction.h.

Constructor & Destructor Documentation

◆ WQtModuleOneToOneCombinerAction()

WQtModuleOneToOneCombinerAction::WQtModuleOneToOneCombinerAction ( QWidget *  parent,
WIconManager iconManager,
std::shared_ptr< WModuleOneToOneCombiner combiner,
bool  advancedText = false 
)

Constructor creating a module application action.

Parameters
parentthe parent
iconManagerthe icon manager to use
combinerthe apply combiner which gets applied when triggered
advancedTextif true a more complex text showing the used connectors is used instead of the plane target-module name

Definition at line 30 of file WQtModuleOneToOneCombinerAction.cpp.

References applyCombiner(), WIconManager::getIcon(), and m_combiner.

+ Here is the call graph for this function:

◆ ~WQtModuleOneToOneCombinerAction()

WQtModuleOneToOneCombinerAction::~WQtModuleOneToOneCombinerAction ( )
virtual

destructor

Definition at line 82 of file WQtModuleOneToOneCombinerAction.cpp.

Member Function Documentation

◆ applyCombiner

void WQtModuleOneToOneCombinerAction::applyCombiner ( )
slot

Gets called by the action if it was triggered.

Definition at line 86 of file WQtModuleOneToOneCombinerAction.cpp.

References m_combiner.

Referenced by WQtModuleOneToOneCombinerAction().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_combiner

std::shared_ptr< WModuleOneToOneCombiner > WQtModuleOneToOneCombinerAction::m_combiner
protected

The combiner of this action.

Definition at line 65 of file WQtModuleOneToOneCombinerAction.h.

Referenced by applyCombiner(), and WQtModuleOneToOneCombinerAction().


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