BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Frame for widgets with tool bar on top and collapse/expand button functionality. More...
Signals | |
void | widgetHeightRequest (int) |
Public Member Functions | |
InfoPanel (QWidget *parent) | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
Protected Slots | |
void | onExpandButtonClicked () |
void | setContentVisible (bool editor_status, bool dock_notify=false) |
Protected Member Functions | |
bool | isContentVisible () |
void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
int | m_cached_height |
QStackedWidget * | m_stackedWidget |
InfoPanelToolBar * | m_toolBar |
Frame for widgets with tool bar on top and collapse/expand button functionality.
Intended for QDockWindow, to be able to quickly minimize/maximize its appearance. Used in JobMessagePanel.
Definition at line 29 of file InfoPanel.h.
|
explicit |
Definition at line 27 of file InfoPanel.cpp.
References InfoPanelToolBar::expandButtonClicked(), m_stackedWidget, m_toolBar, and onExpandButtonClicked().
|
protected |
Definition at line 92 of file InfoPanel.cpp.
References m_stackedWidget.
Referenced by onExpandButtonClicked(), and resizeEvent().
QSize InfoPanel::minimumSizeHint | ( | ) | const |
Definition at line 61 of file InfoPanel.cpp.
|
protectedslot |
Definition at line 66 of file InfoPanel.cpp.
References isContentVisible(), and setContentVisible().
Referenced by InfoPanel().
|
protected |
Definition at line 100 of file InfoPanel.cpp.
References isContentVisible(), and setContentVisible().
|
protectedslot |
Definition at line 71 of file InfoPanel.cpp.
References m_cached_height, m_stackedWidget, m_toolBar, InfoPanelToolBar::setExpandStatus(), and widgetHeightRequest().
Referenced by JobMessagePanel::JobMessagePanel(), ScriptPanel::ScriptPanel(), onExpandButtonClicked(), and resizeEvent().
QSize InfoPanel::sizeHint | ( | ) | const |
|
signal |
Referenced by JobView::createSubWindows(), SampleView::createSubWindows(), and setContentVisible().
|
protected |
Definition at line 50 of file InfoPanel.h.
Referenced by setContentVisible().
|
protected |
Definition at line 49 of file InfoPanel.h.
Referenced by InfoPanel(), JobMessagePanel::JobMessagePanel(), ScriptPanel::ScriptPanel(), isContentVisible(), setContentVisible(), and sizeHint().
|
protected |
Definition at line 48 of file InfoPanel.h.
Referenced by InfoPanel(), ScriptPanel::ScriptPanel(), setContentVisible(), and sizeHint().