46 Q_PROPERTY( Mode mode READ mode
47 WRITE setMode NOTIFY modeChanged FINAL )
52 QSK_SUBCONTROLS( Panel, ButtonPanel, ButtonText )
80 void updateLocale(
const QLocale& );
82 bool hasKey(
int keyCode )
const;
85 void setRowCount(
int );
87 int columnCount()
const;
88 void setColumnCount(
int );
94 void modeChanged( QskVirtualKeyboard::Mode );
95 void keyboardLayoutChanged();
96 void keySelected(
int keyCode );
99 virtual qreal keyStretch(
int )
const;
100 virtual bool isKeyVisible(
int )
const;
101 virtual QString textForKey(
int )
const;
102 virtual KeyType typeForKey(
int )
const;
104 void updateLayout()
override;
105 QSizeF layoutSizeHint( Qt::SizeHint,
const QSizeF& )
const override;
108 void ensureButtons();
109 void buttonPressed();
110 void updateKeyCodes();
111 QskPushButton::Emphasis emphasisForType( KeyType );
113 qreal rowStretch(
const QVector< int >& );
116 std::unique_ptr< PrivateData > m_data;