1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-17 01:10:10 +00:00
OpenMW/apps/opencs/view/render/instancemovemode.cpp
2024-04-27 09:57:47 +04:00

21 lines
558 B
C++

#include "instancemovemode.hpp"
#include <QIcon>
#include <QPixmap>
#include <apps/opencs/view/widget/modebutton.hpp>
#include <components/misc/scalableicon.hpp>
class QWidget;
CSVRender::InstanceMoveMode::InstanceMoveMode(QWidget* parent)
: ModeButton(Misc::ScalableIcon::load(":scenetoolbar/transform-move"),
"Move selected instances"
"<ul><li>Use {scene-edit-primary} to move instances around freely</li>"
"<li>Use {scene-edit-secondary} to move instances around within the grid</li>"
"</ul>",
parent)
{
}