open file dialog clicking on file/folder labels.

se atasca y se pone a 100%, los faders no refrescan como debieran,
parece que se saturan las señales.
This commit is contained in:
snt 2024-05-04 19:35:12 +02:00
parent 5a7a82736f
commit 389966782d
11 changed files with 86 additions and 25 deletions

22
src/clickablelabel.h Normal file
View file

@ -0,0 +1,22 @@
#ifndef CLICKABLELABEL_H
#define CLICKABLELABEL_H
#include <QLabel>
#include <QWidget>
#include <Qt>
class ClickableLabel : public QLabel
{
Q_OBJECT
public:
explicit ClickableLabel(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags());
~ClickableLabel();
signals:
void clicked();
protected:
void mousePressEvent(QMouseEvent* event);
};
#endif // CLICKABLELABEL_H