mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 04:16:12 +00:00
Clean up MainWindow menu
This commit is contained in:
parent
86eaf3a99d
commit
157931867a
@ -808,6 +808,16 @@ void MainWindow::on_actionSaveAs_triggered()
|
|||||||
saveProjectAs();
|
saveProjectAs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionUndoSeek_triggered()
|
||||||
|
{
|
||||||
|
Core()->seekPrev();
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_actionRedoSeek_triggered()
|
||||||
|
{
|
||||||
|
Core()->seekNext();
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionRun_Script_triggered()
|
void MainWindow::on_actionRun_Script_triggered()
|
||||||
{
|
{
|
||||||
QFileDialog dialog(this);
|
QFileDialog dialog(this);
|
||||||
|
@ -142,6 +142,9 @@ private slots:
|
|||||||
void on_actionSave_triggered();
|
void on_actionSave_triggered();
|
||||||
void on_actionSaveAs_triggered();
|
void on_actionSaveAs_triggered();
|
||||||
|
|
||||||
|
void on_actionUndoSeek_triggered();
|
||||||
|
void on_actionRedoSeek_triggered();
|
||||||
|
|
||||||
void on_actionWhite_Theme_triggered();
|
void on_actionWhite_Theme_triggered();
|
||||||
|
|
||||||
void on_actionSDBBrowser_triggered();
|
void on_actionSDBBrowser_triggered();
|
||||||
|
@ -178,8 +178,8 @@ border-top: 0px;
|
|||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>419</x>
|
<x>367</x>
|
||||||
<y>265</y>
|
<y>185</y>
|
||||||
<width>140</width>
|
<width>140</width>
|
||||||
<height>239</height>
|
<height>239</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -226,27 +226,14 @@ border-top: 0px;
|
|||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Help</string>
|
<string>Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionDocumentation"/>
|
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionAbout"/>
|
<addaction name="actionAbout"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuEdit">
|
<widget class="QMenu" name="menuEdit">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Edit</string>
|
<string>Edit</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionUndo"/>
|
<addaction name="actionUndoSeek"/>
|
||||||
<addaction name="actionRedo"/>
|
<addaction name="actionRedoSeek"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionCut"/>
|
|
||||||
<addaction name="actionCopy"/>
|
|
||||||
<addaction name="actionPaste"/>
|
|
||||||
<addaction name="actionDelete"/>
|
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionSelect_all"/>
|
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionFind"/>
|
|
||||||
<addaction name="actionFind_next"/>
|
|
||||||
<addaction name="actionFind_previous"/>
|
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuWindows">
|
<widget class="QMenu" name="menuWindows">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
@ -328,7 +315,7 @@ QToolButton .svg-icon path {
|
|||||||
</widget>
|
</widget>
|
||||||
<action name="actionDefaut">
|
<action name="actionDefaut">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Reset layout</string>
|
<string>Reset Layout</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Reset layout</string>
|
<string>Reset layout</string>
|
||||||
@ -343,6 +330,9 @@ QToolButton .svg-icon path {
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>New</string>
|
<string>New</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+N</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionClose">
|
<action name="actionClose">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -366,6 +356,9 @@ QToolButton .svg-icon path {
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open</string>
|
<string>Open</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+O</string>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSave">
|
<action name="actionSave">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -375,14 +368,14 @@ QToolButton .svg-icon path {
|
|||||||
<string>Ctrl+S</string>
|
<string>Ctrl+S</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionUndo">
|
<action name="actionUndoSeek">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Undo</string>
|
<string>Undo Seek</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionRedo">
|
<action name="actionRedoSeek">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Redo</string>
|
<string>Redo Seek</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCut">
|
<action name="actionCut">
|
||||||
@ -463,7 +456,7 @@ QToolButton .svg-icon path {
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Toggle panel locks</string>
|
<string>Unlock Panels</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Toggle panel locks</string>
|
<string>Toggle panel locks</string>
|
||||||
@ -630,7 +623,7 @@ QToolButton .svg-icon path {
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Toggle tab position</string>
|
<string>Show Tabs at the Top</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Toggle tab position</string>
|
<string>Toggle tab position</string>
|
||||||
@ -638,10 +631,7 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionDark_Theme">
|
<action name="actionDark_Theme">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Dark theme</string>
|
<string>Dark Theme</string>
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Dark theme</string>
|
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionLoad_workspace">
|
<action name="actionLoad_workspace">
|
||||||
@ -654,10 +644,7 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionWhite_Theme">
|
<action name="actionWhite_Theme">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Default theme</string>
|
<string>Default Theme</string>
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Default theme</string>
|
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionCreate_File">
|
<action name="actionCreate_File">
|
||||||
@ -894,10 +881,7 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionRun_Script">
|
<action name="actionRun_Script">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Run script</string>
|
<string>Run Script</string>
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Run script</string>
|
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDashboard">
|
<action name="actionDashboard">
|
||||||
@ -910,7 +894,7 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionReset_settings">
|
<action name="actionReset_settings">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Reset settings</string>
|
<string>Reset Settings</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Reset settings</string>
|
<string>Reset settings</string>
|
||||||
@ -934,7 +918,7 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionRefresh_contents">
|
<action name="actionRefresh_contents">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Refresh contents</string>
|
<string>Refresh Contents</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Refresh contents</string>
|
<string>Refresh contents</string>
|
||||||
@ -958,7 +942,7 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionEntry_points">
|
<action name="actionEntry_points">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Entry points</string>
|
<string>Entry Points</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionDisplay_Offsets">
|
<action name="actionDisplay_Offsets">
|
||||||
@ -974,18 +958,12 @@ QToolButton .svg-icon path {
|
|||||||
</action>
|
</action>
|
||||||
<action name="actionAsmOptions">
|
<action name="actionAsmOptions">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Disassembly options</string>
|
<string>Disassembly Options</string>
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Disassembly options</string>
|
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionSaveAs">
|
<action name="actionSaveAs">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Save as...</string>
|
<string>Save As...</string>
|
||||||
</property>
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Save as</string>
|
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionTmp">
|
<action name="actionTmp">
|
||||||
|
Loading…
Reference in New Issue
Block a user