2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
34 lines
679 B
C++
34 lines
679 B
C++
#ifndef FRMMESSAGEBOX_H
|
|
#define FRMMESSAGEBOX_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class frmMessageBox;
|
|
}
|
|
|
|
class frmMessageBox : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit frmMessageBox(QWidget *parent = 0, const QString& strOK = "确定", const QString& strCancel = "取消");
|
|
~frmMessageBox();
|
|
|
|
void SetMessage(const QString &msg, int type);
|
|
|
|
protected:
|
|
bool eventFilter(QObject *obj, QEvent *event);
|
|
|
|
private slots:
|
|
void on_btnOk_clicked();
|
|
|
|
private:
|
|
Ui::frmMessageBox *ui;
|
|
|
|
QPoint mousePoint; //鼠标拖动自定义标题栏时的坐标
|
|
bool mousePressed; //鼠标是否按下
|
|
};
|
|
|
|
#endif // FRMMESSAGEBOX_H
|