3#include <NDEVR/DesignCommand.h>
4#include <NDEVR/DesignObjectLookup.h>
5#include <NDEVR/TranslatedString.h>
6#include <NDEVR/Translator.h>
71 return _t(
"Invisible");
#define _t(english_string)
Definition Translator.h:87
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition DesignCommand.h:46
bool is_undo
Definition DesignCommand.h:65
Buffer< UUID > targets
Definition DesignCommand.h:62
bool isValid() const
Definition DesignObject.h:362
UUID uuid() const
Definition DesignObject.cpp:533
t_type getProperty(DesignProperty property) const
Definition DesignObject.h:263
@ e_3D_visible
Definition DesignObject.h:110
Definition DesignObjectLookup.h:61
Model modelOrLayer(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1674
const void * lockPtr() const
Definition DesignObjectLookup.cpp:1027
Model model(const UUID &id, bool allow_deleted=false) const
Definition DesignObjectLookup.cpp:1683
bool hasDirectLayer() const
Definition Model.cpp:2338
Model getParent() const
Definition Model.cpp:2057
bool isVisible() const
Definition Model.cpp:1149
Model getLayer() const
Definition Model.cpp:2342
void updateVisible(bool is_visible)
Definition Model.cpp:751
Definition TranslatedString.h:9
Definition VisibleCommand.h:10
virtual void execute(DesignObjectLookup *lookup) override
Definition VisibleCommand.h:16
TranslatedString name() const override
Definition VisibleCommand.h:66
VisibleCommand(bool make_visible)
Definition VisibleCommand.h:12
Buffer< UUID > m_models_to_toggle
Definition VisibleCommand.h:74
bool m_make_visible
Definition VisibleCommand.h:75
String icon() const override
Definition VisibleCommand.h:59
QAction * make_visible(nullptr)