src/hbinput/inputwidgets/hbinputqwertytouchkeyboard_p.h
changeset 6 c3690ec91ef8
parent 1 f7ac710697a9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
    42 
    42 
    43 class HbCharPreviewPane;
    43 class HbCharPreviewPane;
    44 
    44 
    45 class HB_INPUT_PRIVATE_EXPORT HbQwertyKeyboardPrivate : public HbInputVkbWidgetPrivate
    45 class HB_INPUT_PRIVATE_EXPORT HbQwertyKeyboardPrivate : public HbInputVkbWidgetPrivate
    46 {
    46 {
    47     Q_DECLARE_PUBLIC(HbQwertyKeyboard) 
    47     Q_DECLARE_PUBLIC(HbQwertyKeyboard)
    48 
    48 
    49 public:
    49 public:
    50 
    50 
    51     HbQwertyKeyboardPrivate();
    51     HbQwertyKeyboardPrivate();
    52     ~HbQwertyKeyboardPrivate();
    52     ~HbQwertyKeyboardPrivate();
    56     void setLayoutDimensions(QSizeF dimensions);
    56     void setLayoutDimensions(QSizeF dimensions);
    57     QSizeF calculateDimensions(QSizeF size);
    57     QSizeF calculateDimensions(QSizeF size);
    58     void initializeKeyboard(bool refreshButtonText);
    58     void initializeKeyboard(bool refreshButtonText);
    59     void initializeNumericKeyboard();
    59     void initializeNumericKeyboard();
    60     bool showPreview(int keycode);
    60     bool showPreview(int keycode);
    61     void setButtonObjectName(HbTouchKeypadButton& button, int row, int column, Qt::Key specialKey);
    61     void setButtonObjectName(HbTouchKeypadButton &button, int row, int column, Qt::Key specialKey);
    62     void launchPreviewPane(const QStringList& list);
    62     void launchPreviewPane(const QStringList &list);
    63 
    63 
    64     void applyEditorConstraints();
    64     void applyEditorConstraints();
    65     void setRockerPosition();
    65     void setRockerPosition();
    66     void removeExistingSignalMappings();
    66     void removeExistingSignalMappings();
    67     void initialize4x10Keypad(bool refreshButtonText);
    67     void initialize4x10Keypad(bool refreshButtonText);
    69     void constructKeypad();
    69     void constructKeypad();
    70     QString textForKey(int key);
    70     QString textForKey(int key);
    71     int indexForKeycode(int keyCode);
    71     int indexForKeycode(int keyCode);
    72     int keyCode(int buttonId);
    72     int keyCode(int buttonId);
    73     int keyCode(HbTouchKeypadButton *button);
    73     int keyCode(HbTouchKeypadButton *button);
    74     void getAllowedSctCharcters(QString & allowedSctCharacters);
    74     void getAllowedSctCharcters(QString &allowedSctCharacters);
    75     void updateButtonsTextAndMappers();
    75     void updateButtonsTextAndMappers();
    76 public:
    76 public:
    77     QList<HbTouchKeypadButton*> mButtons;
    77     QList<HbTouchKeypadButton *> mButtons;
    78     QList<HbStyleOptionLabel*> mKeypadButtonOption;
    78     QList<HbStyleOptionLabel *> mKeypadButtonOption;
    79     int mCtrlBtnIndex;
    79     int mCtrlBtnIndex;
    80 
    80 
    81     int mPressedButtonIndex;
    81     int mPressedButtonIndex;
    82     HbCharPreviewPane *mPreviewPane;
    82     HbCharPreviewPane *mPreviewPane;
    83     bool mInStickyRegion;
    83     bool mInStickyRegion;