|
BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines namespace GUI::Util::Layout.
Definition in file LayoutUtils.h.
Go to the source code of this file.
Namespaces | |
| GUI | |
| GUI::Util | |
| GUI::Util::Layout | |
| Utility functions to add/remove widgets to the layout on the fly. Taken from https://stackoverflow.com/questions/5395266/removing-widgets-from-qgridlayout. | |
Functions | |
| void | GUI::Util::Layout::clearGridLayout (QGridLayout *layout, bool deleteWidgets=true) |
| Clear layout completely. More... | |
| void | GUI::Util::Layout::clearLayout (QLayout *layout, bool deleteWidgets=true) |
| Removes content from box layout. More... | |
| QWidget * | GUI::Util::Layout::placeHolder () |
| Returns empty widget to occupy place in layout. More... | |
| void | GUI::Util::Layout::removeColumn (QGridLayout *layout, int column, bool deleteWidgets=true) |
| Removes column from grid layout. More... | |
| void | GUI::Util::Layout::removeRow (QGridLayout *layout, int row, bool deleteWidgets=true) |
| Removes row from grid layout (important: doesn't change row count). More... | |