ddt  0.1
ddtWidget.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file ddtWidget.hpp
8 // @brief DDT Dialogs. Base class for the DDT dialogs
9 //
10 // @author Stefan Eith, CGI
11 // @since 2020/11/09
12 //
13 
14 #ifndef DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
15 #define DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
16 
17 #include <QtWidgets>
18 
23 class DdtWidget : public QWidget {
24  Q_OBJECT
25 
26  public:
31  explicit DdtWidget(QWidget* parent = nullptr);
32 
36  virtual ~DdtWidget() = default;
37 
46  QLayout* addParentLayout(QLayout* childLayout);
47 
48  private:
53  QGroupBox* group_box;
54 };
55 
56 #endif // DDT_DATAVISUALISATION_DDTWIDGETS_WIDGETS_HPP
DdtWidget::addParentLayout
QLayout * addParentLayout(QLayout *childLayout)
addParentLayout This will add the given layout to the layout of the parent inside the group box.
Definition: ddtWidget.cpp:27
DdtWidget::~DdtWidget
virtual ~DdtWidget()=default
DdtWidget
The DdtWidget class Use as wrapper class for new widgets.
Definition: ddtWidget.hpp:23
DdtWidget::DdtWidget
DdtWidget(QWidget *parent=nullptr)
DdtWidget.
Definition: ddtWidget.cpp:23