svgui  1.9
ShowLayerCommand Class Reference

#include <ShowLayerCommand.h>

Inheritance diagram for ShowLayerCommand:
Collaboration diagram for ShowLayerCommand:

Public Member Functions

 ShowLayerCommand (View *view, Layer *layer, bool show, QString commandName)
 
void execute ()
 
void unexecute ()
 
QString getName () const
 

Protected Attributes

Viewm_view
 
Layerm_layer
 
bool m_show
 
QString m_name
 

Detailed Description

Definition at line 21 of file ShowLayerCommand.h.

Constructor & Destructor Documentation

◆ ShowLayerCommand()

ShowLayerCommand::ShowLayerCommand ( View view,
Layer layer,
bool  show,
QString  commandName 
)
inline

Definition at line 24 of file ShowLayerCommand.h.

Member Function Documentation

◆ execute()

void ShowLayerCommand::execute ( )
inline

Definition at line 26 of file ShowLayerCommand.h.

References m_layer, m_show, m_view, and Layer::showLayer().

◆ unexecute()

void ShowLayerCommand::unexecute ( )
inline

Definition at line 29 of file ShowLayerCommand.h.

References m_layer, m_show, m_view, and Layer::showLayer().

◆ getName()

QString ShowLayerCommand::getName ( ) const
inline

Definition at line 32 of file ShowLayerCommand.h.

References m_name.

Member Data Documentation

◆ m_view

View* ShowLayerCommand::m_view
protected

Definition at line 36 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

◆ m_layer

Layer* ShowLayerCommand::m_layer
protected

Definition at line 37 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

◆ m_show

bool ShowLayerCommand::m_show
protected

Definition at line 38 of file ShowLayerCommand.h.

Referenced by execute(), and unexecute().

◆ m_name

QString ShowLayerCommand::m_name
protected

Definition at line 39 of file ShowLayerCommand.h.

Referenced by getName().


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