(new in Rev4.00)
MQFrameBase class is a base class for a frame (MQFrame) and a group box (MQGroupBox). It inherits a MQWidgetBase class.
Please refer the inherited class about member functions declared in the inherited class.
Class | |
MQFrameBase | Constructor |
~MQFrameBase | Destructor |
Member functions | |
GetAlignment | Get an alignment for child widgets |
SetAlignment | Set an alignment for child widgets |
GetMultiColumn | Get a placement at multiple lines |
SetMultiColumn | Set a placement at multiple lines |
GetMatrixColumn | Get a column number for a matrix |
SetMatrixColumn | Set a column number for a matrix |
GetUniformSize | Get whether to unify the size for child widgets |
SetUniformSize | Set whether to unify the size for child widgets |
GetSplit | Get a split |
SetSplit | Set a split |
MQFrameBase::MQFrameBase();
MQFrameBase::MQFrameBase(int id);
It is a constructor.
This class cannot be created directly because 'protected' accessor is specified.
virtual MQFrameBase::~MQFrameBase();
This method is a destructor. It is defined as a virtual function.
MQFrameBase::MQFrameAlignment MQFrameBase::GetAlignment();
It returns a direction to place child widgets.
void MQFrameBase::SetAlignment(MQFrameAlignment align);
It specifies a direction to place child widgets.
bool MQFrameBase::GetMultiColumn();
It returns whether to place child widgets at multiple lines automatically or not.
void MQFrameBase::SetMultiColumn(bool value);
It returns whether to place child widgets at multiple lines automatically or not.
int MQFrameBase::GetMatrixColumn();
It returns a number of widgets places at a line or a column. Widgets are placed normally when the number is 0. Widgets are placed in a matrix when the number is 1 or larger, and placed normally when the number is 0. The placed direction (a line or a column) is determined by SetAlignment().
void MQFrameBase::SetMatrixColumn(int value);
It specifies a number of widgets places at a line or a column. Widgets are placed normally when the number is 0. Widgets are placed in a matrix when the number is 1 or larger, and placed normally when the number is 0. The placed direction (a line or a column) is determined by SetAlignment().
bool MQFrameBase::GetUniformSize();
It returns whether the sizes of all child widgets become same or not.
void MQFrameBase::SetUniformSize(bool value);
It specifies whether the sizes of all child widgets become same or not. When true is specified, the longest size is applied for all other widgets.
bool MQFrameBase::GetSplit();
It returns whether to change a size of child or not widget when the space between widgets is dragged.
void MQFrameBase::SetSplit(bool value);
It specifies whether to change a size of child widget or not when the space between widgets is dragged.