1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 20:23:53 +00:00
openmw/apps/opencs/view/render/instancemovemode.cpp

19 lines
503 B
C++
Raw Normal View History

2016-02-16 15:02:29 +00:00
#include "instancemovemode.hpp"
2022-10-19 17:02:00 +00:00
#include <QIcon>
#include <QPixmap>
#include <apps/opencs/view/widget/modebutton.hpp>
class QWidget;
2022-09-22 18:26:05 +00:00
CSVRender::InstanceMoveMode::InstanceMoveMode(QWidget* parent)
: ModeButton(QIcon(QPixmap(":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)
{
}