Hi,
In my codes, i rewrite keyPressEvent function like below:
void AdapterWidget::keyPressEvent( QKeyEvent* event )
{
_gw-getEventQueue()-keyPress( (osgGA::GUIEventAdapter::KeySymbol)
*(event-text().toAscii().data() ) );
}
In my osg codes, i write like this:
bool
Hi,
AFAIK alt must be pressed with some other key before you'll get an event.
jp
On 05/08/2011 09:59, ramy panda wrote:
Hi,
In my codes, i rewrite keyPressEvent function like below:
void AdapterWidget::keyPressEvent( QKeyEvent* event )
{
_gw-getEventQueue()-keyPress(
2 matches
Mail list logo