Request for Changes-20: Take screenshot
[Request for Changes - 20] Take screenshot
- Author: Stéphane ALBERT
- Additional Contributors: none
- Submitted on 14/01/2016
- Voted :
- Proposed target release : 5.4
- Merged : http://git.orfeo-toolbox.org/otb.git/commit/
- Branch :
This RFC consists in implementing a 'Save screenshot' feature in Monteverdi and factorize the Qt-independent code in the OTB-Ice library.
Ease screenshot capture for users.
Classes and files
M Code/otbGlView.cxx M Code/otbGlView.h
otb::GlView::SaveScreenshot( const std::string & filename ) const has been added.
M Code/Application/Monteverdi/mvdMainWindow.cxx M Code/Application/Monteverdi/mvdMainWindow.h M Code/Application/Monteverdi/mvdMainWindow.qrc M Code/Application/Monteverdi/mvdMainWindow.ui M Code/Common/Gui/mvdAbstractImageViewRenderer.h M Code/Common/Gui/mvdImageViewManipulator.cxx M Code/Common/Gui/mvdImageViewManipulator.h M Code/Common/Gui/mvdImageViewRenderer.cxx M Code/Common/Gui/mvdImageViewRenderer.h M Code/Common/Gui/mvdImageViewWidget.cxx M Code/Common/Gui/mvdImageViewWidget.h A Data/Icons/image-export_24x24.png
CTRL+P keyboard shortcut signal has been added to
mvd::ImageViewManipulator. It has been slotted in
otb::GlView::SaveScreen() has been interfaced in
A 'Save screenshot' button has been added to the render tool-bar.
CTRL+P keyboard shortcut from image-view (if it has focus, otherwise set focus to it by clicking into the image-view) or the 'Save screenshot' image button of the render tool-bar. A save file selection dialog will be openened in order for the user to selection the target file of the screenshot. Exceptions are caught and displayed in a pop-up dialog, is any.