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:
parent
5a7a82736f
commit
389966782d
11 changed files with 86 additions and 25 deletions
22
src/clickablelabel.h
Normal file
22
src/clickablelabel.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue