FotoSHOCK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
IFotoSHOCKOperation Class Referenceabstract
Inheritance diagram for IFotoSHOCKOperation:
CurveOperation MathOperation QGLPreviewOperation RootLoadImage

Public Member Functions

virtual QDialog * getUI (QWidget *parent=0)=0
 Obtain QWidget with user interface for the operation. More...
 

Member Function Documentation

virtual QDialog* IFotoSHOCKOperation::getUI ( QWidget *  parent = 0)
pure virtual

Obtain QWidget with user interface for the operation.

The returned widget will be reparented. That means it will be automatically freed by Qt when closed. Trying to free the the returned QWidget memory manually in the FotoSHOCKOperation desctructor will most likely cause crashes.

Parameters
parentthe parent for the dialog. If the parent is not set in this function the UI may not be shown correctly. The parent must be set in the dialog constructor, otherwise the dialog will not be shown when calling the show() function (Qt bug?). This is important especially for the preview.
Returns
UI for the operation

Implemented in RootLoadImage, CurveOperation, MathOperation, and QGLPreviewOperation.


The documentation for this class was generated from the following file: