mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-19 09:55:40 +00:00
WIP string editor UI
This commit is contained in:
@@ -15,14 +15,6 @@ INodeEditor::INodeEditor(QWidget *pParent)
|
||||
, mRotateSpace(ETransformSpace::World)
|
||||
, mCloneState(eNotCloning)
|
||||
{
|
||||
// Create undo actions
|
||||
QAction *pUndoAction = mUndoStack.createUndoAction(this);
|
||||
QAction *pRedoAction = mUndoStack.createRedoAction(this);
|
||||
pUndoAction->setShortcut(QKeySequence::Undo);
|
||||
pRedoAction->setShortcut(QKeySequence::Redo);
|
||||
mUndoActions.push_back(pUndoAction);
|
||||
mUndoActions.push_back(pRedoAction);
|
||||
|
||||
// Create gizmo actions
|
||||
mGizmoActions.append(new QAction(QIcon(":/icons/SelectMode.png"), "Select Objects", this));
|
||||
mGizmoActions.append(new QAction(QIcon(":/icons/Translate.png"), "Translate", this));
|
||||
@@ -63,11 +55,6 @@ INodeEditor::~INodeEditor()
|
||||
delete mpSelection;
|
||||
}
|
||||
|
||||
QUndoStack* INodeEditor::UndoStack()
|
||||
{
|
||||
return &mUndoStack;
|
||||
}
|
||||
|
||||
CScene* INodeEditor::Scene()
|
||||
{
|
||||
return &mScene;
|
||||
|
||||
Reference in New Issue
Block a user