32 #ifndef CXSCREENVIDEOPROVIDER_H 33 #define CXSCREENVIDEOPROVIDER_H 37 #include <QMainWindow> 38 #include "vtkSmartPointer.h" 50 class SecondaryViewLayoutWindow:
public QWidget
62 virtual void showEvent(QShowEvent* event);
63 virtual void hideEvent(QCloseEvent* event);
66 QString toString(QRect r)
const;
67 int findSmallestSecondaryScreen();
79 void saveScreenShot(QImage image, QString
id);
80 QByteArray generatePNGEncoding(QImage image);
81 QPixmap grabScreen(
unsigned screenid);
82 void showSecondaryLayout(QSize size, QString layout);
83 QImage grabSecondaryLayout();
84 void closeSecondaryLayout();
88 QPointer<class QWidget> mTopWindow;
90 void setWidgetToNiceSizeInLowerRightCorner(QSize size);
96 #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.