void okno::Down(){ int nKey = Qt::Key_Down ; QKeyEvent* pe = new QKeyEvent(QEvent::KeyPress, nKey, Qt::NoModifier); QApplication::sendEvent(this, pe);}
void okno::Down(){ static const int ct_iButtonNum = sizeof(m_pButtons)/sizeof(m_pButtons[0]); if(ct_iButtonNum <= ++a) a = 0; m_pButtons[a]->click();}