-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfrmreadsoundprocess.h
More file actions
37 lines (30 loc) · 938 Bytes
/
frmreadsoundprocess.h
File metadata and controls
37 lines (30 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef FRMREADSOUNDPROCESS_H
#define FRMREADSOUNDPROCESS_H
#include <QDialog>
namespace Ui {
class FrmReadSoundProcess;
}
class FrmReadSoundProcess : public QDialog
{
Q_OBJECT
public:
explicit FrmReadSoundProcess(QWidget *parent = 0);
~FrmReadSoundProcess();
void setProcessMaxValue(quint64 maxValue);
void setPBarMainMaxValue(quint64 maxValue);
protected:
void mouseMoveEvent(QMouseEvent *e);
void mousePressEvent(QMouseEvent *e);
void mouseReleaseEvent(QMouseEvent *);
private slots:
void on_btnOk_clicked();
public slots:
void slotSetWindowsText(QString text);
void setProcessCurrentValue(quint64 currentValue);
void setPBarMainCurrentValue(quint64 currentValue);
private:
Ui::FrmReadSoundProcess *ui;
QPoint mousePoint; //鼠标拖动自定义标题栏时的坐标
bool mousePressed; //鼠标是否按下
};
#endif // FRMREADSOUNDPROCESS_H