~feng-kylin/youker-assistant/youker-assistant

« back to all changes in this revision

Viewing changes to component/alertdialog.h

  • Committer: kobe
  • Date: 2015-02-13 07:37:10 UTC
  • Revision ID: xiangli@ubuntukylin.com-20150213073710-0jyp02ilyi5njj10
Qt Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013 ~ 2014 National University of Defense Technology(NUDT) & Kylin Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
#ifndef ALERTDIALOG_H
 
17
#define ALERTDIALOG_H
 
18
 
 
19
#include <QWidget>
 
20
#include <QtGui>
 
21
 
 
22
namespace Ui {
 
23
class AlertDialog;
 
24
}
 
25
 
 
26
class AlertDialog : public QWidget
 
27
{
 
28
    Q_OBJECT
 
29
    
 
30
public:
 
31
    explicit AlertDialog(QWidget *parent = 0);
 
32
    ~AlertDialog();
 
33
    void paintEvent(QPaintEvent *);
 
34
    void setMSG(QString);
 
35
private:
 
36
    Ui::AlertDialog *ui;
 
37
};
 
38
 
 
39
#endif // ALERTDIALOG_H