18 lines
308 B
C
18 lines
308 B
C
|
|
|||
|
#ifndef MYCOMBOBOX_H
|
|||
|
#define MYCOMBOBOX_H
|
|||
|
|
|||
|
#include <QComboBox>
|
|||
|
|
|||
|
class MyComboBox : public QComboBox
|
|||
|
{
|
|||
|
Q_OBJECT
|
|||
|
public:
|
|||
|
explicit MyComboBox(QWidget *parent = nullptr);
|
|||
|
void mousePressEvent(QMouseEvent *event) override;
|
|||
|
signals:
|
|||
|
void clicked();
|
|||
|
};
|
|||
|
|
|||
|
#endif // MYCOMBOBOX_H
|