11 #ifndef CXSCREENVIDEOPROVIDER_H 12 #define CXSCREENVIDEOPROVIDER_H 16 #include <QMainWindow> 17 #include "vtkSmartPointer.h" 29 class SecondaryViewLayoutWindow:
public QWidget
41 virtual void showEvent(QShowEvent* event);
42 virtual void hideEvent(QCloseEvent* event);
45 QString toString(QRect r)
const;
46 int findSmallestSecondaryScreen();
58 void saveScreenShot(QImage image, QString
id);
59 QByteArray generatePNGEncoding(QImage image);
60 QPixmap grabScreen(
unsigned screenid);
61 void showSecondaryLayout(QSize size, QString layout);
62 QImage grabSecondaryLayout();
63 void closeSecondaryLayout();
67 QPointer<class QWidget> mTopWindow;
69 void setWidgetToNiceSizeInLowerRightCorner(QSize size);
75 #endif // CXSCREENVIDEOPROVIDER_H
vtkSmartPointer< class vtkPNGWriter > vtkPNGWriterPtr
boost::shared_ptr< class VisServices > VisServicesPtr
void tryShowOnSecondaryScreen()
virtual void closeEvent(QCloseEvent *event)
vtkSmartPointer< class vtkUnsignedCharArray > vtkUnsignedCharArrayPtr
Experimental class for IPad usage.
vtkSmartPointer< class vtkWindowToImageFilter > vtkWindowToImageFilterPtr
SecondaryViewLayoutWindow(QWidget *parent)
~SecondaryViewLayoutWindow()
virtual void showEvent(QShowEvent *event)
virtual void hideEvent(QCloseEvent *event)
Namespace for all CustusX production code.