Public Member Functions | Protected Slots | Protected Member Functions | List of all members
pqTraceReaction Class Reference

Reaction for application python start/stop trace. More...

#include <pqTraceReaction.h>

Inheritance diagram for pqTraceReaction:
Inheritance graph
[legend]
Collaboration diagram for pqTraceReaction:
Collaboration graph
[legend]

Public Member Functions

 pqTraceReaction (QAction *parent, QString start_trace_label="Start Trace", QString stop_trace_label="Stop Trace")
 
 ~pqTraceReaction () override
 
void start ()
 start tracing. More...
 
void stop ()
 stop tracing. More...
 
- Public Member Functions inherited from pqReaction
 pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection)
 Constructor. More...
 
 ~pqReaction () override
 
QAction * parentAction () const
 Provides access to the parent action. More...
 

Protected Slots

virtual void updateTrace ()
 
- Protected Slots inherited from pqReaction
virtual void updateEnableState ()
 
virtual void updateMasterEnableState (bool)
 

Protected Member Functions

void onTriggered () override
 Called when the action is triggered. More...
 

Additional Inherited Members

- Protected Attributes inherited from pqReaction
bool IsMaster
 

Detailed Description

Reaction for application python start/stop trace.

This reaction will change the label on the QAction to reflect whether the trace is started or stopped.

Definition at line 18 of file pqTraceReaction.h.

Constructor & Destructor Documentation

◆ pqTraceReaction()

pqTraceReaction::pqTraceReaction ( QAction *  parent,
QString  start_trace_label = "Start Trace",
QString  stop_trace_label = "Stop Trace" 
)

◆ ~pqTraceReaction()

pqTraceReaction::~pqTraceReaction ( )
override

Member Function Documentation

◆ start()

void pqTraceReaction::start ( )

start tracing.

◆ stop()

void pqTraceReaction::stop ( )

stop tracing.

◆ onTriggered()

void pqTraceReaction::onTriggered ( )
overrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.

◆ updateTrace

virtual void pqTraceReaction::updateTrace ( )
protectedvirtualslot

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