blob: 154ea15f030793224dcbeb58b3899a4d4bed0ca6 (
plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of libmeegotouch.
**
** If you have questions regarding the use of this file, please contact
** Nokia at directui@nokia.com.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation
** and appearing in the file LICENSE.LGPL included in the packaging
** of this file.
**
****************************************************************************/
#ifndef PUSHBUTTONPAGE_H
#define PUSHBUTTONPAGE_H
#include "mainpage.h"
#include "templatepage.h"
#include <MApplicationPage>
#include <MLayout>
#include <MGridLayoutPolicy>
class MButton ;
class MWidget;
class MLabel;
class PushButtonPage : public TemplatePage
{
Q_OBJECT
public:
PushButtonPage();
virtual ~PushButtonPage();
virtual QString timedemoTitle();
virtual void createContent();
protected:
virtual void retranslateUi();
private:
void singleButton();
void twoButtons();
void threeButtons();
void twoButtonsRowLayout();
void threeButtonsRowLayout();
void callRejectButtonLayout();
void callRejectRowLayout();
void splitButtonsLayout();
MLinearLayoutPolicy *layoutPolicy;
MButton *button1;
MButton *button2;
MButton *button3;
MButton *button4;
MButton *button5;
MButton *button6;
MButton *button7;
MButton *button8;
MButton *button9;
MButton *button10;
MButton *button11;
MButton *button12;
MButton *button13;
MButton *button14;
MButton *button15;
MButton *button16;
MButton *button17;
MButton *button18;
MButton *button19;
MLabel *text1;
MLabel *text2;
MLabel *text3;
MLabel *text4;
MLabel *text5;
MLabel *text6;
MLabel *text7;
MLabel *text8;
MLabel *text9;
MLabel *text10;
MLabel *text11;
MLabel *text12;
};
#endif
|