| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef COMBOBOXWITHSTATUS_H |
| 4 | #define COMBOBOXWITHSTATUS_H |
| 5 | |
| 6 | #include "gui/reusable/widgetwithstatus.h" |
| 7 | |
| 8 | #include <QComboBox> |
| 9 | |
| 10 | class ComboBoxWithStatus : public WidgetWithStatus { |
| 11 | Q_OBJECT |
| 12 | |
| 13 | public: |
| 14 | // Constructors and destructors. |
| 15 | explicit ComboBoxWithStatus(QWidget* parent = nullptr); |
| 16 | virtual ~ComboBoxWithStatus() = default; |
| 17 | |
| 18 | inline QComboBox* comboBox() const { |
| 19 | return static_cast<QComboBox*>(m_wdgInput); |
| 20 | } |
| 21 | }; |
| 22 | |
| 23 | #endif // COMBOBOXWITHSTATUS_H |