0.45.0
![]() |
#include <iWidgetFixedGridLayout.h>
Inherits igor::iWidget.
Additional Inherited Members | |
![]() | |
static iWidgetPtr | getKeyboardFocusWidget () |
static IGOR_INLINE float32 | getScale () |
![]() | |
static const iWidgetID | INVALID_WIDGET_ID = 0 |
![]() | |
void | clearChildren () |
void | updateMinSize (int32 width, int32 height) |
void | setParent (iWidgetPtr parent) |
void | setKeyboardFocus () |
void | resetKeyboardFocus () |
void | setClientArea (int32 left, int32 right, int32 top, int32 bottom) |
const iaVector2f & | getLastMousePos () const |
iWidget (iWidgetType type, iWidgetKind kind, const iWidgetPtr parent=nullptr) | |
virtual | ~iWidget () |
virtual bool | onEvent (iEvent &event) |
virtual bool | onMouseWheel (const iEventMouseWheel &event) |
virtual bool | onMouseKeyDown (const iEventMouseKeyDown &event) |
virtual bool | onMouseDoubleClick (const iEventMouseKeyDoubleClick &event) |
virtual bool | onMouseKeyUp (const iEventMouseKeyUp &event) |
virtual void | onMouseMove (const iEventMouseMove &event) |
virtual bool | onASCII (const iEventKeyASCII &event) |
virtual bool | onKeyDown (const iEventKeyDown &event) |
virtual bool | onKeyUp (const iEventKeyUp &event) |
virtual void | onLostKeyboardFocus () |
virtual void | onGainedKeyboardFocus () |
virtual void | calcMinSize () |
virtual void | updateAlignment (int32 clientWidth, int32 clientHeight) |
virtual void | calcChildOffsets (std::vector< iaRectanglef > &offsets) |
virtual void | onDragEnter (iDrag &drag) |
virtual void | onDragMove (iDrag &drag, const iaVector2f &mousePos) |
virtual void | onDragLeave (iDrag &drag) |
virtual void | onDrop (const iDrag &drag, const iaVector2f &mousePos) |
virtual void | onDrag () |
virtual void | onRefresh () |
![]() | |
bool | _selected = false |
bool | _isSelectable = false |
bool | _isMultiSelectionEnabled = false |
std::vector< iWidgetPtr > | _children |
int32 | _configuredMinWidth = 0 |
int32 | _configuredMinHeight = 0 |
iClickEvent | _click |
iMouseOffClickEvent | _mouseOffClick |
iContextMenuEvent | _contextMenu |
iDoubleClickEvent | _doubleClick |
iMouseOverEvent | _mouseOver |
iMouseOffEvent | _mouseOff |
iChangeEvent | _change |
iFocusEvent | _focus |
iWheelUpEvent | _wheelUp |
iWheelDownEvent | _wheelDown |
iSelectionChangedEvent | _selectionChanged |
iaString | _tooltip |
iaVector2f | _tooltipPos |
iaTime | _tooltipTime = iaTime(0) |
bool | _initTooltip = false |
uint32 | _zValue = 0 |
bool | _reactOnMouseWheel = true |
bool | _blockedEvents = false |
bool | _acceptOutOfBoundsClicks = false |
bool | _acceptDrop = false |
bool | _acceptDrag = false |
bool | _isMouseOver = false |
bool | _ignoreChildEventConsumption = false |
iaVector2f | _lastMousePos |
iaVector2f | _lastMousePressPos |
bool | _needRefresh = true |
fixed grid layout widget
igor::iWidgetFixedGridLayout::iWidgetFixedGridLayout | ( | const iWidgetPtr | parent = nullptr | ) |
ctor initializes member variables
parent | optional parent |
|
default |
does nothing
const iaVector2f & igor::iWidgetFixedGridLayout::getCellSize | ( | ) | const |
float32 igor::iWidgetFixedGridLayout::getMinCellSpacing | ( | ) | const |
void igor::iWidgetFixedGridLayout::setCellSize | ( | const iaVector2f & | cellSize | ) |
sets the cell size
cellSize | the cell size |
void igor::iWidgetFixedGridLayout::setMinCellSpacing | ( | float32 | minCellSpacing | ) |
sets the cell spacing
minCellSpacing | the cell spacing |