#include <UILayoutParameter.h>
|
enum | RelativeAlign {
NONE,
PARENT_TOP_LEFT,
PARENT_TOP_CENTER_HORIZONTAL,
PARENT_TOP_RIGHT,
PARENT_LEFT_CENTER_VERTICAL,
CENTER_IN_PARENT,
PARENT_RIGHT_CENTER_VERTICAL,
PARENT_LEFT_BOTTOM,
PARENT_BOTTOM_CENTER_HORIZONTAL,
PARENT_RIGHT_BOTTOM,
LOCATION_ABOVE_LEFTALIGN,
LOCATION_ABOVE_CENTER,
LOCATION_ABOVE_RIGHTALIGN,
LOCATION_LEFT_OF_TOPALIGN,
LOCATION_LEFT_OF_CENTER,
LOCATION_LEFT_OF_BOTTOMALIGN,
LOCATION_RIGHT_OF_TOPALIGN,
LOCATION_RIGHT_OF_CENTER,
LOCATION_RIGHT_OF_BOTTOMALIGN,
LOCATION_BELOW_LEFTALIGN,
LOCATION_BELOW_CENTER,
LOCATION_BELOW_RIGHTALIGN
} |
|
enum | Type { NONE = 0,
LINEAR,
RELATIVE
} |
|
Enumerator |
---|
NONE |
|
PARENT_TOP_LEFT |
|
PARENT_TOP_CENTER_HORIZONTAL |
|
PARENT_TOP_RIGHT |
|
PARENT_LEFT_CENTER_VERTICAL |
|
CENTER_IN_PARENT |
|
PARENT_RIGHT_CENTER_VERTICAL |
|
PARENT_LEFT_BOTTOM |
|
PARENT_BOTTOM_CENTER_HORIZONTAL |
|
PARENT_RIGHT_BOTTOM |
|
LOCATION_ABOVE_LEFTALIGN |
|
LOCATION_ABOVE_CENTER |
|
LOCATION_ABOVE_RIGHTALIGN |
|
LOCATION_LEFT_OF_TOPALIGN |
|
LOCATION_LEFT_OF_CENTER |
|
LOCATION_LEFT_OF_BOTTOMALIGN |
|
LOCATION_RIGHT_OF_TOPALIGN |
|
LOCATION_RIGHT_OF_CENTER |
|
LOCATION_RIGHT_OF_BOTTOMALIGN |
|
LOCATION_BELOW_LEFTALIGN |
|
LOCATION_BELOW_CENTER |
|
LOCATION_BELOW_RIGHTALIGN |
|
Allocates and initializes.
- Returns
- A initialized LayoutParameter which is marked as "autorelease".
const std::string& getRelativeName |
( |
| ) |
const |
const std::string&
getRelativeToWidgetName |
( |
| ) |
const |
Gets the key of LayoutParameter.
Witch widget named this is relative to.
- Returns
- name
void setRelativeName |
( |
const std::string & |
name | ) |
|
void setRelativeToWidgetName |
( |
const std::string & |
name | ) |
|
Sets a key for LayoutParameter.
Witch widget named this is relative to.
- Parameters
-
std::string _relativeLayoutName |
|
protected |
std::string _relativeWidgetName |
|
protected |
The documentation for this class was generated from the following file: