Add more tool tips to main window
This commit is contained in:
parent
b31cf786cb
commit
61507831bb
|
@ -263,6 +263,7 @@ MainWindow::MainWindow(QWidget* parent)
|
|||
|
||||
// Setup signals/slots
|
||||
connect(mCmdLineEdit, SIGNAL(returnPressed()), this, SLOT(executeCommand()));
|
||||
makeCommandAction(ui->actionRestartAdmin, "restartadmin");
|
||||
makeCommandAction(ui->actionStepOver, "StepOver");
|
||||
makeCommandAction(ui->actionStepInto, "StepInto");
|
||||
connect(ui->actionCommand, SIGNAL(triggered()), this, SLOT(setFocusToCommandBar()));
|
||||
|
@ -331,11 +332,11 @@ MainWindow::MainWindow(QWidget* parent)
|
|||
connect(ui->actionNotes, SIGNAL(triggered()), this, SLOT(displayNotesWidget()));
|
||||
connect(ui->actionHandles, SIGNAL(triggered()), this, SLOT(displayHandlesWidget()));
|
||||
connect(ui->actionGraph, SIGNAL(triggered()), this, SLOT(displayGraphWidget()));
|
||||
connect(ui->actionPreviousTab, SIGNAL(triggered()), this, SLOT(displayPreviousTab()));
|
||||
connect(ui->actionNextTab, SIGNAL(triggered()), this, SLOT(displayNextTab()));
|
||||
connect(ui->actionPreviousView, SIGNAL(triggered()), this, SLOT(displayPreviousView()));
|
||||
connect(ui->actionNextView, SIGNAL(triggered()), this, SLOT(displayNextView()));
|
||||
connect(ui->actionHideTab, SIGNAL(triggered()), this, SLOT(hideTab()));
|
||||
connect(ui->actionPreviousTab, SIGNAL(triggered()), mTabWidget, SLOT(showPreviousTab()));
|
||||
connect(ui->actionNextTab, SIGNAL(triggered()), mTabWidget, SLOT(showNextTab()));
|
||||
connect(ui->actionPreviousView, SIGNAL(triggered()), mTabWidget, SLOT(showPreviousView()));
|
||||
connect(ui->actionNextView, SIGNAL(triggered()), mTabWidget, SLOT(showNextView()));
|
||||
connect(ui->actionHideTab, SIGNAL(triggered()), mTabWidget, SLOT(deleteCurrentTab()));
|
||||
makeCommandAction(ui->actionStepIntoSource, "TraceIntoConditional src.line(cip) && !src.disp(cip)");
|
||||
makeCommandAction(ui->actionStepOverSource, "TraceOverConditional src.line(cip) && !src.disp(cip)");
|
||||
makeCommandAction(ui->actionseStepInto, "seStepInto");
|
||||
|
@ -1168,31 +1169,6 @@ void MainWindow::displayGraphWidget()
|
|||
mCpuWidget->setGraphFocus();
|
||||
}
|
||||
|
||||
void MainWindow::displayPreviousTab()
|
||||
{
|
||||
mTabWidget->showPreviousTab();
|
||||
}
|
||||
|
||||
void MainWindow::displayNextTab()
|
||||
{
|
||||
mTabWidget->showNextTab();
|
||||
}
|
||||
|
||||
void MainWindow::displayPreviousView()
|
||||
{
|
||||
mTabWidget->showPreviousView();
|
||||
}
|
||||
|
||||
void MainWindow::displayNextView()
|
||||
{
|
||||
mTabWidget->showNextView();
|
||||
}
|
||||
|
||||
void MainWindow::hideTab()
|
||||
{
|
||||
mTabWidget->deleteCurrentTab();
|
||||
}
|
||||
|
||||
void MainWindow::openSettings()
|
||||
{
|
||||
SettingsDialog settings(this);
|
||||
|
@ -2346,11 +2322,6 @@ void MainWindow::onMenuCustomized()
|
|||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_actionRestartAdmin_triggered()
|
||||
{
|
||||
DbgCmdExec("restartadmin");
|
||||
}
|
||||
|
||||
void MainWindow::on_actionPlugins_triggered()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("http://plugins.x64dbg.com"));
|
||||
|
|
|
@ -91,11 +91,6 @@ public slots:
|
|||
void displayVariables();
|
||||
void displayGraphWidget();
|
||||
void displayRunTrace();
|
||||
void displayPreviousTab();
|
||||
void displayNextTab();
|
||||
void displayPreviousView();
|
||||
void displayNextView();
|
||||
void hideTab();
|
||||
void openSettings();
|
||||
void openAppearance();
|
||||
void openCalculator();
|
||||
|
@ -283,7 +278,6 @@ private slots:
|
|||
void on_actionImportSettings_triggered();
|
||||
void on_actionImportdatabase_triggered();
|
||||
void on_actionExportdatabase_triggered();
|
||||
void on_actionRestartAdmin_triggered();
|
||||
void on_actionPlugins_triggered();
|
||||
void on_actionCheckUpdates_triggered();
|
||||
void on_actionDefaultTheme_triggered();
|
||||
|
|
|
@ -329,6 +329,9 @@
|
|||
<property name="text">
|
||||
<string>E&xit</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Exit x64dbg.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRun">
|
||||
<property name="icon">
|
||||
|
@ -338,6 +341,9 @@
|
|||
<property name="text">
|
||||
<string>&Run</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Run the debuggee.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPause">
|
||||
<property name="icon">
|
||||
|
@ -347,6 +353,9 @@
|
|||
<property name="text">
|
||||
<string>&Pause</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Pause the execution of debuggee to debug it, or stop animate into/animate over.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRestart">
|
||||
<property name="icon">
|
||||
|
@ -368,6 +377,9 @@
|
|||
<property name="text">
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Terminate the debuggee and stop debugging.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionStepInto">
|
||||
<property name="icon">
|
||||
|
@ -413,6 +425,9 @@
|
|||
<property name="text">
|
||||
<string>&Memory Map</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Memory Map tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionLog">
|
||||
<property name="icon">
|
||||
|
@ -422,6 +437,9 @@
|
|||
<property name="text">
|
||||
<string>&Log Window</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Log tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAbout">
|
||||
<property name="icon">
|
||||
|
@ -449,6 +467,9 @@
|
|||
<property name="text">
|
||||
<string>&Breakpoints</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Breakpoints tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actioneStepInto">
|
||||
<property name="icon">
|
||||
|
@ -476,6 +497,9 @@
|
|||
<property name="text">
|
||||
<string>Run (pass exceptions)</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Run the debuggee and pass all exceptions to the debuggee without pausing.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actioneRtr">
|
||||
<property name="icon">
|
||||
|
@ -497,6 +521,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Script</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Script tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRunSelection">
|
||||
<property name="icon">
|
||||
|
@ -509,6 +536,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Run until selection</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Put a breakpoint on selection and run the debuggee.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCpu">
|
||||
<property name="icon">
|
||||
|
@ -521,6 +551,9 @@
|
|||
<property name="toolTip">
|
||||
<string>CPU</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the CPU tab to display the disassembly.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSymbolInfo">
|
||||
<property name="icon">
|
||||
|
@ -533,6 +566,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Symbol Info</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Symbols tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionReferences">
|
||||
<property name="icon">
|
||||
|
@ -545,6 +581,9 @@
|
|||
<property name="toolTip">
|
||||
<string>References</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the References tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionThreads">
|
||||
<property name="icon">
|
||||
|
@ -557,6 +596,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Threads</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Threads tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSettings">
|
||||
<property name="icon">
|
||||
|
@ -567,7 +609,10 @@
|
|||
<string>&Preferences</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Settings</string>
|
||||
<string>Preferences</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Opem the Preferences dialog.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionStrings">
|
||||
|
@ -590,6 +635,9 @@
|
|||
<property name="text">
|
||||
<string>&Appearance</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Open the Appearance dialog to adjust color and font settings.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCalls">
|
||||
<property name="icon">
|
||||
|
@ -614,6 +662,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Patches</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Open the patch dialog.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionComments">
|
||||
<property name="icon">
|
||||
|
@ -671,6 +722,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Call Stack</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Call Stack tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionShortcuts">
|
||||
<property name="icon">
|
||||
|
@ -701,6 +755,9 @@
|
|||
<property name="text">
|
||||
<string>Calculator</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Open the Calculator dialog.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAttach">
|
||||
<property name="icon">
|
||||
|
@ -713,6 +770,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Attach</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Attach the debugger to a process to debug it.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDetach">
|
||||
<property name="icon">
|
||||
|
@ -725,6 +785,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Detach</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Detach from the debuggee so that it continues running without being debugged.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionChangeCommandLine">
|
||||
<property name="icon">
|
||||
|
@ -734,6 +797,9 @@
|
|||
<property name="text">
|
||||
<string>Change Command &Line</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Set the command line of the debuggee.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSkipNextInstruction">
|
||||
<property name="icon">
|
||||
|
@ -785,6 +851,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Source</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Source tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionManual">
|
||||
<property name="icon">
|
||||
|
@ -827,6 +896,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Hide debugger (PEB)</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Modifies the PEB to hide debugger.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionReloadStylesheet">
|
||||
<property name="icon">
|
||||
|
@ -839,6 +911,9 @@
|
|||
<property name="toolTip">
|
||||
<string>Reload style.css</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Read style.css from disk to apply theme changes.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNotes">
|
||||
<property name="icon">
|
||||
|
@ -848,6 +923,9 @@
|
|||
<property name="text">
|
||||
<string>Notes</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Notes tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionHandles">
|
||||
<property name="icon">
|
||||
|
@ -857,6 +935,9 @@
|
|||
<property name="text">
|
||||
<string>Handles</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Handles tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionTocnd">
|
||||
<property name="icon">
|
||||
|
@ -1025,6 +1106,9 @@
|
|||
<property name="text">
|
||||
<string>&Graph</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the CPU tab and switch to Graph mode.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionseStepInto">
|
||||
<property name="icon">
|
||||
|
@ -1052,6 +1136,9 @@
|
|||
<property name="text">
|
||||
<string>Run (swallow exception)</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Run the debuggee and ignore all exceptions so the debuggee will not process the exception.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionBlog">
|
||||
<property name="icon">
|
||||
|
@ -1097,6 +1184,9 @@
|
|||
<property name="text">
|
||||
<string>System breakpoint scripts</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Set the script file to run automatically when the system breakpoint is reached.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionImportSettings">
|
||||
<property name="icon">
|
||||
|
@ -1124,6 +1214,9 @@
|
|||
<property name="text">
|
||||
<string>&Import database</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Open an external database file to import data.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExportdatabase">
|
||||
<property name="icon">
|
||||
|
@ -1196,6 +1289,9 @@
|
|||
<property name="text">
|
||||
<string>Restart as Admin</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Restart x64dbg under Administrator priviledge.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPlugins">
|
||||
<property name="icon">
|
||||
|
@ -1214,6 +1310,9 @@
|
|||
<property name="text">
|
||||
<string>Trace</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Trace tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionModules">
|
||||
<property name="icon">
|
||||
|
@ -1223,6 +1322,9 @@
|
|||
<property name="text">
|
||||
<string>Modules</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Show the Symbols tab. Note that the Modules list is in the symbols tab.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Theme">
|
||||
<property name="text">
|
||||
|
@ -1242,6 +1344,9 @@
|
|||
<property name="text">
|
||||
<string>&Save database</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Save all data. The database will be automatically saved when debugging is stopped.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDbload">
|
||||
<property name="icon">
|
||||
|
@ -1251,6 +1356,9 @@
|
|||
<property name="text">
|
||||
<string>Re&load database</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Discard all modifications and read all data from disk.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDbrecovery">
|
||||
<property name="icon">
|
||||
|
@ -1260,6 +1368,9 @@
|
|||
<property name="text">
|
||||
<string>&Restore backup database</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Read data from the backup database to recover from database corruption.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDbclear">
|
||||
<property name="icon">
|
||||
|
@ -1269,6 +1380,9 @@
|
|||
<property name="text">
|
||||
<string>&Clear database</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string>Clear all data.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAbout_Qt">
|
||||
<property name="text">
|
||||
|
|
|
@ -30,11 +30,6 @@ public:
|
|||
|
||||
int addTabEx(QWidget* widget, const QIcon & icon, const QString & label, const QString & nativeName);
|
||||
QString getNativeName(int index);
|
||||
void showPreviousTab();
|
||||
void showNextTab();
|
||||
void showPreviousView();
|
||||
void showNextView();
|
||||
void deleteCurrentTab();
|
||||
|
||||
signals:
|
||||
void tabMovedTabWidget(int from, int to);
|
||||
|
@ -48,6 +43,11 @@ public slots:
|
|||
void OnDetachFocused(QWidget* parent);
|
||||
void currentChanged(int index);
|
||||
void setCurrentIndex(int index);
|
||||
void showPreviousTab();
|
||||
void showNextTab();
|
||||
void showPreviousView();
|
||||
void showNextView();
|
||||
void deleteCurrentTab();
|
||||
|
||||
protected:
|
||||
MHTabBar* tabBar() const;
|
||||
|
|
Loading…
Reference in New Issue