|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Static class to provide MaskEditor with common settings (colors, gradients, etc) More...
Public Types | |
| enum | EViewTypes { IMASKVIEW = QGraphicsItem::UserType + 1 , RECTANGLEBASE , RECTANGLE , SIZEHANDLE , POLYGON , POLYGONPOINT , VERTICALLINE , HORIZONTALLINE , ELLIPSE , MASKALL , REGIONOFINTEREST , MASKCONTAINER , MASKGRAPHICSPROXY } |
Static Public Member Functions | |
| static QRectF | getMarkerRectangle (const QPointF &pos) |
| static QBrush | getMaskBrush (bool mask_value) |
| static QPen | getMaskPen (bool mask_value) |
| static QBrush | getSelectionMarkerBrush () |
| static QPen | getSelectionMarkerPen () |
Static class to provide MaskEditor with common settings (colors, gradients, etc)
Definition at line 27 of file MaskEditorHelper.h.
| Enumerator | |
|---|---|
| IMASKVIEW | |
| RECTANGLEBASE | |
| RECTANGLE | |
| SIZEHANDLE | |
| POLYGON | |
| POLYGONPOINT | |
| VERTICALLINE | |
| HORIZONTALLINE | |
| ELLIPSE | |
| MASKALL | |
| REGIONOFINTEREST | |
| MASKCONTAINER | |
| MASKGRAPHICSPROXY | |
Definition at line 29 of file MaskEditorHelper.h.
|
static |
Definition at line 55 of file MaskEditorHelper.cpp.
|
static |
Definition at line 34 of file MaskEditorHelper.cpp.
Referenced by EllipseView::paint(), VerticalLineView::paint(), HorizontalLineView::paint(), PolygonView::paint(), and RectangleView::paint().
|
static |
Definition at line 46 of file MaskEditorHelper.cpp.
Referenced by EllipseView::paint(), VerticalLineView::paint(), HorizontalLineView::paint(), PolygonView::paint(), and RectangleView::paint().
|
static |
Definition at line 21 of file MaskEditorHelper.cpp.
Referenced by PolygonPointView::paint(), and SizeHandleElement::paint().
|
static |
Definition at line 29 of file MaskEditorHelper.cpp.
Referenced by PolygonPointView::paint(), and SizeHandleElement::paint().