|
virtual QDialog * | getUI (QWidget *parent=0)=0 |
| Obtain QWidget with user interface for the operation. More...
|
|
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
-
parent | the 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: