Yes its just a form layout with formlayouts for the sections and icontTextButto/iconTextCheckBoxes for as items. Stupid example that does not bind the button to the form layout.
for ($panel in `getPanel -type modelPanel`)
{
string $main = `panel -q -control $panel`;
string $ca[] = `layout -q -ca $main`;
$ca = `layout -q -ca ($main+"|"+$ca[0]+"|modelEditorIconBar")`;
setParent $ca[0];
button;
}