# Customizing File/Tools Menu in Custom Application

**URL:** https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810
**Category:** ParaView Support
**Created:** [April 4, 2023, 8:16pm UTC](https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810 "2023-04-04T20:16:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 4, 2023, 8:16pm UTC](https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810/1 "2023-04-04T20:16:55Z")

</div>

Hi, Can someone please guide me how to customize file menu or tools menu in my custom application.  
In clone 2 example File Menu only has open menu, but how to get other options as well (not the complete list)  
This only returns 1 action, how to get others e.g. load state or save state etc.  
QList\<QAction \*\> qa = this-\>Internals-\>menu\_File-\>actions();

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 7, 2023, 8:47am UTC](https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810/2 "2023-04-07T08:47:58Z")

</div>

Take a look at the SimpleParaView example.

Best,

---

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 7, 2023, 3:22pm UTC](https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810/3 "2023-04-07T15:22:20Z")

</div>

Thanks. And is it also possible to create a new button and add it to my GUI which when clicked would call my own simulation (Written in C++) and the data generated in paraview is passed to that simulation in the form of matrix?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [April 7, 2023, 3:23pm UTC](https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810/4 "2023-04-07T15:23:34Z")

</div>

Yes of course.

---

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 7, 2023, 3:24pm UTC](https://discourse.paraview.org/t/customizing-file-tools-menu-in-custom-application/11810/5 "2023-04-07T15:24:55Z")

</div>

Thanks. I will try to figure it out
