1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-11 15:40:39 +00:00
OpenMW/apps/opencs/view/render/instancemovemode.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
558 B
C++
Raw Normal View History

2016-02-16 16:02:29 +01:00
#include "instancemovemode.hpp"
2022-10-19 19:02:00 +02:00
#include <QIcon>
#include <QPixmap>
#include <apps/opencs/view/widget/modebutton.hpp>
2024-04-25 11:57:43 +04:00
#include <components/misc/scalableicon.hpp>
2022-10-19 19:02:00 +02:00
class QWidget;
2016-02-16 16:02:29 +01:00
CSVRender::InstanceMoveMode::InstanceMoveMode(QWidget* parent)
2024-04-25 11:57:43 +04:00
: ModeButton(Misc::ScalableIcon::load(":scenetoolbar/transform-move"),
2016-02-16 16:02:29 +01:00
"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>",
2016-02-16 16:02:29 +01:00
parent)
{
}