mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 23:16:31 +00:00
Rename "Capture Executable" to "Launch Application" & add to window menu
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Capture Executable</string>
|
||||
<string>Launch Application</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<property name="spacing">
|
||||
|
||||
@@ -89,6 +89,9 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
|
||||
QObject::connect(ui->action_Save_Layout_6, &QAction::triggered, this,
|
||||
&MainWindow::saveLayout_triggered);
|
||||
|
||||
QObject::connect(ui->action_Launch_Application_Window, &QAction::triggered, this,
|
||||
&MainWindow::on_action_Launch_Application_triggered);
|
||||
|
||||
contextChooserMenu = new QMenu(this);
|
||||
|
||||
FillRemotesMenu(contextChooserMenu, true);
|
||||
@@ -1336,7 +1339,7 @@ void MainWindow::on_action_Pipeline_State_triggered()
|
||||
ui->toolWindowManager->addToolWindow(pipelineViewer, mainToolArea());
|
||||
}
|
||||
|
||||
void MainWindow::on_action_Capture_Log_triggered()
|
||||
void MainWindow::on_action_Launch_Application_triggered()
|
||||
{
|
||||
ICaptureDialog *capDialog = m_Ctx.GetCaptureDialog();
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
void showMeshPreview() { on_action_Mesh_Output_triggered(); }
|
||||
void showTextureViewer() { on_action_Texture_Viewer_triggered(); }
|
||||
void showPipelineViewer() { on_action_Pipeline_State_triggered(); }
|
||||
void showCaptureDialog() { on_action_Capture_Log_triggered(); }
|
||||
void showCaptureDialog() { on_action_Launch_Application_triggered(); }
|
||||
void showDebugMessageView() { on_action_Errors_and_Warnings_triggered(); }
|
||||
void showStatisticsViewer() { on_action_Statistics_Viewer_triggered(); }
|
||||
void showPythonShell() { on_action_Python_Shell_triggered(); }
|
||||
@@ -102,7 +102,7 @@ private slots:
|
||||
void on_action_Event_Browser_triggered();
|
||||
void on_action_Texture_Viewer_triggered();
|
||||
void on_action_Pipeline_State_triggered();
|
||||
void on_action_Capture_Log_triggered();
|
||||
void on_action_Launch_Application_triggered();
|
||||
void on_action_Errors_and_Warnings_triggered();
|
||||
void on_action_Statistics_Viewer_triggered();
|
||||
void on_action_Python_Shell_triggered();
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_Clear_Capture_History"/>
|
||||
</widget>
|
||||
<addaction name="action_Capture_Log"/>
|
||||
<addaction name="action_Launch_Application"/>
|
||||
<addaction name="action_Attach_to_Running_Instance"/>
|
||||
<addaction name="action_Inject_into_Process"/>
|
||||
<addaction name="separator"/>
|
||||
@@ -120,6 +120,7 @@
|
||||
<addaction name="menu_Save_Layout"/>
|
||||
<addaction name="menu_Load_Layout"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_Launch_Application_Window"/>
|
||||
<addaction name="action_Python_Shell"/>
|
||||
<addaction name="action_Event_Browser"/>
|
||||
<addaction name="action_Texture_Viewer"/>
|
||||
@@ -152,9 +153,9 @@
|
||||
<addaction name="menu_Help"/>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
<action name="action_Capture_Log">
|
||||
<action name="action_Launch_Application">
|
||||
<property name="text">
|
||||
<string>&Capture Log</string>
|
||||
<string>&Launch Application</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+N</string>
|
||||
@@ -188,7 +189,7 @@
|
||||
</action>
|
||||
<action name="action_Close_Log">
|
||||
<property name="text">
|
||||
<string>C&lose Log</string>
|
||||
<string>&Close Log</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+W</string>
|
||||
@@ -196,7 +197,7 @@
|
||||
</action>
|
||||
<action name="action_Exit">
|
||||
<property name="text">
|
||||
<string>&Exit</string>
|
||||
<string>E&xit</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Alt+F4</string>
|
||||
@@ -402,6 +403,11 @@
|
||||
<string>Show Tips</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Launch_Application_Window">
|
||||
<property name="text">
|
||||
<string>&Launch Application</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<customwidgets>
|
||||
|
||||
Reference in New Issue
Block a user