25 lines
536 B
C++
25 lines
536 B
C++
// For license of this file, see <project-root-folder>/LICENSE.md.
|
|
|
|
#ifndef COMBOBOXWITHSTATUS_H
|
|
#define COMBOBOXWITHSTATUS_H
|
|
|
|
#include "gui/widgetwithstatus.h"
|
|
|
|
#include <QComboBox>
|
|
|
|
class ComboBoxWithStatus : public WidgetWithStatus {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
// Constructors and destructors.
|
|
explicit ComboBoxWithStatus(QWidget* parent = nullptr);
|
|
virtual ~ComboBoxWithStatus() = default;
|
|
|
|
inline QComboBox* comboBox() const {
|
|
return static_cast<QComboBox*>(m_wdgInput);
|
|
}
|
|
|
|
};
|
|
|
|
#endif // COMBOBOXWITHSTATUS_H
|