forked from BGmot/BGShellBB10
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mymenu.h
39 lines (35 loc) · 814 Bytes
/
mymenu.h
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
38
39
/*
* Copyright (C) 2012 BGmot <[email protected]>
*/
#ifndef MYMENU_H
#define MYMENU_H
#include <QtGui/QWidget>
//#include <QtGui/QPushButton>
#include <QtGui/QToolButton>
class CMyMenu : public QWidget
{
Q_OBJECT
public:
CMyMenu(QWidget *parent);
int MenuInit();
void SetGeometryPortrait();
void SetGeometryLandscape();
virtual ~CMyMenu(){};
//void focusOutEvent( QFocusEvent * event );
QToolButton *btnCtrlC;
QToolButton *btnTab;
QToolButton *btnLeft;
QToolButton *btnRight;
QToolButton *btnUp;
QToolButton *btnDown;
QToolButton *btnEsc;
private slots:
void on_btnCtrlC_clicked();
void on_btnTab_clicked();
void on_btnLeft_clicked();
void on_btnRight_clicked();
void on_btnUp_clicked();
void on_btnDown_clicked();
void on_btnEsc_clicked();
};
#endif