API Documentation
Loading...
Searching...
No Matches
VisibleCommand Class Reference

#include <VisibleCommand.h>

Inheritance diagram for VisibleCommand:
[legend]
Collaboration diagram for VisibleCommand:
[legend]

Public Member Functions

 VisibleCommand (bool make_visible)
 
virtual void execute (DesignObjectLookup *lookup) override
 
String icon () const override
 
TranslatedString name () const override
 
- Public Member Functions inherited from DesignCommand
 DesignCommand ()
 
virtual ~DesignCommand ()
 
virtual bool canGroupWith (const DynamicPointer< DesignCommand > &)
 
virtual bool canCombineWith (const DynamicPointer< DesignCommand > &command)
 
virtual void combineWith (const DynamicPointer< DesignCommand > &command)
 
virtual bool isAsyncExecution () const
 
void setUndoRedoID (UUID undo_redo_group)
 
UUID undoRedoID () const
 

Protected Attributes

Buffer< UUIDm_models_to_toggle
 
bool m_make_visible
 
- Protected Attributes inherited from DesignCommand
UUID m_undo_redo_group
 

Additional Inherited Members

- Public Attributes inherited from DesignCommand
ProgressInfolog = nullptr
 
Time time = Constant<Time>::NaN
 
Buffer< UUIDtargets
 
UUID id
 
bool has_executed = false
 
bool is_undo = false
 
bool can_undo = true
 
bool update_project_modified = true
 

Constructor & Destructor Documentation

◆ VisibleCommand()

VisibleCommand ( bool make_visible)
inline

Member Function Documentation

◆ execute()

virtual void execute ( DesignObjectLookup * lookup)
inlineoverridevirtual

Reimplemented from DesignCommand.

◆ icon()

String icon ( ) const
inlineoverridevirtual

Implements DesignCommand.

◆ name()

TranslatedString name ( ) const
inlineoverridevirtual

Implements DesignCommand.

Member Data Documentation

◆ m_make_visible

bool m_make_visible
protected

◆ m_models_to_toggle

Buffer<UUID> m_models_to_toggle
protected

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