|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
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();
67 QPointer<class QWidget> mTopWindow;
69 void setWidgetToNiceSizeInLowerRightCorner(QSize size);
75 #endif // CXSCREENVIDEOPROVIDER_H
Namespace for all CustusX production code.
virtual void showEvent(QShowEvent *event)
boost::shared_ptr< class VisServices > VisServicesPtr
Experimental class for IPad usage.
void saveScreenShot(QImage image, QString id)
class ViewCollectionWidget * getSecondaryLayoutWidget()
virtual void closeEvent(QCloseEvent *event)
vtkSmartPointer< class vtkWindowToImageFilter > vtkWindowToImageFilterPtr
ScreenVideoProvider(VisServicesPtr services)
~SecondaryViewLayoutWindow()
QImage grabSecondaryLayout()
void closeSecondaryLayout()
QByteArray generatePNGEncoding(QImage image)
vtkSmartPointer< class vtkUnsignedCharArray > vtkUnsignedCharArrayPtr
QPixmap grabScreen(unsigned screenid)
void showSecondaryLayout(QSize size, QString layout)
virtual void hideEvent(QCloseEvent *event)
vtkSmartPointer< class vtkPNGWriter > vtkPNGWriterPtr
void tryShowOnSecondaryScreen()
SecondaryViewLayoutWindow(QWidget *parent)