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();
88 QPointer<class SecondaryViewLayoutWindow> mSecondaryViewLayoutWindow;
91 void setWidgetToNiceSizeInLowerRightCorner(QSize size);
97 #endif // CXSCREENVIDEOPROVIDER_H
vtkSmartPointer< class vtkPNGWriter > vtkPNGWriterPtr
ScreenVideoProvider(VisServicesPtr services)
boost::shared_ptr< class VisServices > VisServicesPtr
QByteArray generatePNGEncoding(QImage image)
void tryShowOnSecondaryScreen()
virtual void closeEvent(QCloseEvent *event)
vtkSmartPointer< class vtkUnsignedCharArray > vtkUnsignedCharArrayPtr
QImage grabSecondaryLayout()
void closeSecondaryLayout()
void showSecondaryLayout(QSize size, QString layout)
class ViewCollectionWidget * getSecondaryLayoutWidget()
vtkSmartPointer< class vtkWindowToImageFilter > vtkWindowToImageFilterPtr
cxLogicManager_EXPORT ViewServicePtr viewService()
SecondaryViewLayoutWindow(QWidget *parent)
~SecondaryViewLayoutWindow()
void saveScreenShot(QImage image, QString id)
virtual void showEvent(QShowEvent *event)
QPixmap grabScreen(unsigned screenid)
virtual void hideEvent(QCloseEvent *event)