{"id":294,"date":"2013-05-29T11:03:24","date_gmt":"2013-05-29T09:03:24","guid":{"rendered":"http:\/\/www.ancor.ch\/schoebey\/?p=294"},"modified":"2013-05-29T11:16:55","modified_gmt":"2013-05-29T09:16:55","slug":"groups","status":"publish","type":"post","link":"https:\/\/www.ancor.ch\/schoebey\/?p=294","title":{"rendered":"groups"},"content":{"rendered":"<p>A group is a simple rectangular area that has a title and contains several items.<\/p>\n<p>New groups can be added by using the API function &#8216;addGroup(const QString&amp; sGroupName)&#8217; and populated by calling the group&#8217;s method &#8216;addItem()&#8217; or &#8216;addItems()&#8217;.<\/p>\n<p>If a group should be created that is to wrap exisiting items without destroying their layout, an overloaded API function &#8216;addGroup(const QString&amp; sName, std::vector&lt;CItem*&gt;&amp; vpItems)&#8217; will create a new group and place it around the selected items, forming their bounding box.<\/p>\n<p>If a group is moved, all its contained items will be moved accordingly.<\/p>\n<p>Deletion of a group will result in the deletion of the items.<\/p>\n<p>Ungrouping will delete the group but not its contents.<\/p>\n<p><!--more-->an icon box at the top border of the group provides the user with a set of tools.<\/p>\n<p>Mockup:<\/p>\n<pre> _______________________\r\n\/  name          | u | x \\\r\n|                         |\r\n|                         |\r\n\\_______________________\/<\/pre>\n<p>&nbsp;<\/p>\n<p>API functions:<\/p>\n<pre lang=\"cpp\">CGroup* addGroup(const QString&amp; sName, std::vector&lt;CItem*&gt;&amp; vpItems);<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A group is a simple rectangular area that has a title and contains several items. New groups can be added by using the API function &#8216;addGroup(const QString&amp; sGroupName)&#8217; and populated by calling the group&#8217;s method &#8216;addItem()&#8217; or &#8216;addItems()&#8217;. If a group should be created that is to wrap exisiting items without destroying their layout, an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3,5,13],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-brainstorming","category-code","category-design","category-lightbox"],"_links":{"self":[{"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=294"}],"version-history":[{"count":4,"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions"}],"predecessor-version":[{"id":296,"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=\/wp\/v2\/posts\/294\/revisions\/296"}],"wp:attachment":[{"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ancor.ch\/schoebey\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}