~thomas-moenicke/phablet-extras/maliit-plugins_fix_focus_out

« back to all changes in this revision

Viewing changes to maliit-keyboard/lib/models/key.h

  • Committer: Tarmac
  • Author(s): Thomas Moenicke
  • Date: 2013-03-26 13:49:55 UTC
  • mfrom: (2107.1.5 maliit-plugins-0.94.0)
  • Revision ID: tarmac-20130326134955-qhv19rwum8b81f7u
upgraded to maliit 0.94.0
updated maliit-keyboard, UI is using QML now
.

Approved by Bill Filler, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
        NumActions
74
74
    };
75
75
 
 
76
    enum Style {
 
77
        StyleNormalKey,
 
78
        StyleSpecialKey,
 
79
        StyleDeadKey
 
80
    };
 
81
 
76
82
private:
77
83
    QPoint m_origin;
78
84
    Area m_area;
79
85
    Label m_label;
80
86
    Action m_action;
 
87
    Style m_style;
81
88
    QMargins m_margins;
82
89
    QByteArray m_icon;
83
90
    bool m_has_extended_keys: 1;
105
112
    Action action() const;
106
113
    void setAction(Action action);
107
114
 
 
115
    Style style() const;
 
116
    void setStyle(Style style);
 
117
 
108
118
    QMargins margins() const;
109
119
    void setMargins(const QMargins &margins);
110
120