forked from qt-creator/qt-creator
Add "presentation mode"
Presentation mode can be entered by passing -presentationMode when starting Qt Creator. It displays a popup with the keyboard shortcut of the commands that are triggered. Great for the DevDays;-) Change-Id: I897966aab491f98e2a5abc4433c40b04e2a8db57 Reviewed-by: Eike Ziller <eike.ziller@nokia.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
This commit is contained in:
@@ -252,6 +252,16 @@ void MainWindow::setOverrideColor(const QColor &color)
|
||||
m_overrideColor = color;
|
||||
}
|
||||
|
||||
bool MainWindow::isPresentationModeEnabled()
|
||||
{
|
||||
return m_actionManager->isPresentationModeEnabled();
|
||||
}
|
||||
|
||||
void MainWindow::setPresentationModeEnabled(bool enabled)
|
||||
{
|
||||
m_actionManager->setPresentationModeEnabled(enabled);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
|
||||
Reference in New Issue
Block a user