Reaction for application python start/stop trace. More...
#include <pqTraceReaction.h>
Public Member Functions | |
pqTraceReaction (QAction *parent, const char *start_trace_label="Start Trace", const char *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 |
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 46 of file pqTraceReaction.h.
pqTraceReaction::pqTraceReaction | ( | QAction * | parent, |
const char * | start_trace_label = "Start Trace" , |
||
const char * | stop_trace_label = "Stop Trace" |
||
) |
|
override |
void pqTraceReaction::start | ( | ) |
start tracing.
void pqTraceReaction::stop | ( | ) |
stop tracing.
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.
|
protectedvirtualslot |