46 Q_PROPERTY( Mode mode READ mode
47 WRITE setMode NOTIFY modeChanged FINAL )
52 QSK_SUBCONTROLS( Panel, ButtonPanel, ButtonText )
82 void updateLocale(
const QLocale& );
84 bool hasKey(
int keyCode )
const;
87 void setRowCount(
int );
89 int columnCount()
const;
90 void setColumnCount(
int );
96 void modeChanged( QskVirtualKeyboard::Mode );
97 void keyboardLayoutChanged();
98 void keySelected(
int keyCode );
101 virtual qreal keyStretch(
int )
const;
102 virtual bool isKeyVisible(
int )
const;
103 virtual QString textForKey(
int )
const;
104 virtual KeyType typeForKey(
int )
const;
106 void updateLayout()
override;
107 QSizeF layoutSizeHint( Qt::SizeHint,
const QSizeF& )
const override;
110 void ensureButtons();
111 void buttonPressed();
112 void updateKeyCodes();
113 QskPushButton::Emphasis emphasisForType( KeyType );
115 qreal rowStretch(
const QVector< int >& );
118 std::unique_ptr< PrivateData > m_data;