|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Widget with logo, name of the program and buttons to create new project or open existing one. More...
Signals | |
| void | createNewProjectRequest () |
| void | openExistingProjectRequest () |
Public Member Functions | |
| OpenProjectWidget (QWidget *parent=nullptr) | |
| QSize | minimumSizeHint () const override |
| QSize | sizeHint () const override |
Private Member Functions | |
| QBoxLayout * | createLinkedLabelLayout () |
| QBoxLayout * | createProjectTitleLayout () |
Private Attributes | |
| QLabel * | m_newProjectLabel {nullptr} |
| QLabel * | m_openProjectLabel {nullptr} |
Widget with logo, name of the program and buttons to create new project or open existing one.
Occupies right part of WelcomeView.
Definition at line 31 of file openprojectwidget.h.
|
explicit |
Definition at line 37 of file openprojectwidget.cpp.
References createLinkedLabelLayout(), createProjectTitleLayout(), and ModelView::Utils::SizeOfLetterM().
|
private |
Definition at line 76 of file openprojectwidget.cpp.
References ModelView::Utils::ClickableText(), createNewProjectRequest(), m_newProjectLabel, m_openProjectLabel, openExistingProjectRequest(), ModelView::Utils::ScaleLabelFont(), and ModelView::Utils::WidthOfLetterM().
Referenced by OpenProjectWidget().
|
signal |
Referenced by createLinkedLabelLayout(), and gui2::WelcomeView::setup_connections().
|
private |
Definition at line 64 of file openprojectwidget.cpp.
References ModelView::Utils::ScaleLabelFont().
Referenced by OpenProjectWidget().
|
override |
Definition at line 59 of file openprojectwidget.cpp.
References gui2::StyleUtils::DockMinimumSizeHint().
|
signal |
Referenced by createLinkedLabelLayout(), and gui2::WelcomeView::setup_connections().
|
override |
Definition at line 54 of file openprojectwidget.cpp.
References gui2::StyleUtils::DockSizeHint().
|
private |
Definition at line 48 of file openprojectwidget.h.
Referenced by createLinkedLabelLayout().
|
private |
Definition at line 49 of file openprojectwidget.h.
Referenced by createLinkedLabelLayout().