This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
admin_panels [2022/03/30 22:02] ali |
admin_panels [2023/02/27 19:21] (current) yves |
||
---|---|---|---|
Line 7: | Line 7: | ||
A panel stack is a group of panels organized in tabbed view each tab contains single panel and at one time only single tab can be visible in panel stack. | A panel stack is a group of panels organized in tabbed view each tab contains single panel and at one time only single tab can be visible in panel stack. | ||
- | {{:panels-layout.png?direct&400|}} | + | '''' |
+ | <Layout hasHeaders="true" | ||
+ | reorderEnabled="true" | ||
+ | selectionEnabled="false" | ||
+ | showPopoutIcon="false" | ||
+ | showMaximiseIcon="true" | ||
+ | showCloseIcon="true"> | ||
+ | <Item type="row"> | ||
+ | <Item type="column" width="85"> | ||
+ | <Component name="Viewer" | ||
+ | label="Viewer"/> | ||
+ | </Item> | ||
+ | <Item type="column" width="15"> | ||
+ | <Component name="ServerNavigation" label="Slide browser"/> | ||
+ | </Item> | ||
+ | </Item> | ||
+ | </Layout> | ||
+ | '''' | ||
+ | ==== Changing panel configuration layout via the ribbon ==== | ||
+ | |||
+ | It is possible to change the panel layout in real-time by defining action in the [[admin_ribbon|ribbon layout]]. | ||
+ | |||
+ | Here's an example of how that would work: | ||
+ | |||
+ | '''' | ||
+ | <Tab label="ACME analysis" hint="analysis" name="tab-acme-anal" enabled="true" visible="true"> | ||
+ | <Ribbon label="ACME" width="10%"> | ||
+ | <Tool type="buttons" size="large"> | ||
+ | <Command name="custom-panel-algo-ichi" | ||
+ | hint="Algo Ichi" | ||
+ | props="https://mumbai.pathomation.com/sandbox_4143_Apsam/algo/algo1.php" | ||
+ | icon="an_tumor.png" | ||
+ | /> | ||
+ | <Command name="custom-panel-algo-n" | ||
+ | hint="Algo N" | ||
+ | props="https://mumbai.pathomation.com/sandbox_4143_Apsam/algo/algo2.php" | ||
+ | icon="an_macro.png"/> | ||
+ | </Tool> | ||
+ | </Ribbon> | ||
+ | </Tab> | ||
+ | '''' | ||
+ | |||
+ | ==== See also ==== | ||
+ | |||
+ | [[https://realdata.pathomation.com/custom-panels-and-functionality-in-pma-studio/|Custom panels and functionality in PMA.studio]] blog article. |