~ubuntu-branches/ubuntu/vivid/youker-assistant/vivid

« back to all changes in this revision

Viewing changes to src/myauthdialog.h

  • Committer: Package Import Robot
  • Author(s): Kobe Lee (kylinkobe)
  • Date: 2013-09-18 16:22:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130918162214-6nqyjyf3cd3ynqky
Tags: 0.2.1-0ubuntu1
* Modify the mouse events of MonitorBall.
* Add reset button for clear pages.
* Add policykit for apt clear in sudodbus.
* Fixed the bug about software status and add masklayer.
* Rewrite the code of system information.
* Add some signals and slots.
* Fixed the bug about Software signals(LP: #1226389).
* Modify KThread and add base.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2013 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
 
 
17
 
#ifndef MYAUTHDIALOG_H
18
 
#define MYAUTHDIALOG_H
19
 
 
20
 
#include <QDialog>
21
 
 
22
 
namespace Ui {
23
 
class MyauthDialog;
24
 
}
25
 
 
26
 
class MyauthDialog : public QDialog
27
 
{
28
 
    Q_OBJECT
29
 
    
30
 
public:
31
 
    explicit MyauthDialog(QWidget *parent = 0);
32
 
    ~MyauthDialog();
33
 
    
34
 
private:
35
 
    Ui::MyauthDialog *ui;
36
 
    void setView();
37
 
    QPoint dragPos;
38
 
protected:
39
 
    void mousePressEvent(QMouseEvent *event);
40
 
    void mouseMoveEvent(QMouseEvent *event);
41
 
    void mouseReleaseEvent(QMouseEvent *event);
42
 
    bool eventFilter(QObject *obj, QEvent *event);
43
 
};
44
 
 
45
 
#endif // MYAUTHDIALOG_H