mirror of https://github.com/qTox/qTox.git
12 changed files with 84 additions and 47 deletions
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
@mkdir %~dp0libs |
||||
%~dp0tools\wget --no-check-certificate http://jenkins.libtoxcore.so/job/libtoxcore-win32-i686/lastSuccessfulBuild/artifact/libtoxcore-win32-i686.zip -O %~dp0libs\libtoxcore-latest.zip |
||||
%~dp0tools\unzip %~dp0libs\libtoxcore-latest.zip -d %~dp0libs\ |
||||
%~dp0tools\unzip -o %~dp0libs\libtoxcore-latest.zip -d %~dp0libs\ |
||||
@del %~dp0libs\libtoxcore-latest.zip |
After Width: | Height: | Size: 308 B |
After Width: | Height: | Size: 947 B |
After Width: | Height: | Size: 791 B |
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
#include "clickablelabel.h" |
||||
|
||||
ClickableLabel::ClickableLabel(QWidget *parent) : |
||||
QLabel(parent) |
||||
{ |
||||
} |
||||
|
||||
void ClickableLabel::mousePressEvent(QMouseEvent* event) |
||||
{ |
||||
emit clicked(); |
||||
} |
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
#ifndef CLICKABLELABEL_H |
||||
#define CLICKABLELABEL_H |
||||
|
||||
#include <QLabel> |
||||
|
||||
class ClickableLabel : public QLabel |
||||
{ |
||||
Q_OBJECT |
||||
public: |
||||
explicit ClickableLabel(QWidget *parent = 0); |
||||
|
||||
signals: |
||||
void clicked(); |
||||
|
||||
protected: |
||||
void mousePressEvent ( QMouseEvent * event ); |
||||
|
||||
}; |
||||
|
||||
#endif // CLICKABLELABEL_H
|
Loading…
Reference in new issue