Play-/Source/ui_qt/DebugSupport/VariablesView.cpp
Jean-Philip Desjardins f7184f143e Rename some strings.
2023-08-30 10:21:25 -04:00

22 lines
766 B
C++

#include "VariablesView.h"
CVariablesView::CVariablesView(QMdiArea* parent)
: CTagsView(parent)
{
setWindowTitle("Variables");
{
Strings strings;
strings.newTagString = tr("New Variable");
strings.renameTagString = tr("Rename Variable");
strings.tagNameString = tr("New Variable Name:");
strings.tagAddressString = tr("New Variable Address:");
strings.deleteTagConfirmString = tr("Are you sure you want to delete this variable?");
strings.deleteModuleTagsConfirmString = tr("Are you sure you want to delete variables from module '%0'?");
SetStrings(strings);
}
}
void CVariablesView::SetContext(CMIPS* context, CBiosDebugInfoProvider* biosDebugInfoProvider)
{
CTagsView::SetContext(context, &context->m_Variables, biosDebugInfoProvider);
}