- enhancement: add "toggle explorer panel" and "toggle messages panel" in "view" menu
This commit is contained in:
parent
790847e3f8
commit
1e06907db5
1
NEWS.md
1
NEWS.md
|
@ -7,6 +7,7 @@ Red Panda C++ Version 1.0.9
|
||||||
- change: panels can be relocated
|
- change: panels can be relocated
|
||||||
- fix: tab icon not correct restore when hide and show a panel
|
- fix: tab icon not correct restore when hide and show a panel
|
||||||
- fix: the hiding state of the tools output panel is not correctly saved
|
- fix: the hiding state of the tools output panel is not correctly saved
|
||||||
|
- enhancement: add "toggle explorer panel" and "toggle messages panel" in "view" menu
|
||||||
|
|
||||||
Red Panda C++ Version 1.0.8
|
Red Panda C++ Version 1.0.8
|
||||||
- enhancement: auto complete '#undef'
|
- enhancement: auto complete '#undef'
|
||||||
|
|
|
@ -4464,6 +4464,22 @@
|
||||||
<source>Messages</source>
|
<source>Messages</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Toggle Explorer Panel</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Ctrl+F9</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Toggle Messages Panel</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Ctrl+F10</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>NewClassDialog</name>
|
<name>NewClassDialog</name>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -4464,6 +4464,22 @@
|
||||||
<source>Messages</source>
|
<source>Messages</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Toggle Explorer Panel</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Ctrl+F9</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Toggle Messages Panel</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Ctrl+F10</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>NewClassDialog</name>
|
<name>NewClassDialog</name>
|
||||||
|
|
|
@ -7730,3 +7730,15 @@ void MainWindow::on_dockMessages_dockLocationChanged(const Qt::DockWidgetArea &a
|
||||||
setDockMessagesToArea(area);
|
setDockMessagesToArea(area);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MainWindow::on_actionToggle_Explorer_Panel_triggered()
|
||||||
|
{
|
||||||
|
stretchExplorerPanel(ui->tabExplorer->isShrinked());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void MainWindow::on_actionToggle_Messages_Panel_triggered()
|
||||||
|
{
|
||||||
|
stretchMessagesPanel(ui->tabMessages->isShrinked());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -673,6 +673,10 @@ private slots:
|
||||||
|
|
||||||
void on_dockMessages_dockLocationChanged(const Qt::DockWidgetArea &area);
|
void on_dockMessages_dockLocationChanged(const Qt::DockWidgetArea &area);
|
||||||
|
|
||||||
|
void on_actionToggle_Explorer_Panel_triggered();
|
||||||
|
|
||||||
|
void on_actionToggle_Messages_Panel_triggered();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
EditorList *mEditorList;
|
EditorList *mEditorList;
|
||||||
|
|
|
@ -300,6 +300,9 @@
|
||||||
<addaction name="actionTool_Window_Bars"/>
|
<addaction name="actionTool_Window_Bars"/>
|
||||||
<addaction name="menuTool_Windows"/>
|
<addaction name="menuTool_Windows"/>
|
||||||
<addaction name="actionStatus_Bar"/>
|
<addaction name="actionStatus_Bar"/>
|
||||||
|
<addaction name="separator"/>
|
||||||
|
<addaction name="actionToggle_Explorer_Panel"/>
|
||||||
|
<addaction name="actionToggle_Messages_Panel"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QMenu" name="menuGit">
|
<widget class="QMenu" name="menuGit">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
|
@ -3084,6 +3087,22 @@
|
||||||
<string>Compiler Options...</string>
|
<string>Compiler Options...</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionToggle_Explorer_Panel">
|
||||||
|
<property name="text">
|
||||||
|
<string>Toggle Explorer Panel</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+F9</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="actionToggle_Messages_Panel">
|
||||||
|
<property name="text">
|
||||||
|
<string>Toggle Messages Panel</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>Ctrl+F10</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
<customwidget>
|
<customwidget>
|
||||||
|
|
Loading…
Reference in New Issue