Exemplo n.º 1
0
void ImodvWindow::resizerKeyPress(QKeyEvent *e)
{
  if (utilCloseKey(e))
    mResizeTool->close();
  else
    imodvKeyPress(e);
}
Exemplo n.º 2
0
void ImodvWindow::rotationKeyPress(QKeyEvent *e)
{
  if (utilCloseKey(e))
    mRotationTool->close();
  else
    imodvKeyPress(e);
}
Exemplo n.º 3
0
void ImodvOlist::keyPressEvent ( QKeyEvent * e )
{
  if (utilCloseKey(e))
    close();
  else
    imodvKeyPress(e);
}
Exemplo n.º 4
0
void ImodvWindow::keyMenuSlot(int which)
{
  Qt::KeyboardModifiers modifiers;
  int key = utilLookupPopupHit(which, &sPopupTable[0], mNumKeyEntries, modifiers);
  QKeyEvent *event = new QKeyEvent(QEvent::KeyPress, key, modifiers);
  imodvKeyPress(event);
  delete event;
}
Exemplo n.º 5
0
void imodvObjedForm::keyPressEvent( QKeyEvent * e )
{
  if (hotSliderFlag() != NO_HOT_SLIDER && e->key() == hotSliderKey()) {
    imodvObjedCtrlKey(true);
    grabKeyboard();
  }
  if (utilCloseKey(e))
    imodvObjedDone();
  else
    imodvKeyPress(e);
}
Exemplo n.º 6
0
// Close on escape; watch for the hot slider key; pass on keypress
void ImodvImage::keyPressEvent ( QKeyEvent * e )
{
  if (utilCloseKey(e))
    close();
  else {
    if (hotSliderFlag() != NO_HOT_SLIDER && e->key() == hotSliderKey()) {
      mCtrlPressed = true;
      grabKeyboard();
    }
    imodvKeyPress(e);
  }
}
Exemplo n.º 7
0
void ImodvWindow::keyPressEvent ( QKeyEvent * e )
{
  imodvKeyPress(e);
}
Exemplo n.º 8
0
void ImodvBkgColor::keyPressSlot ( QKeyEvent * e )
{
  imodvKeyPress(e);
}