Commit abe7bd20 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Add shortcut for full screen toggle in Ekos in align and focus

parent 2d2ea1f4
......@@ -113,6 +113,7 @@ Align::Align()
connect(showFITSViewerB, SIGNAL(clicked()), this, SLOT(showFITSViewer()));
toggleFullScreenB->setIcon(QIcon::fromTheme("view-fullscreen", QIcon(":/icons/breeze/default/view-fullscreen.svg")));
toggleFullScreenB->setShortcut(Qt::Key_F4);
toggleFullScreenB->setAttribute(Qt::WA_LayoutUsesWidgetRect);
connect(toggleFullScreenB, SIGNAL(clicked()), this, SLOT(toggleAlignWidgetFullScreen()));
......
......@@ -108,6 +108,7 @@ Focus::Focus()
connect(showFITSViewerB, SIGNAL(clicked()), this, SLOT(showFITSViewer()));
toggleFullScreenB->setIcon(QIcon::fromTheme("view-fullscreen", QIcon(":/icons/breeze/default/view-fullscreen.svg")));
toggleFullScreenB->setShortcut(Qt::Key_F4);
toggleFullScreenB->setAttribute(Qt::WA_LayoutUsesWidgetRect);
connect(toggleFullScreenB, SIGNAL(clicked()), this, SLOT(toggleFocusingWidgetFullScreen()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment