telutils/dialpad/src/dialpadinputfield.cpp
changeset 15 d7fc66ccd6fb
parent 13 e32024264ebb
child 19 e44a8c097b15
equal deleted inserted replaced
13:e32024264ebb 15:d7fc66ccd6fb
    49     mBackspace = new DialpadButton(this);
    49     mBackspace = new DialpadButton(this);
    50     mFunctionButtonStyle = new DialpadButtonStyle();
    50     mFunctionButtonStyle = new DialpadButtonStyle();
    51     mFunctionButtonStyle->setButtonStyle(
    51     mFunctionButtonStyle->setButtonStyle(
    52         DialpadButtonStyle::FunctionButtonStyle);
    52         DialpadButtonStyle::FunctionButtonStyle);
    53     mBackspace->setStyle(mFunctionButtonStyle);
    53     mBackspace->setStyle(mFunctionButtonStyle);
       
    54     mBackspace->setButtonType(DialpadButton::FunctionButton); // for css
    54     mBackspace->setFocusPolicy(Qt::NoFocus);
    55     mBackspace->setFocusPolicy(Qt::NoFocus);
    55     mBackspace->setFlag(QGraphicsItem::ItemIsFocusable,false);
    56     mBackspace->setFlag(QGraphicsItem::ItemIsFocusable,false);
    56     mBackspace->setIcon(HbIcon(HbBackspaceIcon));
    57     mBackspace->setIcon(HbIcon(HbBackspaceIcon));
    57     mBackspace->setEnabled(false);
    58     mBackspace->setEnabled(false);
    58     QString buttonName;
    59     QString buttonName;