| 1 |
/* |
| 2 |
* Copyright (C) 2013 National University of Defense Technology(NUDT) & Kylin Ltd. |
| 3 |
* |
| 4 |
* Authors: |
| 5 |
* lenky gao [email protected]/[email protected] |
| 6 |
* |
| 7 |
* This program is free software; you can redistribute it and/or modify |
| 8 |
* it under the terms of the GNU General Public License as published by |
| 9 |
* the Free Software Foundation; version 3. |
| 10 |
* |
| 11 |
* This program is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
* GNU General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU General Public License |
| 17 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 |
*/ |
| 19 |
|
| 20 |
#ifndef __SKIN_MENU_H__ |
| 21 |
#define __SKIN_MENU_H__ |
| 22 |
|
| 23 |
#include <QMenu> |
| 24 |
#include <QIcon> |
| 25 |
#include "../my_action.h" |
| 26 |
|
| 27 |
class SkinMenu : public QMenu |
| 28 |
{ |
| 29 |
Q_OBJECT |
| 30 |
|
| 31 |
public: |
| 32 |
SkinMenu(const QString &title, QWidget *parent); |
| 33 |
virtual ~SkinMenu(); |
| 34 |
|
| 35 |
private slots: |
| 36 |
void triggerUpdateSkinListMenu(); |
| 37 |
void menuItemOnClick(QAction* action); |
| 38 |
}; |
| 39 |
|
| 40 |
#endif // __SKIN_MENU_H__ |