BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Static class to provide MaskEditor with common settings (colors, gradients, etc)
Definition at line 27 of file MaskEditorHelper.h.
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 () |
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 48 of file MaskEditorHelper.cpp.
|
static |
Definition at line 34 of file MaskEditorHelper.cpp.
Referenced by IShape2DView::paint(), VerticalLineView::paint(), HorizontalLineView::paint(), and RegionOfInterestView::paint().
|
static |
Definition at line 41 of file MaskEditorHelper.cpp.
Referenced by IShape2DView::paint(), VerticalLineView::paint(), HorizontalLineView::paint(), and PolygonView::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().