34 I_ASSIGN(m_toolBarAreaAttrPtr,
"ToolBarArea",
"Specify the area for this toolbar\n 0 - left\n 1 - right\n 2 - top\n 3 - bottom",
false, 0);
35 I_ASSIGN(m_useVerticalOrientationAttrPtr,
"UseVerticalOrientation",
"Use vertical orientation of the tool bar",
true,
false);
36 I_ASSIGN(m_dockFeaturesAttrPtr,
"DockFeatures",
"Specify the dock features for this widget\nIt is combination of options:\n2 - moveable\n4 - floatable",
true,
WCF_MOVEABLE |
WCF_FLOATABLE);
37 I_ASSIGN(m_allowedDockAreasAttrPtr,
"AllowedDockAreas",
"Specify the allowed dock areas\nIt is combination of options:\n 1 - left\n 2 - right\n 4 - top\n 8 - bottom",
false, 0);
38 I_ASSIGN(m_titleAttrPtr,
"Title",
"Tool bar title",
false,
"");
39 I_ASSIGN(m_iconSizeAttrPtr,
"IconSize",
"Size of the icon used in the tool bar",
false, 32);
40 I_ASSIGN(m_buttonStyleAttrPtr,
"ButtonStyle",
"Button style used by the tool bar\n0 - Only display the icon\n1 - Only display the text\n2 - The text appears beside the icon\n3 - The text appears under the icon\n4 - Follow the system style",
true, Qt::ToolButtonIconOnly);
54 I_ATTR(
int, m_toolBarAreaAttrPtr);
55 I_ATTR(
bool, m_useVerticalOrientationAttrPtr);
56 I_ATTR(
int, m_dockFeaturesAttrPtr);
57 I_ATTR(
int, m_allowedDockAreasAttrPtr);
59 I_ATTR(
int, m_iconSizeAttrPtr);
60 I_ATTR(
int, m_buttonStyleAttrPtr);
A common interface for main window component such as dock widget, tool bar and so on.
@ WCF_FLOATABLE
Element can be float from the main window to be standalone window.