GUI: various window titles
This commit is contained in:
parent
a309a96de9
commit
e14f36e36d
|
@ -11,7 +11,7 @@
|
|||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
<string>Arguments</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
|
||||
CPUDisassembly::CPUDisassembly(CPUWidget* parent) : Disassembly(parent)
|
||||
{
|
||||
setWindowTitle("Disassembly");
|
||||
|
||||
// Set specific widget handles
|
||||
mGoto = nullptr;
|
||||
mParentCPUWindow = parent;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
CPUInfoBox::CPUInfoBox(StdTable* parent) : StdTable(parent)
|
||||
{
|
||||
setWindowTitle("InfoBox");
|
||||
enableMultiSelection(false);
|
||||
setShowHeader(false);
|
||||
addColumnAt(0, "", true);
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
CPUMultiDump::CPUMultiDump(CPUDisassembly* disas, int nbCpuDumpTabs, QWidget* parent)
|
||||
: MHTabWidget(parent, true)
|
||||
{
|
||||
setWindowTitle("CPUMultiDump");
|
||||
mMaxCPUDumpTabs = nbCpuDumpTabs;
|
||||
mInitAllDumpTabs = false;
|
||||
|
||||
|
@ -15,7 +16,9 @@ CPUMultiDump::CPUMultiDump(CPUDisassembly* disas, int nbCpuDumpTabs, QWidget* pa
|
|||
CPUDump* cpuDump = new CPUDump(disas, this);
|
||||
cpuDump->loadColumnFromConfig(QString("CPUDump%1").arg(i + 1)); //TODO: needs a workaround because the columns change
|
||||
connect(cpuDump, SIGNAL(displayReferencesWidget()), this, SLOT(displayReferencesWidgetSlot()));
|
||||
this->addTabEx(cpuDump, DIcon("dump.png"), tr("Dump ") + QString::number(i + 1), QString("Dump ") + QString::number(i + 1));
|
||||
auto nativeTitle = QString("Dump ") + QString::number(i + 1);
|
||||
this->addTabEx(cpuDump, DIcon("dump.png"), tr("Dump ") + QString::number(i + 1), nativeTitle);
|
||||
cpuDump->setWindowTitle(nativeTitle);
|
||||
}
|
||||
|
||||
mCurrentCPUDump = dynamic_cast<CPUDump*>(currentWidget());
|
||||
|
@ -23,7 +26,9 @@ CPUMultiDump::CPUMultiDump(CPUDisassembly* disas, int nbCpuDumpTabs, QWidget* pa
|
|||
mWatch = new WatchView(this);
|
||||
|
||||
//mMaxCPUDumpTabs++;
|
||||
this->addTabEx(mWatch, DIcon("animal-dog.png"), tr("Watch ") + QString::number(1), QString("Watch 1"));
|
||||
auto nativeTitle = QString("Watch 1");
|
||||
this->addTabEx(mWatch, DIcon("animal-dog.png"), tr("Watch ") + QString::number(1), nativeTitle);
|
||||
mWatch->setWindowTitle(nativeTitle);
|
||||
mWatch->loadColumnFromConfig("Watch1");
|
||||
|
||||
connect(this, SIGNAL(currentChanged(int)), this, SLOT(updateCurrentTabSlot(int)));
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
CPUSideBar::CPUSideBar(CPUDisassembly* Ptr, QWidget* parent) : QAbstractScrollArea(parent)
|
||||
{
|
||||
setWindowTitle("SideBar");
|
||||
topVA = -1;
|
||||
selectedVA = -1;
|
||||
viewableRows = 0;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
CPUStack::CPUStack(CPUMultiDump* multiDump, QWidget* parent) : HexDump(parent)
|
||||
{
|
||||
setWindowTitle("Stack");
|
||||
setShowHeader(false);
|
||||
int charwidth = getCharWidth();
|
||||
ColumnDescriptor_t wColDesc;
|
||||
|
|
|
@ -178,6 +178,9 @@
|
|||
<addaction name="menuHelp"/>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="mainToolBar">
|
||||
<property name="windowTitle">
|
||||
<string>Toolbar</string>
|
||||
</property>
|
||||
<property name="movable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
@ -245,7 +248,7 @@
|
|||
</widget>
|
||||
<widget class="QToolBar" name="cmdBar">
|
||||
<property name="windowTitle">
|
||||
<string>toolBar</string>
|
||||
<string>CommandBar</string>
|
||||
</property>
|
||||
<property name="movable">
|
||||
<bool>false</bool>
|
||||
|
|
|
@ -447,6 +447,7 @@ static QAction* setupAction(const QString & text, RegistersView* this_object)
|
|||
|
||||
RegistersView::RegistersView(CPUWidget* parent, CPUMultiDump* multiDump) : QScrollArea(parent), mVScrollOffset(0), mParent(parent)
|
||||
{
|
||||
setWindowTitle("Registers");
|
||||
mChangeViewButton = NULL;
|
||||
switch(ConfigUint("Gui", "SIMDRegistersDisplayMode"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue