BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FitParameterLinkItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/Model/Job/FitParameterLinkItem.h
6 //! @brief Defines class FitParameterLinkItem
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_MODEL_JOB_FITPARAMETERLINKITEM_H
16 #define BORNAGAIN_GUI_MODEL_JOB_FITPARAMETERLINKITEM_H
17 
19 
20 //! The FitParameterLinkItem class holds a link to ParameterItem in tuning tree.
21 
22 class BA_CORE_API_ FitParameterLinkItem : public SessionItem {
23 private:
24  static constexpr auto P_LINK{"Link"};
25  static constexpr auto P_TITLE{"Title"};
26 
27 public:
28  static constexpr auto M_TYPE{"FitParameterLink"};
29 
31 
32  QString link() const;
33  void setLink(const QString& link);
34 
35  QString title() const;
36  void setTitle(const QString& title);
37  SessionItem* linkItem() const;
38 };
39 
40 #endif // BORNAGAIN_GUI_MODEL_JOB_FITPARAMETERLINKITEM_H
Defines class SessionItem.
The FitParameterLinkItem class holds a link to ParameterItem in tuning tree.
Base class for a GUI data item.
Definition: SessionItem.h:204