BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Vertical widget with column of panels displayed one under another. More...
Public Member Functions | |
CollapsibleListWidget (QWidget *parent=nullptr) | |
void | addWidget (QWidget *widget, const QString &title, bool collapsed=false) |
Private Attributes | |
QSplitter * | m_splitter {nullptr} |
Vertical widget with column of panels displayed one under another.
Each panel contains user widget and can be collapsed/expanded. When expanded, the place occupied by the panel can be changed by draging a splitter.
Definition at line 30 of file collapsiblelistwidget.h.
CollapsibleListWidget::CollapsibleListWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 22 of file collapsiblelistwidget.cpp.
References m_splitter.
void CollapsibleListWidget::addWidget | ( | QWidget * | widget, |
const QString & | title, | ||
bool | collapsed = false |
||
) |
Definition at line 32 of file collapsiblelistwidget.cpp.
References m_splitter.
Referenced by gui2::DataSelectorWidget::DataSelectorWidget(), and gui2::SimulationView::initEditorList().
|
private |
Definition at line 39 of file collapsiblelistwidget.h.
Referenced by CollapsibleListWidget(), and addWidget().